See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/34/display/redirect?page=changes>
Changes: [guosijie] Fixed Auth with v2 protocol [guosijie] Fix indentation in BP-34 doc [guosijie] Fix bugs in DefaultEnsemblePlacementPolicy ------------------------------------------ [...truncated 213.05 KB...] deleted: sha256:97b57bc16aeae8ca664846f613781cfdbd6e3d88c16302630b3d459685b7f714 deleted: sha256:69ad00b816e997b2aededab4f40414e8e1c7891b4af2fd609a124965ddedb38d deleted: sha256:f9cda81cfefb3dd09486555c440e99aa4eaa7af54ee64260fee57477b792caef Total reclaimed space: 318.9MB + docker network prune -f --filter 'name=testnetwork_*' + echo 7377 + docker system events + docker pull quay.io/coreos/etcd:v3.3 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 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 27b2768170ac: Verifying Checksum 27b2768170ac: Download complete 52ad13cdb1de: Verifying Checksum 52ad13cdb1de: 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/jenkins222442953187552259.sh + docker pull python:3.7 3.7: Pulling from library/python bc9ab73e5b14: Pulling fs layer 193a6306c92a: Pulling fs layer e5c3f8c317dc: Pulling fs layer a587a86c9dcb: Pulling fs layer 72744d0a318b: Pulling fs layer 3493e487c18d: Pulling fs layer a89e0510fd87: Pulling fs layer 2100d277cd6f: Pulling fs layer b61a0d6fb492: Pulling fs layer a587a86c9dcb: Waiting 72744d0a318b: Waiting 3493e487c18d: Waiting 2100d277cd6f: Waiting b61a0d6fb492: Waiting a89e0510fd87: Waiting e5c3f8c317dc: Verifying Checksum e5c3f8c317dc: Download complete 193a6306c92a: Verifying Checksum 193a6306c92a: Download complete bc9ab73e5b14: Download complete a587a86c9dcb: Verifying Checksum a587a86c9dcb: Download complete 3493e487c18d: Verifying Checksum 3493e487c18d: Download complete 2100d277cd6f: Verifying Checksum 2100d277cd6f: Download complete a89e0510fd87: Verifying Checksum a89e0510fd87: Download complete b61a0d6fb492: Verifying Checksum b61a0d6fb492: Download complete 72744d0a318b: Verifying Checksum 72744d0a318b: Download complete bc9ab73e5b14: Pull complete 193a6306c92a: Pull complete e5c3f8c317dc: Pull complete a587a86c9dcb: Pull complete 72744d0a318b: Pull complete 3493e487c18d: Pull complete a89e0510fd87: Pull complete 2100d277cd6f: Pull complete b61a0d6fb492: Pull complete Digest: sha256:a837aefef8f2553789bc70436621160af4da65d95b0fb02d5032557f887d0ca5 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1042181697334632105.sh + docker pull python:3.6 3.6: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Already exists 6598fc9d11d1: Pulling fs layer 770079cf7a7e: Pulling fs layer 03c4d24b3523: Pulling fs layer aaa91e2585ce: Pulling fs layer aaa91e2585ce: Waiting 03c4d24b3523: Download complete 6598fc9d11d1: Verifying Checksum 6598fc9d11d1: Download complete 770079cf7a7e: Verifying Checksum 770079cf7a7e: Download complete aaa91e2585ce: Verifying Checksum 6598fc9d11d1: Pull complete 770079cf7a7e: Pull complete 03c4d24b3523: Pull complete aaa91e2585ce: Pull complete Digest: sha256:be8258268093afd16846564e3963af3059fd341e16677d7cd0bc157f0d7fcdfa Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5719938740528874931.sh + docker pull python:3.5 3.5: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Already exists 6598fc9d11d1: Already exists 74d2ee7772b2: Pulling fs layer ab2e66176e69: Pulling fs layer 2c4175ee7cad: Pulling fs layer ab2e66176e69: Verifying Checksum ab2e66176e69: Download complete 2c4175ee7cad: Verifying Checksum 2c4175ee7cad: Download complete 74d2ee7772b2: Verifying Checksum 74d2ee7772b2: Download complete 74d2ee7772b2: Pull complete ab2e66176e69: Pull complete 2c4175ee7cad: Pull complete Digest: sha256:ef14a52ee8bacfa498b46ef1620ae3da16b0cbda8286b1f0a1a81aa71ac3a818 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7585530262076189223.sh + docker pull python:2.7 2.7: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Already exists 23bf491a4f84: Pulling fs layer 7f3410abb2aa: Pulling fs layer 08c5081d43e2: Pulling fs layer 80a779c2daa3: Pulling fs layer 80a779c2daa3: Waiting 08c5081d43e2: Verifying Checksum 08c5081d43e2: Download complete 23bf491a4f84: Verifying Checksum 23bf491a4f84: Download complete 7f3410abb2aa: Verifying Checksum 7f3410abb2aa: Download complete 80a779c2daa3: Verifying Checksum 80a779c2daa3: Download complete 23bf491a4f84: Pull complete 7f3410abb2aa: Pull complete 08c5081d43e2: Pull complete 80a779c2daa3: Pull complete Digest: sha256:caeeb98fc920f4f7146c929fee29b35b7c8c37e23ca194be3bb48e54c9ec8527 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2046388752534352583.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 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) 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 Installing collected packages: py, virtualenv, colorlog, 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.27 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/namespaces.py:62:80: E501 line too long (87 > 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) 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:398: 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]
