See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/467/display/redirect>
Changes: ------------------------------------------ [...truncated 40.56 KB...] 973721b7fcb1: Pulling fs layer 0c79b341c8ed: Pulling fs layer 1b304faacdc3: Pulling fs layer 5c94f9cbba07: Pulling fs layer 0c79b341c8ed: Waiting 1b304faacdc3: Waiting 5c94f9cbba07: Waiting bdf0201b3a05: Verifying Checksum bdf0201b3a05: Download complete ab017ee82de8: Verifying Checksum ab017ee82de8: Download complete 973721b7fcb1: Verifying Checksum 973721b7fcb1: Download complete 0c79b341c8ed: Verifying Checksum 0c79b341c8ed: Download complete bdf0201b3a05: Pull complete 1b304faacdc3: Verifying Checksum 1b304faacdc3: Download complete 5c94f9cbba07: Verifying Checksum 5c94f9cbba07: Download complete ab017ee82de8: Pull complete 973721b7fcb1: Pull complete 0c79b341c8ed: Pull complete 1b304faacdc3: Pull complete 5c94f9cbba07: Pull complete Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411 Status: Downloaded newer image for quay.io/coreos/etcd:v3.3 quay.io/coreos/etcd:v3.3 Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6040834004632474981.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d Status: Image is up to date for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2681097370933968900.sh + docker pull python:3.6 3.6: Pulling from library/python 8f0fdd3eaac0: Already exists d918eaefd9de: Already exists 43bf3e3107f5: Already exists 27622921edb2: Already exists dcfa0aa1ae2c: Already exists ca7e1bbea389: Pulling fs layer 5bf324b44232: Pulling fs layer a2d410a0f39c: Pulling fs layer 59b774443140: Pulling fs layer 59b774443140: Waiting a2d410a0f39c: Verifying Checksum a2d410a0f39c: Download complete ca7e1bbea389: Verifying Checksum ca7e1bbea389: Download complete 59b774443140: Download complete 5bf324b44232: Verifying Checksum ca7e1bbea389: Pull complete 5bf324b44232: Pull complete a2d410a0f39c: Pull complete 59b774443140: Pull complete Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548 Status: Downloaded newer image for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7399699797635202269.sh + docker pull python:3.5 3.5: Pulling from library/python 8f0fdd3eaac0: Already exists d918eaefd9de: Already exists 43bf3e3107f5: Already exists 27622921edb2: Already exists dcfa0aa1ae2c: Already exists ca7e1bbea389: Already exists 3aa5767a1ba2: Pulling fs layer 93578379e072: Pulling fs layer f99c95492c1b: Pulling fs layer 93578379e072: Verifying Checksum 93578379e072: Download complete f99c95492c1b: Verifying Checksum f99c95492c1b: Download complete 3aa5767a1ba2: Download complete 3aa5767a1ba2: Pull complete 93578379e072: Pull complete f99c95492c1b: Pull complete Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0 Status: Downloaded newer image for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4149755259069286515.sh + docker pull python:2.7 2.7: Pulling from library/python 8f0fdd3eaac0: Already exists d918eaefd9de: Already exists 43bf3e3107f5: Already exists 27622921edb2: Already exists dcfa0aa1ae2c: Already exists ef6ca6913068: Pulling fs layer a755ea00feee: Pulling fs layer 74b6f9ff9fd6: Pulling fs layer bebb4b693476: Pulling fs layer bebb4b693476: Waiting 74b6f9ff9fd6: Verifying Checksum 74b6f9ff9fd6: Download complete ef6ca6913068: Download complete a755ea00feee: Verifying Checksum a755ea00feee: Download complete bebb4b693476: Verifying Checksum bebb4b693476: Download complete ef6ca6913068: Pull complete a755ea00feee: Pull complete 74b6f9ff9fd6: Pull complete bebb4b693476: Pull complete Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e Status: Downloaded newer image for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3510054725483948481.sh + ./stream/clients/python/scripts/test.sh +++ dirname ./stream/clients/python/scripts/test.sh ++ cd ./stream/clients/python/scripts ++ pwd + SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> + PY_VERSION=3.7 + NOXSESSION=lint,lint_setup_py,unit + <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh> +++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh> ++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> ++ pwd + SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> + PY_VERSION=3.7 + NOXSESSION=lint,lint_setup_py,unit + [[ 3.7 == 3* ]] ++ cat + TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf pip install nox nox' + docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf pip install nox nox' Collecting nox Downloading https://files.pythonhosted.org/packages/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl Collecting colorlog<5.0.0,>=2.6.1 Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl Collecting argcomplete<2.0,>=1.9.4 Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB) Collecting virtualenv>=14.0.0 Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB) Collecting importlib-metadata<2,>=0.23; python_version == "3.7" Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl Collecting zipp>=0.5 Downloading https://files.pythonhosted.org/packages/45/d8/f1e05f399573d2b4723dae1c1f1487dd2e7871c79ed32da741f49faaa226/zipp-2.0.0-py3-none-any.whl Collecting more-itertools Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB) Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, nox Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.0 WARNING: You are using pip version 19.3.1; however, version 20.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Running session lint Creating virtual environment (virtualenv) using python in .nox/lint pip install flake8 Command pip install flake8 failed with exit code 1: Traceback (most recent call last): File "/opt/bookkeeper/.nox/lint/bin/pip", line 8, in <module> sys.exit(main()) File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/opt/bookkeeper/.nox/lint/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module> from pip._internal.cli.req_command import RequirementCommand File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module> from pip._internal.operations.prepare import RequirementPreparer File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module> from pip._internal.distributions import ( File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module> from pip._internal.distributions.source import SourceDistribution ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py) Session lint failed. Running session lint_setup_py Creating virtual environment (virtualenv) using python in .nox/lint_setup_py pip install docutils Pygments Command pip install docutils Pygments failed with exit code 1: Traceback (most recent call last): File "/opt/bookkeeper/.nox/lint_setup_py/bin/pip", line 8, in <module> sys.exit(main()) File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module> from pip._internal.cli.req_command import RequirementCommand File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module> from pip._internal.operations.prepare import RequirementPreparer File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module> from pip._internal.distributions import ( File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module> from pip._internal.distributions.source import SourceDistribution ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py) Session lint_setup_py failed. Running session unit-3.7 Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7 pip install mock pytest pytest-cov Command pip install mock pytest pytest-cov failed with exit code 1: Traceback (most recent call last): File "/opt/bookkeeper/.nox/unit-3-7/bin/pip", line 8, in <module> sys.exit(main()) File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module> from pip._internal.cli.req_command import RequirementCommand File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module> from pip._internal.operations.prepare import RequirementPreparer File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module> from pip._internal.distributions import ( File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module> from pip._internal.distributions.source import SourceDistribution ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py) Session unit-3.7 failed. Ran multiple sessions: * lint: failed * lint_setup_py: failed * unit-3.7: failed Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected]
