See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/63/display/redirect>
------------------------------------------ [...truncated 151.21 KB...] deleted: sha256:8c23375860548e5e5105149f08e8f3d19ee033422067288f93264d88e69e0047 deleted: sha256:0c2737082588dccd79db99fcacd3c8d3bc957e27bd37452db5d144ad97bd0b09 deleted: sha256:92ce98b65cfacd0c3d3ac80e813ee940d051f90368127a4ad8588693c476fdf1 deleted: sha256:48f801ab28a35c8d9cf1a5705ab939e25e3d499585076bf9d78b6e42c62e2ecc deleted: sha256:93c795ebb23975fafbfeeb72f0365916ebbf47b54480549c92c0f50880ef7795 Total reclaimed space: 802.3MB + docker network prune -f --filter 'name=testnetwork_*' + echo 53739 + docker pull quay.io/coreos/etcd:v3.3 + docker system events v3.3: Pulling from coreos/etcd 2bc1c5ee8605: Already exists 075a2fcf78bc: Pulling fs layer 35e5ff0bd5f1: Pulling fs layer ec90809a24af: Pulling fs layer 27b2768170ac: Pulling fs layer 52ad13cdb1de: Pulling fs layer 27b2768170ac: Waiting 52ad13cdb1de: Waiting ec90809a24af: Verifying Checksum ec90809a24af: Download complete 27b2768170ac: Download complete 52ad13cdb1de: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 075a2fcf78bc: Pull complete 35e5ff0bd5f1: Pull complete ec90809a24af: Pull complete 27b2768170ac: Pull complete 52ad13cdb1de: Pull complete Digest: sha256:00304fb914dbc8205275bc7630f376171344753a17ec3c81f0b424fa8f841d66 Status: Downloaded newer image for 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/jenkins9018880466928923198.sh + docker pull python:3.7 3.7: Pulling from library/python 54f7e8ac135a: Pulling fs layer d6341e30912f: Pulling fs layer 087a57faf949: Pulling fs layer 5d71636fb824: Pulling fs layer 0c1db9598990: Pulling fs layer bfb904e99f24: Pulling fs layer 78a3d3a96a32: Pulling fs layer 885a0ed92c89: Pulling fs layer dd7cc9ace242: Pulling fs layer 78a3d3a96a32: Waiting 885a0ed92c89: Waiting dd7cc9ace242: Waiting bfb904e99f24: Waiting 5d71636fb824: Waiting 0c1db9598990: Waiting 087a57faf949: Verifying Checksum 087a57faf949: Download complete d6341e30912f: Verifying Checksum d6341e30912f: Download complete 54f7e8ac135a: Verifying Checksum 54f7e8ac135a: Download complete 5d71636fb824: Verifying Checksum 5d71636fb824: Download complete bfb904e99f24: Verifying Checksum bfb904e99f24: Download complete 885a0ed92c89: Verifying Checksum 885a0ed92c89: Download complete 78a3d3a96a32: Verifying Checksum 78a3d3a96a32: Download complete dd7cc9ace242: Verifying Checksum dd7cc9ace242: Download complete 0c1db9598990: Verifying Checksum 0c1db9598990: Download complete 54f7e8ac135a: Pull complete d6341e30912f: Pull complete 087a57faf949: Pull complete 5d71636fb824: Pull complete 0c1db9598990: Pull complete bfb904e99f24: Pull complete 78a3d3a96a32: Pull complete 885a0ed92c89: Pull complete dd7cc9ace242: Pull complete Digest: sha256:3870d35b962a943df72d948580fc66ceaaee1c4fbd205930f32e0f0760eb1077 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6733417146786932462.sh + docker pull python:3.6 3.6: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 2eeb5ce9b924: Pulling fs layer a8c530378055: Pulling fs layer 687ed2fb2a0d: Pulling fs layer 620aea26e853: Pulling fs layer 687ed2fb2a0d: Verifying Checksum 687ed2fb2a0d: Download complete 2eeb5ce9b924: Verifying Checksum 2eeb5ce9b924: Download complete a8c530378055: Verifying Checksum a8c530378055: Download complete 620aea26e853: Verifying Checksum 620aea26e853: Download complete 2eeb5ce9b924: Pull complete a8c530378055: Pull complete 687ed2fb2a0d: Pull complete 620aea26e853: Pull complete Digest: sha256:fc34d5b6cf5d00a6139a74370dc27ddc9ce18303e2210d0f199a6050cc29aa45 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9063698917393130385.sh + docker pull python:3.5 3.5: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 2eeb5ce9b924: Already exists 5b17b6f4d4e0: Pulling fs layer f1abee0af377: Pulling fs layer 298587aefca5: Pulling fs layer f1abee0af377: Download complete 298587aefca5: Verifying Checksum 298587aefca5: Download complete 5b17b6f4d4e0: Download complete 5b17b6f4d4e0: Pull complete f1abee0af377: Pull complete 298587aefca5: Pull complete Digest: sha256:82c08ec0afced17b7a31d761d58428cced16f1d1bb903401690d2341ab6f0c61 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2748214212970524569.sh + docker pull python:2.7 2.7: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 220bd9a491ba: Pulling fs layer 97b15521fe5d: Pulling fs layer 1b44c1054690: Pulling fs layer 6b8b382a68d7: Pulling fs layer 6b8b382a68d7: Waiting 1b44c1054690: Verifying Checksum 1b44c1054690: Download complete 220bd9a491ba: Verifying Checksum 220bd9a491ba: Download complete 97b15521fe5d: Verifying Checksum 97b15521fe5d: Download complete 6b8b382a68d7: Verifying Checksum 6b8b382a68d7: Download complete 220bd9a491ba: Pull complete 97b15521fe5d: Pull complete 1b44c1054690: Pull complete 6b8b382a68d7: Pull complete Digest: sha256:1bb98a04d037d9766110499d36bf2f3a2aa43965b4aa345da91f6de75f3816d8 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5080236357217599244.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/6a/31/6d83de53dd55c1b541eae28479b011d10691dc8ac91ab34fd827ac44eca3/nox-2018.10.17-py2.py3-none-any.whl Collecting colorlog<4.0.0,>=2.6.1 (from nox) Downloading https://files.pythonhosted.org/packages/69/eb/58ae10d3c46a0195ffdd0e3943d255d0d5029d71e5457785ecd665bcf0f3/colorlog-3.1.4-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 (from nox) Downloading https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl (83kB) Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/7c/17/9b7b6cddfd255388b58c61e25b091047f6814183e1d63741c8df8dcd65a2/virtualenv-16.1.0-py2.py3-none-any.whl (1.9MB) Installing collected packages: colorlog, py, virtualenv, nox Successfully installed colorlog-3.1.4 nox-2018.10.17 py-1.7.0 virtualenv-16.1.0 Running session unit-3.7 Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7 pip install --upgrade mock pytest pytest-cov pip install --upgrade -e . py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit .................................................................... [100%] =============================== warnings summary =============================== .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from google.protobuf.pyext import _message .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:182 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:182: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working MutableMapping = collections.MutableMapping tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working elif isinstance(msg_or_dict, collections.Mapping): -- Docs: https://docs.pytest.org/en/latest/warnings.html 68 passed, 3 warnings in 3.70 seconds Session unit-3.7 was successful. Running session lint Creating virtualenv using python in /opt/bookkeeper/.nox/lint pip install --upgrade flake8 pip install --upgrade . flake8 bookkeeper tests bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters) bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters) bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters) bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters) bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters) tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters) Command flake8 bookkeeper tests failed with exit code 1 Session lint failed. Running session lint_setup_py Creating virtualenv using python in /opt/bookkeeper/.nox/lint_setup_py pip install --upgrade docutils Pygments python setup.py check --restructuredtext --strict running check /opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:470: UserWarning: Normalizing '4.9.0-alpha-2' to '4.9.0a2' normalized_version, Session lint_setup_py was successful. Ran multiple sessions: * unit-3.7: success * lint: failed * lint_setup_py: success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected]
