BUILD_CAUSE=UPSTREAMTRIGGER BUILD_CAUSE_UPSTREAMTRIGGER=true BUILD_DISPLAY_NAME=#1565 BUILD_ID=1565 BUILD_NUMBER=1565 BUILD_TAG=jenkins-tcwg-abe-test-label=tcwg-x86_64-build,test=testsuite-1565 BUILD_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1565/ EXECUTOR_NUMBER=0 GERRIT_BRANCH=master GERRIT_CHANGE_COMMIT_MESSAGE=config/linaro.exp: Change Expect's buffer size to 100k The default buffer size Expect uses to hold the tool's output is 2000 bytes. This is too low for some GDB tests which run commands generating a lot of output — e.g., when they turn on GDB debug output or when testing GDB's Machine Interface which is verbose. As a result those GDB tests become flaky because depending on the testsuite run, the expected GDB output may have already been removed from the buffer by the time Expect tries to match it. Well-written tests shouldn't have that problem because they are supposed to frequently match GDB's output (which removes it from the buffer), but in practice a number of tests don't yet do that. By increasing the buffer size we can reduce the severity of this problem, increasing the stability of testsuite results. The Expect man page notes that \"excessively large values can slow down the pattern matcher\". With the default buffer size, a tcwg_gdb_check job on aarch64-linux takes about 115 minutes. With this patch, it takes about 145 minutes. I think the extra time is worth it though. I also tried buffer sizes of 65k and 200k, but with the former the results aren't as good as with 100k, and with 200k the results aren't better. Change-Id: I0466c6f19658f7b638cc0e3dcf5023614de8fa41 GERRIT_CHANGE_ID=I0466c6f19658f7b638cc0e3dcf5023614de8fa41 GERRIT_CHANGE_NUMBER=46655 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=config/linaro.exp: Change Expect's buffer size to 100k GERRIT_CHANGE_URL=https://review.linaro.org/c/toolchain/abe/+/46655 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=2024893702 GERRIT_EVENT_TYPE=patchset-created GERRIT_HOST=review.linaro.org GERRIT_NAME=review.linaro.org GERRIT_PATCHSET_NUMBER=1 GERRIT_PATCHSET_REVISION=a7118c32bf5301ffd144e479ab764f74b5b4e2fe 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/55/46655/1 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=testsuite JOB_NAME=tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite JOB_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/ LANG=en_US.UTF-8 LOGNAME=tcwg-buildslave MAIL=/var/mail/tcwg-buildslave NODE_LABELS=tcwg-build tcwg-x86_64-cam tcwg-x86_64-build-03 tcwg-parallel-jobs tcwg-x86_64 tcwg tcwg-x86_32-build tcwg-x86_64-2-cam tcwg-x86_64-build 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=testsuite/1565/display/redirect?page=artifacts RUN_CHANGES_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1565/display/redirect?page=changes RUN_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1565/display/redirect RUN_TESTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1565/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=testsuite test_list=cross_build native_build testsuite abe-tests abe-tests-checkout