summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-03jenkins.sh: Use abe.sh --list-artifactsuse-list-artifactsCharles Baylis
Use --list-artifacts for tarballs, manifests and Abe's logs. Use of find still remains for finding *.sum files from make check. Change-Id: I824eac39e2dbcf7f3ef3cc893b446c4964e29ad4
2017-03-30MakeRelease.job: use abe --list-artifacts optionCharles Baylis
Remove uses of find to locate manifest by using --list-artifacts to record real location of the manifest. Change-Id: I5683f5decd034d21dd1ab2ecd22e48aed09cd079
2017-03-30Revert "start-container-docker.sh: Add --memory option."Christophe Lyon
This reverts commit 8dd72d26d0a1865bdeacb179fedf96324f22eba3. Change-Id: Ic0fce2125b74b98789e9048d74135f3215b87a26
2017-03-30tcwg-llvm-testsuite.sh: using standard locale to avoid python errorsRenato Golin
Change-Id: Ia05567dfaa609eeebad49a2e970e1090d4049888
2017-03-30tcwg-llvm-build.sh: avoid using DESTDIR with ninjaRenato Golin
Change-Id: I0d475cf8e0f054eb645d464610c5708a49601f5e
2017-03-29start-container-docker.sh: Add --memory option.Christophe Lyon
To control the memory limit of the docker container. start-container-none.sh, start-container-schroot.sh: Support, but ignore --memory option. (To keep the same interface as start-container-docker.sh). Change-Id: Ie44071eae95103a3ba53b0406e106aa310184116
2017-03-28MakeRelease.job: Do not rely on env variables:Christophe Lyon
gcc_src binutils_src glibc_src manifest_src toolchain_config To avoid a silent dependency on Jenkins setting them. Note that all these variables are optional, so not setting them won't result in an error. Change-Id: I5d0cbbf52cc39c628e170b858a5f5b5c970f353d
2017-03-24tcwg-llvm-testsuite.sh: Add set -u and fix variablesRenato Golin
Change-Id: If5b95c1cb6837dc8791368d170878ec6a9e1d4d2
2017-03-24tcwg-llvm-testsuite.sh: Adding way to run LLVM test-suiteRenato Golin
This checks out test-suite and run on a toolchain provided (mandatory). This job will not build the toolchain for you, and it can work with any toolchain (clang, gcc) provided. Change-Id: I21d072de25a1d386379ae681ee8b7bfd1c85e576
2017-03-23tcwg-llvm-build.sh: Adding new toolchain parameterRenato Golin
This new parameter allows us to choose a toolchain to use to build LLVM. This can either be an upstream release (from llvm.org/releases) or internal ones stored in dev-01, so we can do stage 2 builds. A similar patch in configs is being submitted to cope with the new parameter. Change-Id: Ic8d440e21ea22ebd611d431d4b99b558b36bdee4
2017-03-22tcwg-llvm-build.sh: Change filesever URL to .tcwglabRenato Golin
Change-Id: Idd7d03ca98859e8039fadabc7178acd6f93be4c4
2017-03-22tcwg-llvm-build.sh: Push tar ball to dev-01Renato Golin
After install, repeat the release package process and push to our file server so other jobs can use those toolchains. The official release has M.m.r-rcN format for the release candidates, so I made ciN for Jenkins builds, so we can differentiate between each other. Change-Id: Icf24c5c44047cab8c136556de8420493ebf23261
2017-03-22tcwg-update-snapshots_ref.sh: Cache snapshots for gcc7 toolchains.Maxim Kuvyrkov
Change-Id: I34572361ab43f1fb9206887dd52bb698ec57a3e2
2017-03-22jenkins.sh: Use concise output for CPU infoMaxim Kuvyrkov
Change-Id: I7aaa68e9dfbcded3995127dcd099032232720bca
2017-03-21start-container-docker.sh: Cope with new image name.Christophe Lyon
Change-Id: Idc6d3498d41d19c68ccc6ca089622d66f1333978
2017-03-20MakeRelease.job: Add --buildnumber option.Christophe Lyon
And do not rely on BUILD_NUMBER in the environment. Change-Id: I41e31968ffa2e34577d840d442357404edb18668
2017-03-20MakeRelease.job: Add --canadian option.Christophe Lyon
And no longer rely on an environment variable. Change-Id: I7f1c64e8632346e82a17e6ded8a5dbe588301b00
2017-03-20tcwg-llvm-build.sh: don't quote cmake options twiceRenato Golin
Change-Id: Idfc1596e7aa395cab2f8601787f5ec0ec5ad45cb
2017-03-17tcwg-llvm-build.sh: Fix clone/install, add logsRenato Golin
Fixing a few issues with cloning the repos and installing on the wrong prefix (LLVM forces the prefix, we need to use DESTDIR), as well as adding logs to each step (and splitting into more steps), so that Jenkins can use them as artifacts. Change-Id: I69d9fb6cc477388a97dc4bc0f1884c6c529d97c8
2017-03-16TestRelease.job: run tcwg-regression tests.Christophe Lyon
Change-Id: Ia2b19afbd2be2cafca4f2d26538b3e28bfd41277
2017-03-16[LLVM] Adds barebones for building LLVM on JenkinsRenato Golin
This is a simple wrapper copied from another TCWG script that should, in theory, build LLVM and check whatever is built. We don't plan on adding all logic to this script, but use this wrapper to call our existing build scripts that know how to do everything aroung LLVM. But first, we need to run a build from Jenkins and see that we can. This is that step. Change-Id: I88aa7d7571eaec1b30b4e99b0a516f5a08b561e8
2017-03-08start-container-docker.sh: Use --cap-add=SYS_PTRACE when starting docker.Christophe Lyon
This is needed for gdb and gcc's guality tests (which use gdb). Change-Id: I83467b84f4ce4cc3c400eaeb17d96f8288946891
2017-03-07jenkins.sh: Fix handling of --extraconfig opton.Christophe Lyon
Change-Id: I499c4ed5d2f1c872de200ac2072e0ba0eebcfcec
2017-02-20start-container-none.sh: Fix arch for x86_64.Christophe Lyon
It should be amd64. Change-Id: Iad2bb94a2c2308666ceeda5bd36e159d33ff80a3
2017-02-20start-container-none.sh, start-container-schroot.sh: Update comments.Christophe Lyon
Change-Id: I07e61cc697a9827e7c43f46488a0a0f8defc6d13
2017-02-20start-container-docker.sh: Fix ssh-agent cleanup.Christophe Lyon
Make sure to kill the just-started ssh-agent in case something goes wrong. Change-Id: Ibb6d659298da97754926d1fca5ff8255f00d5955
2017-02-17jenkins.sh: Exit early when an error is detected.Christophe Lyon
Instead of just printing an help message and continuing. Change-Id: I6734639095589c861e72d8c0f4a444b86fefa1fc
2017-02-17start-container-docker.sh: Restore CONTAINER_CLEANUP.Christophe Lyon
Change-Id: I82afb35b783449146a31251d907846e15ee123eb
2017-02-17start-container-docker.sh: Define SSH_AGENT_CLEANUP if needed.Christophe Lyon
Including ssh-agent cleanup code in the same variable as the container cleanup code is tricky because it involves subshell evaluation: putting this in a shell variable with backquotes makes further assignations impossible as they would trigger unwanted calls to the ssh-agent cleanup up because of shell expansion. The convention is that the contents of SSH_AGENT_CLEANUP should be used as: eval `${SSH_AGENT_CLEANUP}` Change-Id: I4ce7afdde37e07621bd3e9b8a2aa42037ec941bb
2017-02-17start-container-docker.sh: Fix ssh-agent invocation.Christophe Lyon
To avoid leaking file descriptors 3 and 4, which would otherwise make an external pipe hang (eg tee). Change-Id: I62921634bdcb8b98b88198c007ba5e628a1475db
2017-02-17Check for symlinks in win32 tarballs.Charles Baylis
Add test to ensure that no symlinks are found in win32 release tarballs. Change-Id: Ib9efc6b494a261b8cadd3f6b27091801d743cda5
2017-02-17MakeRelease.job: Use GCC Major.minor for upload dirname.Christophe Lyon
Since GCC 5, use Major.minor, and use Major.minor.point for older releases. This makes the upload dirname consistent with the tarball names. Change-Id: I7289fb510eedcfc73cbc5fe0be5c13da3db20fc4
2017-02-17MakeRelease.job: Fix option handling.Christophe Lyon
Remove short option names support, shift args when current option requires an argument, and exit with an error code in case an unsupported option is supplied or a mandatory one is missing. Change-Id: I3dcb5a24cfd7f5b74682a12c43233ad2b73fe96c
2017-02-17jenkins.sh: Do not set WORKSPACE to a default value ($pwd).Christophe Lyon
WORKSPACE used to be set to $(pwd) if not already defined, but if jenkins.sh is called remotely via ssh for instance, WORKSPACE is undefined but the build succeeds in $HOME instead, which is misleading and can confuse other Jenkins script. This patch removes this default value and prints an error message in case $user_workspace (derived from $WORKSPACE, or defined by a command-line option) is undefined. Change-Id: I53a927a8f5e00430e2aefa22991daa42b2776b95
2017-02-17start-container-docker.sh: Fix ssh-agent cleanup.Christophe Lyon
Change-Id: Ibf5b270c99417fdceadf49e5a1eab60ede37571a
2017-02-17start-container-docker.sh: Add ssh key to root user for test containers.Christophe Lyon
ABE's test-schroot.sh needs to connect to the 'test' container as 'root', so add the new temporary key to it too. Change-Id: Id018d26beeb93a7cd04b82a21fc31be6adbbd723
2017-02-16start-container-docker.sh: Fix docker cp invocation.Christophe Lyon
Use $DOCKER instead of docker to include the session host name. Change-Id: Ic0628ddbc151a3c1c87aa48604b6508484c7f96a
2017-02-16start-container-docker.sh: Propagate tcwg-buildslave ssh key.Christophe Lyon
This is a workaround to Jenkins/ssh-agent problems. The keys are present on the host where the script is run, we make sure the docker container will accept them. Start ssh-agent if necessary, provide it with the key, and export related environment variables. Change-Id: Ic787a34993700c5878fc450e6023ed6e2c858fd4
2017-02-13start-container-*.sh: Append .tcwglab only if not already present.Christophe Lyon
Change-Id: Id16401100dea2b74ff439aea1ab022b1f4807899
2017-02-13start-container-docker.sh: Use --security-opt seccomp:unconfinedChristophe Lyon
This docker flag reduces security, but is currently needed because GCC's libgo configure has a test that aborts otherwise. See test 'whether setcontext clobbers TLS variables'. Do this on i386 only, since the problem appeared only on this arch. Change-Id: I9b01df3cc6e407923d2adc509f6f15055f12d920
2017-02-08start-container*.sh: Add --task parameter.Christophe Lyon
Change-Id: I869c0693531b05958e4e482d15d901da9b57ca71
2017-02-08start-container-*.sh: Define CONTAINER_CLEANUP instead of installing a trap.Christophe Lyon
It was not possible to create 2 containers with these scripts and benefit from automatic cleanup via a trap handler: the 2nd one would override the 1st one. With this patch, we define CONTAINER_CLEANUP which contains the cleanup command, which can be saved by the caller script and used as needed. Change-Id: I832395baeb6dda2c89a4fa7d29e68017df6c628f
2017-02-03start-container-*.sh: Parameters now require option flags.Christophe Lyon
This makes it easier/clearer to support optional parameters. Improve diagnotics and consistency. start-container-none.sh: exit with error if the requested arch or distro do not match the host's. Change-Id: I9c1d27db1ac679da217e7fae4a8cd15773ffec17
2017-02-03nodename2hostname.sh: Make sure all error messages go to stderr.Christophe Lyon
Change-Id: I56eac26f9537e1282a04ae31b2e49c214335762c
2017-02-03start-container-docker.sh: Fix session_name.Christophe Lyon
Tranform '+' into '-' to comply with docker container name rules. Change-Id: Iafc20a2a3279ba9dfe8b8f020ee3156f9c86121a
2017-02-02nodename2hostname.sh: Make NODE_NAME the only and mandatory parameter.Christophe Lyon
And don't rely on the environment variable. Change-Id: I9b14f0b11c44a6a670d065e8ac61e3f2a16847e3
2017-02-01nodename2hostname.sh: New helper script.Christophe Lyon
Converts Jenkins' NODE_NAME into a host name suitable for ssh from another machine in tcwg lab. Change-Id: If7bca84ddfbedf0ac263f0393ff5baa5d0d31021
2017-02-01start-container-schroot.sh: Start schroot session remotely.Christophe Lyon
Change-Id: I7de4615d9a40b8b9542b0eebb24ac61162280cbe
2017-02-01start-container-docker.sh: No need to forward ssh-agent.Christophe Lyon
Change-Id: I413b5ab20049947ad68a49f5ef0372364a7b5a29
2017-01-31start-container-docker.sh: Use ssh instead of telnet to detect if ssh server ↵Christophe Lyon
is ready. check-server.exp: Delete, as it is now useless. Change-Id: I85d8d36a94bf8e412bc1dcc9eb0f1ca8fd541a6a