BUILD_CAUSE=UPSTREAMTRIGGER BUILD_CAUSE_UPSTREAMTRIGGER=true BUILD_DISPLAY_NAME=#1509 BUILD_ID=1509 BUILD_NUMBER=1509 BUILD_TAG=jenkins-tcwg-abe-test-label=tcwg-x86_64-build,test=abe-tests-checkout-1509 BUILD_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1509/ EXECUTOR_NUMBER=1 GERRIT_BRANCH=master GERRIT_CHANGE_COMMIT_MESSAGE=make.sh: Run GDB testsuite with read1 library GDB has a test debugging library which is ld-preloaded into expect and causes it to read one byte at a time from the tested tool. This allows finding test races (see gdb/testsuite/README), and also makes the testsuite run more deterministically. Some testcases are buggy and have additional failures when running under read1. In particular, gdb.linespec/cpcompletion.exp has 422 FAILs and gdb.mi/mi2-var-child.exp has 425 FAILs. A couple of tests in gdb.mi are still as flaky (and verbose) as before though. The testsuite unexpected failures go from 56 to 1411. Still, the increased stability of the test results makes this change worth it. With this change, the check_gdb step goes from about 1h to 5h30m. I'll explore enabling running the tests in parallel to compensate the increase in run time. Change-Id: I1ab812a6ba2492778bca5c87e4480499f76ad6cf GERRIT_CHANGE_ID=I1ab812a6ba2492778bca5c87e4480499f76ad6cf GERRIT_CHANGE_NUMBER=45838 GERRIT_CHANGE_OWNER=\"Thiago Bauermann\" GERRIT_CHANGE_OWNER_EMAIL=thiago.bauermann@linaro.org GERRIT_CHANGE_OWNER_NAME=Thiago Bauermann GERRIT_CHANGE_PRIVATE_STATE=false GERRIT_CHANGE_SUBJECT=make.sh: Run GDB testsuite with read1 library GERRIT_CHANGE_URL=https://review.linaro.org/c/toolchain/abe/+/45838 GERRIT_CHANGE_WIP_STATE=false GERRIT_EVENT_ACCOUNT=\"Thiago Bauermann\" GERRIT_EVENT_ACCOUNT_EMAIL=thiago.bauermann@linaro.org GERRIT_EVENT_ACCOUNT_NAME=Thiago Bauermann GERRIT_EVENT_HASH=1142594848 GERRIT_EVENT_TYPE=patchset-created GERRIT_HOST=review.linaro.org GERRIT_NAME=review.linaro.org GERRIT_PATCHSET_NUMBER=2 GERRIT_PATCHSET_REVISION=b6a7eb1e0c828dfc16e66a22db925a9fa6ce7faf GERRIT_PATCHSET_UPLOADER=\"Thiago Bauermann\" GERRIT_PATCHSET_UPLOADER_EMAIL=thiago.bauermann@linaro.org GERRIT_PATCHSET_UPLOADER_NAME=Thiago Bauermann GERRIT_PORT=29418 GERRIT_PROJECT=toolchain/abe GERRIT_REFSPEC=refs/changes/38/45838/2 GERRIT_SCHEME=ssh GERRIT_TOPIC= GERRIT_VERSION=3.8.1 HOME=/home/tcwg-buildslave HOSTNAME=build-03 HUDSON_HOME=/var/jenkins_home HUDSON_SERVER_COOKIE=bd3c6a001cafdac9 HUDSON_URL=https://ci.linaro.org/ JENKINS_HOME=/var/jenkins_home JENKINS_SERVER_COOKIE=bd3c6a001cafdac9 JENKINS_URL=https://ci.linaro.org/ JOB_BASE_NAME=label=tcwg-x86_64-build,test=abe-tests-checkout JOB_NAME=tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout JOB_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/ LANG=en_US.UTF-8 LOGNAME=tcwg-buildslave MAIL=/var/mail/tcwg-buildslave NODE_LABELS=tcwg tcwg-build tcwg-parallel-jobs tcwg-x86_32-build tcwg-x86_64 tcwg-x86_64-2-cam tcwg-x86_64-build tcwg-x86_64-build-03 tcwg-x86_64-cam NODE_NAME=tcwg-x86_64-build-03 PATH=/home/tcwg-buildslave/bin:/home/tcwg-buildslave/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin PWD=/home/tcwg-buildslave ROOT_BUILD_CAUSE=SCMTRIGGER ROOT_BUILD_CAUSE_SCMTRIGGER=true RUN_ARTIFACTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1509/display/redirect?page=artifacts RUN_CHANGES_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1509/display/redirect?page=changes RUN_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1509/display/redirect RUN_TESTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1509/display/redirect?page=tests SHELL=/bin/bash SHLVL=0 SUDO_COMMAND=/bin/bash -c java -jar /home/tcwg-buildslave/jenkins-workdir-tcwg-x86_64-build-03/agent.jar -jnlpUrl https://ci.linaro.org/computer/tcwg-x86_64-build-03/slave-agent.jnlp -noReconnect -secret @jenkins/tcwg-x86_64-build-03.secret -workDir /home/tcwg-buildslave/jenkins-workdir-tcwg-x86_64-build-03 SUDO_GID=0 SUDO_UID=0 SUDO_USER=root TERM=xterm USER=tcwg-buildslave _=/usr/bin/java dryrun=false label=tcwg-x86_64-build scripts_branch=master test=abe-tests-checkout test_list=cross_build native_build testsuite abe-tests abe-tests-checkout