See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/189/display/redirect?page=changes>
Changes: [zhaijia] Migrate command `triggeraudit` ------------------------------------------ [...truncated 21.99 KB...] jenkins 28662 22341 22340 12:31:15 0.0 0.0 /bin/bash -xe /tmp/jenkins7075803222519960429.sh jenkins 28664 28662 22340 12:31:15 0.0 0.0 bash .test-infra/scripts/pre-docker-tests.sh jenkins 28670 28664 22340 12:31:15 0.0 0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd root 29484 11466 29484 Mar 05 0.1 0.0 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc root 30812 11112 11109 19:14:42 0.3 0.0 nessusd -q + docker system prune -f Deleted Images: deleted: sha256:4808bd7da19cf0ca51cc29f9a39fe08e0988920aef7f86fc13e29eb961924d7b deleted: sha256:bd5146f9e4ae1b79b83c2abef82eaef052a19b316adda15f8de251bbcf9acaef deleted: sha256:cd2af8c9fe5933fe8c36feb9f935ad7e5b6a2180f52f91bca04f89d59066c4a7 deleted: sha256:0917ed9a32186504cba6c4961756223b0791a12b5caee701ad2b84972f0b030e deleted: sha256:52de4e6388334fa76de94a283f2a476d9176c69e50aac593b6101f12f3b81aa5 deleted: sha256:d6c20d60a3e17784fbaf68fd326c0d9d7a781d48777bdde7f9d778d7e87f6b72 deleted: sha256:2191740b22c9926e158b16c0c3ae8b72c8f35029dfe8f47109117b8f0f7bd9f2 deleted: sha256:05becec88818c976a08a21eaa562a4da46ca990c3580f5fde2371a8e78bce759 deleted: sha256:ac3835bae6d65d2c606384ce1a8ede4a4e7ac707c1cf2b68fe7daa3325502367 deleted: sha256:6bc0dd40f87739a6ab60116feb2f6206726c32518756382ff834af13d51f20b6 deleted: sha256:56efa9c89d5bba64b13328a887bd2c970d5dc856f8870587cb618cf2e848c031 deleted: sha256:bcc0754e5b8bf773e371c93c20d496acc1b799f05c5e97d96c45088bb949d7aa Total reclaimed space: 805.2MB + docker network prune -f --filter 'name=testnetwork_*' + echo 28704 + 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 ec90809a24af: Waiting 52ad13cdb1de: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 2bc1c5ee8605: Pull complete 52ad13cdb1de: Verifying Checksum 52ad13cdb1de: Download complete ec90809a24af: Download complete 27b2768170ac: Verifying Checksum 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/jenkins7306553642855241982.sh + docker pull python:3.7 3.7: Pulling from library/python e79bb959ec00: Already exists d4b7902036fe: Already exists 1b2a72d4e030: Already exists d54db43011fd: Already exists 69d473365bb3: Pulling fs layer 7dc3a6a0e509: Pulling fs layer 68cd774d0852: Pulling fs layer 2ef86095a118: Pulling fs layer 42c091edeef0: Pulling fs layer 2ef86095a118: Waiting 42c091edeef0: Waiting 7dc3a6a0e509: Verifying Checksum 7dc3a6a0e509: Download complete 68cd774d0852: Verifying Checksum 68cd774d0852: Download complete 2ef86095a118: Download complete 42c091edeef0: Verifying Checksum 42c091edeef0: Download complete 69d473365bb3: Verifying Checksum 69d473365bb3: Download complete 69d473365bb3: Pull complete 7dc3a6a0e509: Pull complete 68cd774d0852: Pull complete 2ef86095a118: Pull complete 42c091edeef0: Pull complete Digest: sha256:ef316cc13b7578f8aae023ab6ba538520f2cf618ed4d239c63925a9fccbe254b Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1345276933898033916.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: 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:976cd81b859b13ef6c1366517f14bd13754f535fdb3eb41c252214fdd3245dde Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4684807470786095816.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/jenkins5553912422491738669.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 1ea7f78e4894: Download complete 67522b1a5c2d: Verifying Checksum 67522b1a5c2d: Download complete 7501bff60af5: Verifying Checksum 7501bff60af5: Download complete e5df41b48b1f: Verifying Checksum e5df41b48b1f: Download complete 67522b1a5c2d: Pull complete 7501bff60af5: Pull complete 1ea7f78e4894: Pull complete e5df41b48b1f: Pull complete Digest: sha256:6fd8ed4654b6303e0f4ae8fda1ca1f08dc189b4f693a0ec2ca5af8a2be766087 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8500458642249778982.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/35/2b/47c30d3291f26fb68421fc3472875bf6ffbb4d6a507a0c8d81760a80f258/nox-2019.4.11-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-2019.4.11 py-1.8.0 virtualenv-16.4.3 Running session lint Creating virtualenv using python in /opt/bookkeeper/.nox/lint pip install flake8 pip install . 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 docutils Pygments python setup.py check --restructuredtext --strict running check /opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0' normalized_version, Session lint_setup_py was successful. Running session unit-3.7 Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7 pip install mock pytest pytest-cov pip install -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.32 seconds Session unit-3.7 was successful. Ran multiple sessions: * lint: failed * lint_setup_py: success * unit-3.7: 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]
