See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/145/display/redirect?page=changes>
Changes: [guosijie] Use the same thread to monitor ledger and index directories ------------------------------------------ [...truncated 29.04 KB...] deleted: sha256:d9cd93d9779cf1a7cd26359ce76f96c804a416fc0183b270459720ddf8cb02ea deleted: sha256:a83379e2fa202ccfc64fc4f0446c0bb40c0a832e423d51ae1696f812a408e060 deleted: sha256:3dcc27fd100b60cf628c59f447c602c008e7700bb21be7107ef5921895cdf369 deleted: sha256:3018726c7980a17ff03c2581505c1bb284135f9393f18afd9c045aebc44ccf7a deleted: sha256:ee91349c8c6b8b6e084d906102bd7a906e0c79977ce79b6afc85c0868a9ae9f9 deleted: sha256:f59ddf7a24c4ebfe70244dea992977c4d6cdefd6ef2bfcd42493509a053e5cc1 deleted: sha256:981e8f83d5f4852403e3b4d024d7d23356f587ff146845ac52e3ba81e9e7edd8 deleted: sha256:55469dcf08595b56e176e134da3d6c17426408af0ec4f374efd4fa840863a155 deleted: sha256:33a7a787a7440cc7e2b080c6d4e69b01775293aa3530f7de7df67370d13f46b1 deleted: sha256:4ffb915fba00f9c858468b6b317b82e805904ca117da133688ed3355a660bc85 deleted: sha256:14c39297bdbb9bd5f6cb3460e4a42d8a3789d1e438e382bef47f16bbb10bb8ae deleted: sha256:ae2f2348706ac7be6458b2683618006ee66044e19e53e6563de6c0f5910fb363 deleted: sha256:1dff8c1ad32656b33a7d7f4682750ad03036cdcf54f18eda2caf880cdcbfaba8 deleted: sha256:b264f3b0de3ddd8599ddccae7a6242c0fee356c6e89ebe1bc921b1006ddbb2fb deleted: sha256:38b4364cfdeb14d57ea438c45d9b8878f626acec20fd442f343956ff0750fbb8 deleted: sha256:033c375a808864f7bc7cd23639e259213d7385914cadf2f546ae1b4f4548b8c7 deleted: sha256:7671bd5bddcac8b38fdaef9ff4d02fab82eaeb6efaacb99a983dc44897e3cc05 deleted: sha256:b7402e5b0f7d9aae5214300f3bf45fa7e56e1b6080c0e0bbcf7ab6c1493f1553 deleted: sha256:cbb5175575249ce913f276c19b7ff9a5ec952b215acae33a9bb3be45a86199ab Total reclaimed space: 879.7MB + docker network prune -f --filter 'name=testnetwork_*' + echo 18786 + 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 ec90809a24af: Waiting 52ad13cdb1de: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 2bc1c5ee8605: Pull complete 52ad13cdb1de: Download complete ec90809a24af: Download complete 27b2768170ac: 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/jenkins8159198324015622006.sh + docker pull python:3.7 3.7: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 49ea0d2b5c48: Pulling fs layer f70a6aa0163b: Pulling fs layer 4b9b78e41a03: Pulling fs layer 9e9b4c0fa8a2: Pulling fs layer c55a3146e261: Pulling fs layer c55a3146e261: Waiting 9e9b4c0fa8a2: Waiting f70a6aa0163b: Verifying Checksum f70a6aa0163b: Download complete 4b9b78e41a03: Verifying Checksum 4b9b78e41a03: Download complete 9e9b4c0fa8a2: Download complete c55a3146e261: Verifying Checksum c55a3146e261: Download complete 49ea0d2b5c48: Verifying Checksum 49ea0d2b5c48: Download complete 49ea0d2b5c48: Pull complete f70a6aa0163b: Pull complete 4b9b78e41a03: Pull complete 9e9b4c0fa8a2: Pull complete c55a3146e261: Pull complete Digest: sha256:235896d5fa8b80e374b0dedd35a67732ef131a322cc7c975da5e347496967bcc Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4426946865342027896.sh + docker pull python:3.6 3.6: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 49ea0d2b5c48: Already exists 69d0cd7346f1: Pulling fs layer 116c857dab9a: Pulling fs layer 09e8652e5b84: Pulling fs layer 125ecfd5d800: Pulling fs layer 125ecfd5d800: Waiting 69d0cd7346f1: Verifying Checksum 69d0cd7346f1: Download complete 116c857dab9a: Verifying Checksum 116c857dab9a: Download complete 125ecfd5d800: Download complete 69d0cd7346f1: Pull complete 116c857dab9a: Pull complete 09e8652e5b84: Pull complete 125ecfd5d800: Pull complete Digest: sha256:eb96788368c5415e4e5f04046b5df4ef25253fc300e0596f81ab1d5aeac0cccd Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9198065513061183080.sh + docker pull python:3.5 3.5: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 49ea0d2b5c48: Already exists 69d0cd7346f1: Already exists 8457ec7d5bcd: Pulling fs layer 8fdf8315715c: Pulling fs layer 1621075a82ce: Pulling fs layer 8fdf8315715c: Verifying Checksum 8fdf8315715c: Download complete 1621075a82ce: Verifying Checksum 1621075a82ce: Download complete 8457ec7d5bcd: Verifying Checksum 8457ec7d5bcd: Download complete 8457ec7d5bcd: Pull complete 8fdf8315715c: Pull complete 1621075a82ce: Pull complete Digest: sha256:7d21e95954aa0c97932e80688af3527eb3bccb14f3ad2c9b5fb7ce10a6d8b9fb Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins541167045268431203.sh + docker pull python:2.7 2.7: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 49ea0d2b5c48: Already exists 2f697d8eb8c9: Pulling fs layer 19e57c082018: Pulling fs layer 62a638f5d7ed: Pulling fs layer 5bceaf33fb03: Pulling fs layer 5bceaf33fb03: Waiting 62a638f5d7ed: Verifying Checksum 62a638f5d7ed: Download complete 19e57c082018: Verifying Checksum 19e57c082018: Download complete 2f697d8eb8c9: Verifying Checksum 2f697d8eb8c9: Download complete 5bceaf33fb03: Verifying Checksum 5bceaf33fb03: Download complete 2f697d8eb8c9: Pull complete 19e57c082018: Pull complete 62a638f5d7ed: Pull complete 5bceaf33fb03: Pull complete Digest: sha256:39224960015b9c0fce12e08037692e8a4be2e940e73a36ed0c86332ce5ce325b Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8599565616103100407.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 4.19 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/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) 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) 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: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]
