aboutsummaryrefslogtreecommitdiffstats
path: root/coin
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove try_catch codes from Ubuntu 16.04 scriptsTony Sarajärvi2018-04-182-203/+139
| | | | | | | | Change-Id: I4a377b8bc2a16d9b9c4123a9a4f623f1a6a7ae18 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 4492fd3268e575dc79d77105821839631aac998f) Reviewed-by: Simo Fält <simo.falt@qt.io>
* Uninstall aptdaemon/aptd before using aptFrederik Gladhorn2018-04-181-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> (cherry picked from commit b20224fe6002eb930f7921a4fe235662dd6055f7) Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Simplify DownloadURLJędrzej Nowacki2018-04-181-38/+8
| | | | | | | | | | | | | | | The script was over-engineered. The new version provides the same functionality while removing uninteresting postmortem messages. In addition try_catch.sh has a bug that injects set +e to a sourcing script which was propagating through DownloadURL.sh to almost all provisioning scripts. So it is good to avoid using it. Change-Id: If191a0dcf52a29c4bec580a254e8e58a00130f6d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> (cherry picked from commit 8a47814c91828a2f1541b99b58c8ee2eb085cb51) Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* Provisioning: Create symbolic for shasum tool on macOS for compatibilityRainer Keller2018-04-186-7/+54
| | | | | | | | | | | | On macOS the sha1 tool is named 'shasum' while on all other unix systems it is called 'sha1sum'. In order to make all unix provisioning scripts run on macOS without special case handling a symbolic link is created. Change-Id: Ib1365cbb0dcb31e68a22959ce939fb450ec7e3f7 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit 04d1ee1df4302c78be54da76826221661ff25056)
* Download get-pip primarily from our local cacheTony Sarajärvi2018-03-201-1/+1
| | | | | | | | | | | | | | | We should first download from our local cache, and if that doesn't work, fetch it online. This commit doesn't fix it per se, but as we download it from our local cache, the version is the one our shasum checksum matches against. Task-number: QTQAINFRA-1876 Change-Id: Ia7de54cf090af47ba33111911582f9d48c0ab2a2 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 863252be498028c589c08ba23a70eb9cd92b1416) Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
* Disable update download in backgroundTony Sarajärvi2018-03-204-0/+15
| | | | | | | | | Task-number: QTQAINFRA-1852 Change-Id: I6d8e433fa40dd080fe84efcf3d0c655d14f86010 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit eebc0133f00f15d6166de7fe74f0f30bc3af50a2) Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
* Clean old RHEL repo data before fetching new dataTony Sarajärvi2018-03-201-0/+4
| | | | | | | | | | Task-number: QTQAINFRA-1872 Change-Id: I49d9d1589adc5b34f1b7c2dccc14be0021f2baaa Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> Reviewed-by: Joni Jäntti <joni.jantti@qt.io> (cherry picked from commit 64c79b27d6457235a30dd124382b004d37d4c089)
* Use local RHEL repositories with RHEL 7.4Tony Sarajärvi2018-03-203-7/+31
| | | | | | | | | | | | | | | | This will remove the majority of our network traffic from the outbound connection while provisioning. Also proxy was removed for yum, as there is no point in proxying local data. As a side effect, this makes provisioning currently faster by reducing the time it takes by 35%. Task-number: QTQAINFRA-1849 Change-Id: Ida4fb86d4bef166fc72e521e395d9753ec47a687 Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io> Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 209cb73a363d794ad312e28f9ea38bb8ef8b47bb)
* Revert "Provisioning: openSUSE - Set grub timeout to 0"Tony Sarajärvi2018-03-171-3/+0
| | | | | | | | | This reverts commit 2e329bc68eb5af977dca1982ed608dc058fdf7f9. grub-update command isn't found, and after enforcing script results, we have a P0 blocker here. Change-Id: Iaf4b17a91cdc865974a5f4f196bbb80b085a39c2 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Move MSVC2017 x86 builds to 64bit host OSTony Sarajärvi2018-03-121-1/+1
| | | | | | | | Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit b85b272c26810e54a4ceb0707cf4569f87517b67) Change-Id: I0bd874ac3c7f216f0fccd4141964c630cd8f6e10
* Install libusbx-devel for QDB on RHEL 7.4Kari Oikarinen2018-03-011-1/+1
| | | | | | | | | | | | On previous RHEL version the package was libusb1-devel. That package doesn't seem to be there anymore, which presumably means why the package to install was changed to libusb-devel. Unfortunately libusb-devel provides a compatibility package for the old 0.1 API version and doesn't work with QDB. libusbx-devel seems to be the new name for the 1.0 API version of libusb on RHEL. (cherry picked from commit 140c6479b5916e21d6c03a94f844a0f8693af0f8) Change-Id: I978e9842b3f0ec3a355cd1724934c99a531903ef Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Disable set -e when enabling devtoolset-4 environment variablesHeikki Halmet2018-02-131-0/+1
| | | | | Change-Id: If427179da490f14963077cd733082258e354710f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Provision: Use specific Python2 version in macOSSimo Fält2018-02-134-0/+64
| | | | | | | | Make sure we use some specific Python2 version on macOS instead of the one pre-installed along with system. Change-Id: Ifee07a8cf003e282ec3cb67535818f9fe39c8679 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: osx-10.11 - Disable sleepJoni Jantti2018-02-081-0/+9
| | | | | | | | | Display sleep and system sleep need to be disabled to prevent the machine from going to sleep during RTA testing. Task-number: QTQAINFRA-1588 Change-Id: Idc91d77388ed9bc6df5f3c1aceca515f6308c618 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: MacOS-10.12 - Disable sleepJoni Jantti2018-02-081-0/+9
| | | | | | | | | Display sleep and system sleep need to be disabled to prevent the machine from going to sleep during RTA testing. Task-number: QTQAINFRA-1588 Change-Id: I3dc1642d3714762bfb56963392d2bb5137c13256 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Remove excess comment line for shellcheckTony Sarajärvi2018-02-071-1/+0
| | | | | | Change-Id: I3e9b8091c158a978bd95e48b18df326c3a545798 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Fix environment variable checking for proxyTony Sarajärvi2018-02-075-5/+5
| | | | | 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>
* Provisioning: openSUSE - Disable file indexingJoni Jantti2018-02-071-0/+2
| | | | | | | | | Baloo file indexing sometimes takes up a great amount of CPU capacity and should therefore be disabled. Task-number: QTQAINFRA-1702 Change-Id: I549aef39c1dd2d2fa97196910f577153a42c4f54 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: openSUSE - Set grub timeout to 0Joni Jantti2018-02-031-0/+3
| | | | | | | | | Grub timeout should be set to 0 so we save some time whenever the VMs are booted. Task-number: QTQAINFRA-1703 Change-Id: I67db00d200dc3e5f94ed205b53bb0ca6e70bdd8d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Disable Network Time ProtocolHeikki Halmet2018-02-028-0/+101
| | | | | | | | 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>
* Add Win7_x64 provisioning for RTA purposesJoni Jäntti2018-02-0235-186/+218
| | | | | | | | | | | | Windows 7 x64 (Windows 7 msvc2013-x86_64) template is needed since RTA is starting to deploy machines from coin. Task-number: QTQAINFRA-1521 Task-number: QTQAINFRA-1615 Change-Id: I7e9665bd37ee010a59ff3792f435d65eb9ad8c17 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Johanna Äijälä <johanna.aijala@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: Attach subscription to systemHeikki Halmet2018-01-292-1/+47
| | | | | | | | | | Subscriptions need to be reattached when subscriptions have been renewed by Red Hat. Directly pushed to get provisioning into working shape. Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Change-Id: I6e469d7fac3b848193f280702e1e807ce4ea096b
* Provisioning: Add Squish provisioning for Release Test AutomationHeikki Halmet2018-01-2614-0/+419
| | | | | | | | | 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>
* Provisioning: Add common shared folderHeikki Halmet2018-01-2610-8/+8
| | | | | | | | | | Common shared folder includes scripts of files which are common for all operating system families. Changes under shared folder will trigger provisioning for all platforms Change-Id: I0789f87b76876d5f92673fe2f0e72d770e5f5ea4 Task-number: QTQAINFRA-1451 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@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-2620-42/+130
| | | | | | | | | | | 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>
* Move exception throw to the correct lineJoni Jantti2018-01-191-2/+2
| | | | | | | | | This throw was placed on the echo line instead of the actual command. Change-Id: I907c2ce17afa64c9c4ef628d766d7dfe270ade59 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.9.4' into 5.9Liang Qi2018-01-182-2/+6
|\ | | | | | | Change-Id: I1c5c5e6e938f33dd8b0b9c40e64d509eeec25774
| * Revert "Add 'ForceDebugInfo' -flag to linux desktop binaries"v5.9.4Jani Heikkinen2018-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now debug symbols are added in qtlibs as well and library size is huge. We need additional 'separate_debug_info' flag in addition to this but currently there isn't support for it in coin. That's why we need to revert this change until coin has full support for this. This reverts commit b0b6b05b34f7d24c3a762e9b383c1b5bd1153a04. Change-Id: I7d36d2778433d2034420c209b73d21b5af32249f Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
| * Provisioning: Set CMake to PATH on UbuntuTony Sarajärvi2018-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | Ubuntu uses .profile file instead of .bashrc. We need to use the correct file accordingly. Task-number: QTBUG-65594 (cherry picked from commit 22e4664eb08dc5384c5afd0bd6c6a0725b242517) Change-Id: Iceeec53882f1a5c97cd8f7ea5b013d543c156acb Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Fix disabling windows updatesOliver Wolff2018-01-181-2/+19
| | | | | | | | | | | | | | | | | | | | On some machines the updates were already disabled, which lead to the call to disable the service failing. Now we just move on without error. Change-Id: Ia48f7164c23dfe24e24548558d582cdc0190b7e3 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix provisioning: NotePad++ path on 64 bit windowsFrederik Gladhorn2018-01-181-6/+1
| | | | | | | | | | | | | | | | | | We install the 64 bit version of np++ which is installed in the regular program files folder. Change-Id: I702210eaf7dfae75bbfcfd9cc98d8ed96d775f61 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* | Fix provisioning: Wait for msvc-2013 update 5 to finishFrederik Gladhorn2018-01-181-2/+1
| | | | | | | | | | | | | | | | | | | | Installing Update 5 for Visual Studio 2013 Update 5 (KB2829760)... Removing C:\Windows\Temp\vs12-kb2829760.exe ... Caught System.UnauthorizedAccessException Access to the path 'C:\Windows\Temp\vs12-kb2829760.exe' is denied. Change-Id: I9fe136f0361ee21e38563dd17bf76bf4fd53747f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix checksum for QNX 7 SDK downloadFrederik Gladhorn2018-01-171-1/+1
| | | | | | | | | | Change-Id: Ia37c6d032d1a4c2841482292a2c2c2f8fd468859 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Install p7zip-full, that contains the 7z binaryFrederik Gladhorn2018-01-111-1/+1
| | | | | | | | | | | | | | p7zip is only a minimal version containing 7zr. Change-Id: I12531514490b6eb871419bdb61ea5896b175a678 Reviewed-by: Simo Fält <simo.falt@qt.io>
* | Remove 'Packaging' flag from QtWebKit MSVC2017/x86Konstantin Tokarev2018-01-101-1/+1
| | | | | | | | | | | | | | Qt doesn't provide binaries for this platform. Change-Id: Iab30435bb480ee898c2409f87facabb26fce9421 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Split Common folder based on operating system familiesHeikki Halmet2018-01-10282-253/+253
| | | | | | | | | | | | | | | | | | | | This change will split common folder to four different folders: Linux, Unix, Windows and MacOS. Each of these folders includes scripts which are common for their operating system familes Task-number: QTQAINFRA-1451 Change-Id: Ic93b2183052335dee875d1452b21e38d268b6474 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Remove devtoolset sourcing from openssl provisioning on UbuntuJoni Jantti2018-01-101-2/+0
| | | | | | | | | | | | | | | | This line is a leftover from RHEL script and needs to be removed on Ubuntu. Change-Id: I8fc8ab7cff808da997cb88a3cec4c65eaa1528a4 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.9.4' into 5.9Liang Qi2018-01-051-0/+5
|\| | | | | | | | | | | | | Conflicts: .gitmodules Change-Id: I6a2446b8ed4212e3965b37cb2c25f35ba6ed7efc
| * Provisioning: Ubuntu16.04 - CMakeJoni Jantti2018-01-051-0/+5
| | | | | | | | | | | | | | | | CMake is missing from the clean installed Ubuntu 16.04. Change-Id: I965bc3e55eb9b0765f483a84e5584e61054bdd80 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Provisioning: Ubuntu 16.04 - Set timezone to UTCJoni Jantti2018-01-051-0/+6
|/ | | | | | Task-number: QTBUG-65435 Change-Id: I329926d0f83d47c9e69eee177c600ac629ee9415 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Set up proxy for provisioning scriptsTony Sarajärvi2018-01-029-1/+165
| | | | | | Task-number: QTQAINFRA-1669 Change-Id: I582dc5037bd2b46dcd5c9c3b2cb13784e122d6a5 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Fix shebangs and give provisioning scripts +x rightsTony Sarajärvi2018-01-0279-69/+80
| | | | | Change-Id: Ib85721600b1e4461470a9ea4fd3b29fca0b35633 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Add set -ex to 7z provisioning in RHEL 7.4Tony Sarajärvi2018-01-021-0/+3
| | | | | | Change-Id: If6323055999830954df6893d72ff2031b34f0276 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Fix the Tier1 image that qtbase builds qemu builds withTony Sarajärvi2018-01-021-2/+2
| | | | | | | | | | | | Commit fcc0feaacb91ab5aefb212d351dcea7c728eefa5 forgot to update the Tier1 image in qtbase.txt. It only updated default.txt and qtdeclarative.txt. Most likely because qtbase.txt was added after initial changes were made and not caught in rebase. Task-number: QTQAINFRA-1574 Change-Id: If5da006172037c27dec5b3ae0b14330bc6f0149f Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Make provisioning script prefix style match across platformsJoni Jantti2017-12-29123-12/+0
| | | | | | | | | | | Currently we are using different styles and amount of digits for the provisioning script prefixes. This change will unify them across the platforms. Also removes a couple of duplicate files. Task-number: QTQAINFRA-1668 Change-Id: I039777e7616bccc29c6a4ac55db13326ae8dc87c Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: VirtualBox for RTAJoni Jantti2017-12-292-0/+54
| | | | | | | | RTA needs VirtualBox for running GammaRayPlugin RTA tests. Task-number: QTQAINFRA-1661 Change-Id: If66d6a63355ed5cc8c8525408c2dfc8c4f3d1bac Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>