aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64
Commit message (Collapse)AuthorAgeFilesLines
* Install telegraf on all provisioned VMsDimitrios Apostolou2019-09-271-0/+3
| | | | | | | | | | | | | | | | | | Install binaries as early as possible in the provisioning process, and start them, in order to monitor provisioning too. To achieve this, some OS auto-detection logic is introduced in shell script common.sourced.sh. The script can be sourced and used in all kind of other generic scripts. ioping is also installed from custom-compiled binaries in order to monitor the disk latency of the VMs. Reason we don't use ioping from the repositories, is that the units differ between ioping versions (new ioping reports latencies in nanoseconds, old in microseconds). Fixes: QTQAINFRA-3092 Change-Id: I9d9afb791955725d4bd0b32dae97dfc0bd4a76a3 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Remove Ubuntu 16.04 from the CITony Sarajärvi2018-09-2717-512/+0
| | | | | | | | | This one also removes the provisioning scripts for both x64 and x86 envs. Task-number: QTQAINFRA-2182 Change-Id: I56f109e4600f46a4d11de8d2dbdcdcd08cb896f3 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-09-123-0/+12
|\ | | | | | | Change-Id: Iac3eb41931081588a08916ddce51dae977c6ef15
| * Provisioning: Disable mlocate from linuxHeikki Halmet2018-09-031-0/+4
| | | | | | | | | | | | | | | | No need to update the locate database Task-number: QTQAINFRA-2099 Change-Id: Iae8bf26e4b04ff9c287e9e3f4cc6f492e74355e4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Remove update-managerHeikki Halmet2018-09-031-0/+4
| | | | | | | | | | | | Task-number: QTQAINFRA-2104 Change-Id: Ieaf0801099d8c90821c2b8d9db7da47730fd8abb Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Disable Cracklib-runtimeHeikki Halmet2018-09-031-0/+4
| | | | | | | | | | | | Task-number: QTQAINFRA-2104 Change-Id: I784fa1b3d8c98d765bfdea929fdb494ca63e09d3 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Rebase Ubuntu provisioningv5.12.0-alpha1Joni Jäntti2018-09-123-152/+3
| | | | | | | | | | | | | | | | | | | | Some provisioning changes made to Ubuntu 16.04 didn't make it to 18.04 when the new platform was introduced. These changes need to be included. Task-number: QTQAINFRA-2210 Change-Id: Ie8c3cfda95abadbd3a416545ebcfbbab8c0cb4ad Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Correctly use pip3 to setup a wheel cache for python3 packages on linuxDominik Holland2018-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | Previously pip was used (instead of pip3) which caused that python2 packages were installed into the python3 wheel cache folder. Some of the packages also worked for python3, but not all of them. Task-number: AUTOSUITE-195 Change-Id: I393d036667b14e11dee65975ba6933e7174d0e9d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Change 'test suite' in license headers of prov scriptsTony Sarajärvi2018-09-045-5/+5
| | | | | | | | | | Change-Id: I9687bcb15b26287ea6eeb2098079137d6e3fc288 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Add Ubuntu 18.04 to the CIJoni Jantti2018-08-303-303/+0
| | | | | | | | | | | | | | | | | | | | Qt 5.12 will have both 16.04 and 18.04 LTS releases verified. Some configurations are upgraded from 16.04 to 18.04. Task-number: QTQAINFRA-1983 Change-Id: I1b5c2a1c23ce209040b3478cff21b7f6436a9b54 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Fix failing assertions in QML when running under qemuSimon Hausmann2018-08-241-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | Unfortunately the user-space emulation mode of qemu does not implement MADV_DONTNEED, which is a feature that the garbage collector of QML relies on. Patch is submitted to the qemu list and included here to fix the imminent issue we're seeing. Task-number: QTBUG-68349 Change-Id: I2bb15513a1e5a7ad03eeae98d77691336985a20f Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | Provisioning: Update QEMU toolchains of boot2qtRyan Chu2018-08-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | Docker-based test server needs mdns to resolve .local while testing qt network stack in CI. Otherwise the tests would not see announced services. Relates to yocto/meta-boot2qt 7608ebe44f65f4d525081cf9a5b12cfa05792a8f Change-Id: If834b01668bcf844e475e863eb1337849c718270 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Provisioning: PyPFD2Joni Jantti2018-08-091-0/+2
| | | | | | | | | | | | | | | | | | Required for QSR documentation. Task-number: QTQAINFRA-2103 Change-Id: I4da98460fb5d5ad26f9e1e16c503a0d94be047a6 Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Update provisioned boot2qt version from 2.3.1 to 2.3.4Ryan Chu2018-08-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | Docker-based test server needs mdns to resolve .local while testing qt network stack in CI. Otherwise the tests would not see announced services. Relates to yocto/meta-boot2qt 2f17ab34687ef100c4390057dd220ab431ec8ff8 Change-Id: I5313fc34634211ae6950769518c68c2b11d77eb3 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devLiang Qi2018-08-061-0/+7
|\| | | | | | | | | | | | | Conflicts: coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh Change-Id: If414fac20cc1cddd155a9f9c8048d0ad76ac54ef
| * Use local Ubuntu repositories with Ubuntu 16.04Tony Sarajärvi2018-08-011-0/+7
| | | | | | | | | | | | | | | | Using cached local repositories saves us outgoing bandwidth. This way we also get version pinned packages. Change-Id: I475c62c3e408d71e85f24d74dd384c62de583403 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Download and cache needed python wheels during provisioningDominik Holland2018-07-311-0/+7
| | | | | | | | | | | | | | | | | | Instead of downloading the packages during the compile/configure step setup a wheel cache folder during the provisioning phase Task-number: AUTOSUITE-195 Change-Id: I465f1be7cdd351e7680dcd8ae22d5e97ddf8cb2d Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Docker Provisioning: Install Avahi and enable mDNS service discoveryRyan Chu2018-07-101-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The challenge of connecting Docker containers from the host is to resolve a predefined hostname to an IP address assigned at runtime. For Unix-like platforms such as Ubuntu, it can be done by either hard-code the IP addresses or creating a DNS server. Both of them are not user-friendly which need root permission to modify system files. Avahi is a free Zeroconf implementation and provides multicast DNS (mDNS) service discovery. It enables Docker containers to publish their services on a local network. For the host systems supporting mDNS technology, they will automatically discover the services in a local domain without extra user-efforts. Task-number: QTQAINFRA-1686 Change-Id: I1ef464a455cef5d331a3e2eb0194e2741172ef95 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Ryan Chu <ryan.chu@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Provisioning: Install Docker-based test servers on Ubuntu 16.04Ryan Chu2018-07-021-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | Build and cache docker images based on the configurations in testserver. 1. Download and install the docker engine and docker-compose extension. 2. Append address and hostname of test servers to CI environment. 3. Build and tag the docker images by the SHA-1 of server context. Task-number: QTQAINFRA-1686 Change-Id: Ib9b58d45856682ddec04af045e1eab18e14a85fb Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devLiang Qi2018-07-021-6/+2
|\| | | | | | | | | | | | | Conflicts: coin/provisioning/qtci-linux-RHEL-6.6-x86_64/30-install_icu.sh Change-Id: I00d0ccd138eb8d89e30e7e57632c6fc8f83e0001
| * Provisioning: Refactor libclang installationHeikki Halmet2018-06-291-6/+2
| | | | | | | | | | | | | | | | | | | | Libclang must use cached url (ci-files01-hki) to reduce the download time Libclang release_60 versions were rebuild which requires sha1 changes Task-number: QTQAINFRA-1966 Task-number: QTQAINFRA-2100 Change-Id: Iddf47a2a3a5bc38dbed684320120164bb40c028c Reviewed-by: Simo Fält <simo.falt@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devLiang Qi2018-05-101-1/+1
|\| | | | | | | Change-Id: Ia167d4f873ed500e3bae798eade6720db6b21750
| * Merge remote-tracking branch 'origin/5.11.0' into 5.11Liang Qi2018-05-091-1/+1
| |\ | | | | | | | | | Change-Id: Ia252225aa1339ac448dd726b149e08739c02dfc5
| | * Update clang version to 6.0Jędrzej Nowacki2018-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The version also contains statically compiled libraries so we can ship qdoc without shipping libclang. The change temporarly removes CI qdoc builds from RHEL6 and MinGW, these two configurations are not used for packaging, just for CI testing. We should restore MinGW later. Task-number: QTBUG-66015 Task-number: QTBUG-67764 Change-Id: Ie37b4be6a639e81d9ef0815682c6d60981cbeaae Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Fredrik de Vibe <fredrik.devibe@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Provisioning: Remove freeopcuaRainer Keller2018-05-081-51/+0
|/ / | | | | | | | | | | | | | | Support for it is dropped Change-Id: I574a50f279df9e390954e6dece4b947c8860038b Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
* | Provisioning: Ubuntu - zlib1g:i386Joni Jantti2018-04-291-0/+1
| | | | | | | | | | | | | | | | RTA needs this package for QNX testing. Task-number: QTQAINFRA-1930 Change-Id: I3587558bc1c8ece6dbb29b5f5184f4bfa744a790 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: list installed packages in distroTony Sarajärvi2018-04-291-0/+46
| | | | | | | | | | Change-Id: I71bbfbfba034066cffd4cb1a9d781d386b1b6b9a Reviewed-by: Simo Fält <simo.falt@qt.io>
* | Provisioning: Ubuntu - remove Unity window decorationsGatis Paeglis2018-04-251-0/+3
|/ | | | | | | | | | | | | | | | | Unity does not respect setGeometry() call, which is violation of WM spec. During the years we have tried various workarounds, but it has proved to be counterproductive. This patch adjusts Unity theme to not draw window decorations, ensuring that Unity treats the setGeometry() call the same way all the other WMs and platforms we are testing on. For more detailed explanation see QTBUG-67757. Task-number: QTBUG-67757 Change-Id: I8d2bb9f2af14d3c184fc218ed08a1febd70f4026 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Provisioning: Ubuntu - Add QNX 6.6.0Joni Jantti2018-04-151-0/+38
| | | | | | | | QNX 6.6.0 is required by RTA. Task-number: QTQAINFRA-1914 Change-Id: Id0578050d24fb13f3e10a10e972be790d39f9bc0 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Install Git Large File StorageHeikki Halmet2018-04-151-0/+43
| | | | | | | | This tool is needed to clone some repositories correctly Task-number: QTQAINFRA-1921 Change-Id: If4744304490649aeecf9daa0c1f840ded9b7beed Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Provisioning: Set ssh key and configurations for Yocto buildHeikki Halmet2018-04-151-0/+55
| | | | | | Task-number: QTQAINFRA-1888 Change-Id: I2dd01080998866ce2affd6a5aea797540f28db19 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Remove try_catch codes from Ubuntu 16.04 scriptsTony Sarajärvi2018-03-192-209/+139
| | | | | | Change-Id: I4a377b8bc2a16d9b9c4123a9a4f623f1a6a7ae18 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Uninstall aptdaemon/aptd before using aptFrederik Gladhorn2018-02-231-0/+13
| | | | | | | | | | This removes various kinds of update notifiers that depend on aptd. Also gets rid of the problem that aptd may hold apt lock files. Task-number: QTQAINFRA-1755 Change-Id: I27dd6fef4720ef25a504d76a3da16d9bf45fb2f7 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.9' into 5.11Liang Qi2018-02-202-1/+11
|\ | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/linux/open62541.sh coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh coin/provisioning/qtci-macos-10.12-x86_64/40-qnx700.sh Done-with: Maurice Kalinowski <maurice.kalinowski@qt.io> Change-Id: Icd472b8f770a933bafead48093ecf7eb94156128
| * Fix environment variable checking for proxyTony Sarajärvi2018-02-071-1/+1
| | | | | | | | | | Change-Id: Iec261d4ce4e84ba656edf9de52b4dc42d0249e51 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Ubuntu 16.04 x64 - Set grub timeout to 0Joni Jantti2018-02-071-0/+8
| | | | | | | | | | | | | | | | | | Grub timeout should be set to 0 so we save some time whenever the VMs are booted. Task-number: QTQAINFRA-1703 Change-Id: Ia866000703fdc083407d5d8588ba6680ffd80038 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.10.1' into 5.11Liang Qi2018-02-151-1/+7
|\ \ | | | | | | | | | Change-Id: I07cebe617c7860cbeede24b2f45c7c508aed5a92
| * \ Merge remote-tracking branch 'origin/5.10' into 5.10.1Liang Qi2018-02-073-2/+4
| |\ \ | | | | | | | | | | | | Change-Id: I275589752f6f623e61841a4552087a1875729615
| * | | Provisioning: Don't test window decorations on Ubuntu 16.04 QEMUJohan Klokkhammer Helsing2018-02-071-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decorations were previously disabled within the Wayland tests to work around another issue. That issue has now been fixed, and decorations have been enabled again, but these tests now became flaky when run within QEMU. Task-number: QTBUG-66173 Change-Id: I23b722ebc0719a2fd359ba5c3c57c66a887c06de Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | | | Merge remote-tracking branch 'origin/5.10' into 5.11Liang Qi2018-02-043-2/+4
|\ \ \ \ | | |/ / | |/| | | | | | Change-Id: I3b299786e8500b0a8f2c197f7501f8e6e1cf29cf
| * | | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-02-033-2/+4
| |\ \ \ | | |/ / | |/| / | | |/ Change-Id: I3e4ae2508d632919db77af0f365eb25ace1a69e0
| | * Provisioning: Disable Network Time ProtocolHeikki Halmet2018-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | NTP need to be disabled from all tier2 templates Task-number: QTQAINFRA-1608 Change-Id: I89e019c23b7a194efffa011200a8c870e3a65d66 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Remove excess sourcing of try_catchTony Sarajärvi2018-02-021-2/+0
| | | | | | | | | | | | | | | | | | Change-Id: I3bfa7e8755dbae904719212c22549f6965142330 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
| | * Instead of just warning that apt failed, tell whyFrederik Gladhorn2018-02-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the lsof we should see which process was holding the lock. After that we can disable this source of problems. Change-Id: Ie6a014bdb101e6230139569c0e4ea51a57089c30 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Provisioning: Fix location of sw_versions.txtFrederik Gladhorn2018-01-311-1/+1
| | | | | | | | | | | | | | | | | | I did not see this in the previous direct push. Change-Id: I620dcc7f1c562e5bd9e09d479a4a5b8598a970fb
* | | Merge remote-tracking branch 'origin/5.10' into 5.11Frederik Gladhorn2018-01-293-5/+13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/linux/qnx_700.sh coin/provisioning/common/windows/libclang.ps1 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Change-Id: I7fe1337fb8a575083e8b649d1a051abc82e3b408
| * | Merge remote-tracking branch 'origin/5.9' into 5.10.1Frederik Gladhorn2018-01-294-5/+15
| |\| | | | | | | | | | | | | | | | | | | | | | This was pushed directly, bypassing codereview.qt-project.org to get provisioning back into a working state. Change-Id: Ia5d2e6f7079162f571cd7c7994c0f2b3133b1163 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| | * Provisioning: Add Squish provisioning for Release Test AutomationHeikki Halmet2018-01-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Squish is required by RTA for testing. Task-number: QTQAINFRA-1523 Change-Id: I0c3653565f19cc9b798a0b63325c47b017cf5537 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
| | * Add nfs-common for mounting to workTony Sarajärvi2018-01-261-0/+2
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-1690 Change-Id: I43453da3267664c664e80510e3750d1906d00078 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Provisioning: Use SetEnvVar helper function in scriptsJoni Jantti2018-01-262-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when adding an environment variable in provisioning we have to check if the system is Ubuntu and use .profile instead of .bashrc. This check should be done in a function so we don't have to duplicate it for every provisioning script separately. Change-Id: I2fa128032123e17d20dfb39cd3668e22e4bb0d55 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>