FAILURE: integration-config-qa Build #1220 (Mon, 16 Dec 2019 08:33:32 +0000)

Changes since last build

[Zoranzoki21] Archive ImageMetrics extension [jenkins-bot] Adjust pytest parameter for "qa"

Console output

Started by user Hashar
Running as SYSTEM
Building remotely on integration-agent-docker-1008 (Docker blubber) in workspace /srv/jenkins/workspace/workspace/integration-config-qa
Using checkout strategy: Default
Last Built Revision: Revision 019c08916813a5add6ae09247f1d84cf9ac0de7c (origin/master)
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://gerrit.wikimedia.org/r/p/integration/config.git
 > git init /srv/jenkins/workspace/workspace/integration-config-qa # timeout=10
Fetching upstream changes from https://gerrit.wikimedia.org/r/p/integration/config.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://gerrit.wikimedia.org/r/p/integration/config.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gerrit.wikimedia.org/r/p/integration/config.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gerrit.wikimedia.org/r/p/integration/config.git # timeout=10
Fetching upstream changes from https://gerrit.wikimedia.org/r/p/integration/config.git
 > git fetch --tags --progress -- https://gerrit.wikimedia.org/r/p/integration/config.git +refs/heads/*:refs/remotes/origin/*
getCandidateRevisions(false,master,,,hudson.plugins.git.util.BuildData@5ff91cc6[scmName=,remoteUrls=[https://gerrit.wikimedia.org/r/p/integration/config.git],buildsByBranchName={origin/master=Build #1219 of Revision 019c08916813a5add6ae09247f1d84cf9ac0de7c (origin/master)},lastBuild=Build #1219 of Revision 019c08916813a5add6ae09247f1d84cf9ac0de7c (origin/master)]) considering branches to build
Qualifying master as a branch in repository origin -> origin/master
 > git rev-parse origin/master^{commit} # timeout=10
rev-parse origin/master -> AnyObjectId[46c2af3652ec86c52dfd562ef2435cf1c194e5d0]
Found a new commit AnyObjectId[46c2af3652ec86c52dfd562ef2435cf1c194e5d0] to be built on origin/master
Checking out Revision 46c2af3652ec86c52dfd562ef2435cf1c194e5d0 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 46c2af3652ec86c52dfd562ef2435cf1c194e5d0
Commit message: "Adjust pytest parameter for "qa""
 > git rev-list --no-walk 019c08916813a5add6ae09247f1d84cf9ac0de7c # timeout=10
No emails were triggered.
[integration-config-qa] $ /bin/bash -xe /tmp/jenkins7270508223871524282.sh
+ mkdir -m 2777 -p cache
[integration-config-qa] $ /bin/bash -xe /tmp/jenkins8444037941320061943.sh
+ set -eux
+ mkdir -m 2777 -p log
[integration-config-qa] $ /bin/bash /tmp/jenkins7641828405295514861.sh
+ exec docker run --user=nobody --volume /srv/jenkins/workspace/workspace/integration-config-qa:/workspace --entrypoint=/usr/bin/find --init --rm --label jenkins.job=integration-config-qa --label jenkins.build=1220 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace/log -mindepth 1 -delete
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
[integration-config-qa] $ /bin/bash /tmp/jenkins6466596678770735392.sh
++ pwd
++ pwd
+ exec docker run --volume /srv/jenkins/workspace/workspace/integration-config-qa/cache:/cache --volume /srv/jenkins/workspace/workspace/integration-config-qa/log:/log --init --rm --label jenkins.job=integration-config-qa --label jenkins.build=1220 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/tox:0.4.0 -e qa -- --junit-file=/log/junit-qa.xml
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
++ /usr/bin/env
+ umask 002
+ LOG_DIR=/log
+ export LOG_DIR
+ cd /src
+ git init
Initialized empty Git repository in /src/.git/
+ git fetch --depth 2 --quiet https://gerrit.wikimedia.org/r/p/integration/config master
+ git checkout --quiet FETCH_HEAD
+ git submodule --quiet update --init --recursive
+ trap capture_tox_logs EXIT
+ tox_pid=50
+ relay_signals SIGINT SIGTERM
+ for signal in "$@"
+ TOX_TESTENV_PASSENV='*'
+ PY_COLORS=1
+ tox -v -e qa -- --junit-file=/log/junit-qa.xml
+ trap 'kill -$signal $tox_pid; wait $tox_pid' SIGINT
+ for signal in "$@"
+ trap 'kill -$signal $tox_pid; wait $tox_pid' SIGTERM
+ wait 50
using tox.ini: /src/tox.ini (pid 50)
using tox-3.10.0 from /usr/local/lib/python3.5/dist-packages/tox/__init__.py (pid 50)
qa cannot reuse: no previous config /src/.tox/qa/.tox-config1
qa create: /src/.tox/qa
[60] /src/.tox$ /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python2.7 qa >qa/log/qa-0.log
qa installdeps: pytest, PyYAML<4, python-debian, git+https://gerrit.wikimedia.org/r/integration/zuul.git#egg=zuul, python-jenkins==1.1.0, jenkins-job-builder==3.1.0, diff-highlight==1.2.0
[69] /src$ /src/.tox/qa/bin/python -m pip install pytest 'PyYAML<4' python-debian 'git+https://gerrit.wikimedia.org/r/integration/zuul.git#egg=zuul' python-jenkins==1.1.0 jenkins-job-builder==3.1.0 diff-highlight==1.2.0 >.tox/qa/log/qa-1.log
write config to /src/.tox/qa/.tox-config1 as '4f458165a2129ba549f1b6605ee87e74 /usr/bin/python2.7\n3.10.0 0 0 0\n00000000000000000000000000000000 pytest\n00000000000000000000000000000000 PyYAML<4\n00000000000000000000000000000000 python-debian\n00000000000000000000000000000000 git+https://gerrit.wikimedia.org/r/integration/zuul.git#egg=zuul\n00000000000000000000000000000000 python-jenkins==1.1.0\n00000000000000000000000000000000 jenkins-job-builder==3.1.0\n00000000000000000000000000000000 diff-highlight==1.2.0'
[1139] /src$ /src/.tox/qa/bin/python -m pip freeze >.tox/qa/log/qa-2.log
qa installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.,APScheduler==3.0.6,atomicwrites==1.3.0,attrs==19.3.0,Babel==2.7.0,certifi==2019.11.28,chardet==3.0.4,configparser==4.0.2,contextlib2==0.6.0.post1,diff-highlight==1.2.0,docutils==0.15.2,ecdsa==0.14.1,extras==1.0.0,fasteners==0.15,funcsigs==1.0.2,futures==3.0.5,gear==0.7.0,gitdb2==2.0.5,GitPython==2.1.11,idna==2.8,importlib-metadata==1.3.0,jenkins-job-builder==3.1.0,Jinja2==2.10.3,lockfile==0.12.2,MarkupSafe==1.1.1,monotonic==1.5,more-itertools==5.0.0,multi-key-dict==2.0.3,packaging==19.2,paramiko==1.18.5,Paste==3.2.3,pathlib2==2.3.5,pbr==5.4.4,pluggy==0.13.1,prettytable==0.7.2,py==1.8.0,pycrypto==2.6.1,pyparsing==2.4.5,pytest==4.6.7,python-daemon==2.0.6,python-debian==0.1.36,python-jenkins==1.1.0,pytz==2019.3,PyYAML==3.13,requests==2.22.0,scandir==1.10.0,six==1.13.0,smmap2==2.0.5,statsd==2.1.2,stevedore==1.31.0,tzlocal==1.2.2,urllib3==1.25.7,voluptuous==0.9.3,wcwidth==0.1.7,WebOb==1.8.5,zipp==0.6.0,zuul==2.5.2.dev23
qa run-test-pre: PYTHONHASHSEED='3154159899'
qa run-test: commands[0] | mkdir -p log
[1140] /src$ /bin/mkdir -p log
qa run-test: commands[1] | pytest -m qa --tb=short --junit-file=/log/junit-qa.xml
[1141] /src$ /src/.tox/qa/bin/pytest -m qa --tb=short --junit-file=/log/junit-qa.xml
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --junit-file=/log/junit-qa.xml
  inifile: /src/tox.ini
  rootdir: /src

ERROR: InvocationError for command /src/.tox/qa/bin/pytest -m qa --tb=short --junit-file=/log/junit-qa.xml (exited with code 4)
___________________________________ summary ____________________________________
ERROR:   qa: commands failed
+ capture_tox_logs
+ cp --recursive /src/.tox/qa/log/qa-0.log /src/.tox/qa/log/qa-1.log /src/.tox/qa/log/qa-2.log /log
+ cp --recursive /src/.tox/log /log
Build step 'Execute shell' marked build as failure
Archiving artifacts
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 'log/junit*.xml' relative to '/srv/jenkins/workspace/workspace/integration-config-qa' for the testing framework 'JUnit'.  Did you enter a pattern relative to the correct directory?  Did you generate the result report(s) for 'JUnit'?
[xUnit] [ERROR] - No test reports found for the metric 'JUnit' with the resolved pattern 'log/junit*.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
[PostBuildScript] - [INFO] Executing post build scripts.
[integration-config-qa] $ /bin/bash -xe /tmp/jenkins661405643220950841.sh
+ set -euxo pipefail
+ docker ps -q --filter label=jenkins.job=integration-config-qa --filter label=jenkins.build=1220
+ xargs --no-run-if-empty docker stop
[PostBuildScript] - [INFO] Executing post build scripts.
[integration-config-qa] $ /bin/bash /tmp/jenkins1628221438792208360.sh
+ exec docker run --user=root --volume /srv/jenkins/workspace/workspace/integration-config-qa:/workspace --entrypoint=/usr/bin/find --init --rm --label jenkins.job=integration-config-qa --label jenkins.build=1220 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace -mindepth 1 -delete
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
[integration-config-qa] $ /bin/bash -xe /tmp/jenkins392960724343322346.sh
+ set -u
+ rmdir /srv/jenkins/workspace/workspace/integration-config-qa
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any