See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/8/display/redirect?page=changes>
Changes: [guosijie] Set ConnectionExpired Listener to MetadataClientDriver in AR ------------------------------------------ [...truncated 212.38 KB...] deleted: sha256:0e5efbb8fcc1a3d6a8b8a01db27d164d5ca4410e71c8d05c3622f9a43de582d5 deleted: sha256:6375d239ca612d4a42c87ab3da6df3f6ca052344a3bb618a49da475eb629cacb deleted: sha256:02a57801336562a96560e1d55bd0d4c4cf7a4483c4f84b2aed957a8321bc429c deleted: sha256:cd0e378388417b293b2b3fbb8967cc7f9a73c8f690f8c19440ad1c7670ea4c17 deleted: sha256:4fed3f0795ceca4a7cf34e2d2bdd0a4453875eb721f12978e95ffb4b2ad931ef deleted: sha256:29da7408bb60608a6dad4c11f80a8817b42045a65918bcc2bca5f5eb3c25d682 deleted: sha256:68c2f73aa4bbe78049e22f9f5dc3d5b84c5a14a75f60a7697d98a6e2f7af138c deleted: sha256:2b7c0f318cb1b4160195ef38e9f28b68f74af4ecd52ddb6578d69d7f4aec20ba deleted: sha256:9ccdefbc4bb9da39292f3a4ae59b915110557906098d651138b17fb475c28c3a deleted: sha256:299a5e516fee8598cc8cd1a8f10198fb8b9abde74a41077890b505bd71cbe65a deleted: sha256:067d80614a7d86a92fdf97b29eb77af3bf11a5f424fce7798c4c179f5a499e40 deleted: sha256:ab21403f8a4050cb0e9cdfd0b38cd78968d3f2050da98667a6504c4f782de6ad deleted: sha256:014de900dc328d6386bb428429914bc5fe1b6d453c91b9026dc748984c3ba40f deleted: sha256:2fd05b39e7e060d61e8a28e1cebb7c87600a18a8b0883ce4db0653a82151893d deleted: sha256:8810fc98ab4b5eff3643801219b059f8cf507d2cd88d7ff7992a2bdb055ae5e7 deleted: sha256:e1037720d697fcb80328e060bb72e59d752d0afcde7da65b866377186d8b74bd deleted: sha256:a53b53039ce21cc458ec51be6a3909f41dbc52a69e1a6ec9d3eacf474730df12 deleted: sha256:b87f37a6009a25ff88cad8cbb56e39645531862f8fdde85b0fff0eecd47d18d7 deleted: sha256:1257bf2b8f17286f3d496ce45c11c4f6a799ef0bf47ce5ee87720757c6276933 deleted: sha256:1c86f34fe6e1cf95c06e5e9d1985767e5c956fb4bd752311f09ed9534519418b deleted: sha256:a353661b7e0067c6aa7ff933c4b78fead339d2ba91892407db7788ea50d6007e deleted: sha256:7cc6d37d64809ff074c09bf43ada281be8b99308de7873720125b5fad15581c1 deleted: sha256:71aeef3f98d3e615b9a0af0aa607c0b1afe1e89b814140ab2675d6ed313b349d deleted: sha256:a45e9532919411e732d2c8fab8e5a45897a6c08a4ee6aa38f9d1dd7c8cc03460 deleted: sha256:7b43628bac7b20935b80c5a7a267f6d55c7692bfdbd255a123dd30a2d8608d9c deleted: sha256:db10984cccc89b45c6bfd50e4d43a75da748fed398ffa0e3a26b361ab01a159a deleted: sha256:dc25049dfc002db22a40e5ea9e747de0f2f6a43a2a9173e6f9388cbc1a918f9a deleted: sha256:ba3eb29abcaa9bb93c7a7c1f51d099e8630fa585c167e9873e7659a54c3d62ee deleted: sha256:10a7a3af54ffdac3b626d4c5ccb710d98d043cc48059eb8212a8cf59afcf6480 deleted: sha256:34a7636d975d2e4aa71bc7d40b8b2b278db34e9c5e646aeba6ab1ab7177be514 deleted: sha256:59f824871b8437f2f9961579ce5a957c38f8ed047d1b03eea42cf196b6aff84a deleted: sha256:59894f1f55afac03b4f23d06057d761128e030bfd05ab51d3fe896289d8b0fae deleted: sha256:0bf7a6eb2bd9923214272a34b90d6fb61f5a5d3894670a2952cd8f836359d8f6 deleted: sha256:075d44fc8bf1f402f7f2d021c8875a24719886aa91d6409a6573d106aa306774 deleted: sha256:cfd51bfb323846309643925492efc2752099dacb8a6ac967cbfc1a67ce448a51 deleted: sha256:32673fa1090d4b98b2d3027277d360777f58da794e5a5a9bb61f443230a8e156 deleted: sha256:4b28d6acbeecc778001f369339a9f3a7e7fb3a1d0d914c9f0e5ffd454f1b54ae deleted: sha256:47037f4c286e7926cdab16b2559ef01a35ece3b3f73b543c3c4c68c248221826 deleted: sha256:e19e1c1abfd86aef1fe671eaf1431f27007d889e34cdee69d594ecdc53250ce1 Total reclaimed space: 1.741GB + docker network prune -f --filter 'name=testnetwork_*' + echo 576 + docker system events 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/jenkins1348822337048563898.sh + docker pull python:3.7 3.7: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Pulling fs layer 3493e487c18d: Pulling fs layer ff536859af1d: Pulling fs layer 3427540e9cce: Pulling fs layer ddc423e256e5: Pulling fs layer 3427540e9cce: Waiting ddc423e256e5: Waiting 3493e487c18d: Verifying Checksum 3493e487c18d: Download complete ff536859af1d: Verifying Checksum ff536859af1d: Download complete 3427540e9cce: Verifying Checksum 3427540e9cce: Download complete ddc423e256e5: Verifying Checksum ddc423e256e5: Download complete 72744d0a318b: Verifying Checksum 72744d0a318b: Download complete 72744d0a318b: Pull complete 3493e487c18d: Pull complete ff536859af1d: Pull complete 3427540e9cce: Pull complete ddc423e256e5: Pull complete Digest: sha256:10608fb357a18383f792efbf7472ec6d2e166dad62efc0d7c409ef2777aaafd0 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7990986272461067640.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 4b1d9004d467: Pulling fs layer 93612f47cdc3: Pulling fs layer 1bc4b4b50870: Pulling fs layer 1bc4b4b50870: Waiting 93612f47cdc3: Verifying Checksum 93612f47cdc3: Download complete 6598fc9d11d1: Verifying Checksum 6598fc9d11d1: Download complete 1bc4b4b50870: Verifying Checksum 1bc4b4b50870: Download complete 4b1d9004d467: Verifying Checksum 4b1d9004d467: Download complete 6598fc9d11d1: Pull complete 4b1d9004d467: Pull complete 93612f47cdc3: Pull complete 1bc4b4b50870: Pull complete Digest: sha256:a2e09f0ff0b5b882f372d78be242dffe2e89ccf6273d86cf8f60fcc751741bde Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6491335156239302403.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/jenkins6289453942426223887.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/jenkins269673667702617667.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/b5/a7/1dd0f59ce0bf3e79abd7eefebaccbd1a11306d26197357ec2fea6d46dec4/nox-2018.10.15-py2.py3-none-any.whl Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.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 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) Installing collected packages: virtualenv, colorlog, py, nox Successfully installed colorlog-3.1.4 nox-2018.10.15 py-1.7.0 virtualenv-16.0.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 ==================================== ERRORS ==================================== ____________ ERROR collecting tests/unit/bookkeeper/test_futures.py ____________ tests/unit/bookkeeper/test_futures.py:18: in <module> from bookkeeper.kv import futures, exceptions bookkeeper/kv/__init__.py:15: in <module> from bookkeeper.kv.client import Client bookkeeper/kv/client.py:22: in <module> from bookkeeper.admin.namespace import Namespace bookkeeper/admin/__init__.py:15: in <module> from bookkeeper.admin.client import Client bookkeeper/admin/client.py:27: in <module> __version__ = pkg_resources.get_distribution('bookkeeper').version .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:476: in get_distribution dist = get_provider(dist) .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:352: in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:895: in require needed = self.resolve(parse_requirements(requirements)) .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:781: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'bookkeeper' distribution was not found and is required by the application =============================== warnings summary =============================== /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 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:340: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working collections.MutableSequence.register(BaseContainer) -- Docs: https://docs.pytest.org/en/latest/warnings.html !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! 2 warnings, 1 error in 1.58 seconds Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 2 Session unit-3.7 failed. Running session lint Creating virtualenv using python in /opt/bookkeeper/.nox/lint pip install --upgrade flake8 pip install --upgrade . flake8 bookkeeper tests /opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible nested set at position 1 EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]') Session lint was successful. 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-0' to '4.9.0a0' normalized_version, Session lint_setup_py was successful. Ran multiple sessions: * unit-3.7: failed * lint: success * lint_setup_py: success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected]
