See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/174/display/redirect?page=changes>
Changes: [guosijie] Migrate command `listledgers` [guosijie] Migrate command `metadataformat` [guosijie] ISSUE #2020: close db properly to avoid open RocksDB failure at the [guosijie] Migrate command `deleteledger` [guosijie] Migrate command `lostbookierecoverydelay` ------------------------------------------ [...truncated 31.57 KB...] root 31851 2 0 07:10:51 0.0 0.0 [kworker/u48:0] root 32006 2 0 11:56:25 0.0 0.0 [kworker/9:1] + docker system prune -f Total reclaimed space: 0B + docker network prune -f --filter 'name=testnetwork_*' + echo 14962 + docker system events + docker pull quay.io/coreos/etcd:v3.3 v3.3: Pulling from coreos/etcd 2bc1c5ee8605: Pulling fs layer 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: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 2bc1c5ee8605: Pull complete ec90809a24af: Download complete 27b2768170ac: Download complete 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/jenkins6289423516851050373.sh + docker pull python:3.7 3.7: Pulling from library/python e79bb959ec00: Pulling fs layer d4b7902036fe: Pulling fs layer 1b2a72d4e030: Pulling fs layer d54db43011fd: Pulling fs layer 69d473365bb3: Pulling fs layer 7dc3a6a0e509: Pulling fs layer 68cd774d0852: Pulling fs layer 2ef86095a118: Pulling fs layer 42c091edeef0: Pulling fs layer 69d473365bb3: Waiting d54db43011fd: Waiting 7dc3a6a0e509: Waiting 42c091edeef0: Waiting 2ef86095a118: Waiting d4b7902036fe: Verifying Checksum d4b7902036fe: Download complete 1b2a72d4e030: Verifying Checksum 1b2a72d4e030: Download complete e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete 7dc3a6a0e509: Verifying Checksum 7dc3a6a0e509: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete 2ef86095a118: Download complete 68cd774d0852: Verifying Checksum 68cd774d0852: Download complete 42c091edeef0: Verifying Checksum 42c091edeef0: Download complete 69d473365bb3: Verifying Checksum 69d473365bb3: Download complete e79bb959ec00: Pull complete d4b7902036fe: Pull complete 1b2a72d4e030: Pull complete d54db43011fd: Pull complete 69d473365bb3: Pull complete 7dc3a6a0e509: Pull complete 68cd774d0852: Pull complete 2ef86095a118: Pull complete 42c091edeef0: Pull complete Digest: sha256:7e6c00cc553fdce06c1bcfcbf34c73a0f3623a8fc9ce88c8fb91671f2cbc0dab Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5765824033971351084.sh + docker pull python:3.6 3.6: Pulling from library/python e79bb959ec00: Already exists d4b7902036fe: Already exists 1b2a72d4e030: Already exists d54db43011fd: Already exists 69d473365bb3: Already exists 35b4aebab92b: Pulling fs layer 60ddbccc0359: Pulling fs layer 0b3c337d0c3e: Pulling fs layer 2b75f9fe405b: Pulling fs layer 2b75f9fe405b: Waiting 0b3c337d0c3e: Verifying Checksum 0b3c337d0c3e: Download complete 35b4aebab92b: Verifying Checksum 35b4aebab92b: Download complete 60ddbccc0359: Verifying Checksum 60ddbccc0359: Download complete 2b75f9fe405b: Verifying Checksum 2b75f9fe405b: Download complete 35b4aebab92b: Pull complete 60ddbccc0359: Pull complete 0b3c337d0c3e: Pull complete 2b75f9fe405b: Pull complete Digest: sha256:fcbf363c285f331894b33f2577e0426182b989c750133a989abaaa4edea324e9 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2577830971367567215.sh + docker pull python:3.5 3.5: Pulling from library/python e79bb959ec00: Already exists d4b7902036fe: Already exists 1b2a72d4e030: Already exists d54db43011fd: Already exists 69d473365bb3: Already exists 35b4aebab92b: Already exists 83a8b8905f6c: Pulling fs layer 618457f5476e: Pulling fs layer 9b4f56490eea: Pulling fs layer 618457f5476e: Download complete 9b4f56490eea: Verifying Checksum 9b4f56490eea: Download complete 83a8b8905f6c: Verifying Checksum 83a8b8905f6c: Download complete 83a8b8905f6c: Pull complete 618457f5476e: Pull complete 9b4f56490eea: Pull complete Digest: sha256:92d649f4a662abbfb223f9327b30b28b2548e18b577e0143775946e9fbde168a Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3786799322331851637.sh + docker pull python:2.7 2.7: Pulling from library/python e79bb959ec00: Already exists d4b7902036fe: Already exists 1b2a72d4e030: Already exists d54db43011fd: Already exists 69d473365bb3: Already exists 67522b1a5c2d: Pulling fs layer 7501bff60af5: Pulling fs layer 1ea7f78e4894: Pulling fs layer e5df41b48b1f: Pulling fs layer e5df41b48b1f: Waiting 1ea7f78e4894: Verifying Checksum 1ea7f78e4894: Download complete 7501bff60af5: Verifying Checksum 7501bff60af5: Download complete 67522b1a5c2d: Verifying Checksum 67522b1a5c2d: Download complete e5df41b48b1f: Verifying Checksum e5df41b48b1f: Download complete 67522b1a5c2d: Pull complete 7501bff60af5: Pull complete 1ea7f78e4894: Pull complete e5df41b48b1f: Pull complete Digest: sha256:adb7fbf5bf6ee1312ff8fa1d4c813863b5b79b286f06eea3521b6e09822889a1 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins521106724061826297.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/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 (from nox) Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB) Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/33/5d/314c760d4204f64e4a968275182b7751bd5c3249094757b39ba987dcfb5a/virtualenv-16.4.3-py2.py3-none-any.whl (2.0MB) Installing collected packages: colorlog, py, virtualenv, nox Successfully installed colorlog-3.2.0 nox-2018.10.17 py-1.8.0 virtualenv-16.4.3 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/descriptor.py:47 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47: 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/well_known_types.py:788 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working collections.MutableMapping.register(Struct) 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.24 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/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) 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) 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:475: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0' 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]
