See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/485/display/redirect>
Changes: ------------------------------------------ [...truncated 22.66 KB...] root 19370 2 0 05:18:34 0.0 0.0 [kworker/8:2] root 20360 2 0 23:35:42 0.0 0.0 [kworker/23:0] root 20469 2 0 11:45:34 0.0 0.0 [kworker/11:0] root 20634 2 0 09:49:39 0.0 0.0 [kworker/23:1] root 22349 2 0 00:45:56 0.0 0.0 [kworker/4:1] root 23102 1287 1248 09:55:55 0.6 0.0 nessusd -q root 23224 2 0 18:09:49 0.0 0.0 [kworker/18:2] root 23676 2 0 08:42:25 0.0 0.0 [kworker/9:2] root 23738 2 0 11:12:40 0.0 0.0 [kworker/7:0] root 24265 2 0 06:39:33 0.0 0.0 [kworker/1:2] root 26692 2 0 15:15:26 0.0 0.0 [kworker/6:0] root 27301 2 0 Feb 07 0.0 0.0 [kworker/13:2] root 28235 2 0 23:04:40 0.0 0.0 [kworker/1:0] root 28469 2 0 23:39:20 0.0 0.0 [kworker/13:1] root 28589 2 0 23:39:20 0.0 0.0 [kworker/17:2] root 30703 2 0 12:02:21 0.0 0.0 [kworker/u65:0] root 30828 2 0 10:11:25 0.0 0.0 [kworker/18:0] + docker info Client: Debug Mode: false Server: Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 7 Server Version: 19.03.5 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 init version: fec3683 Security Options: apparmor seccomp Profile: default Kernel Version: 4.15.0-76-generic Operating System: Ubuntu 18.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 24 Total Memory: 94.37GiB Name: asf926.gq1.ygridcore.net ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X Docker Root Dir: /var/lib/docker Debug Mode: false Username: mesosdockerbot Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false WARNING: No swap limit support + docker system prune -f Deleted Containers: 1fe7596e7349c93bce36fbaf460d30042bab3e4d529fe6ac54da96d47e1d1313 Total reclaimed space: 24.93MB + docker network prune -f --filter until=12h + echo 10362 + docker system events + docker pull quay.io/coreos/etcd:v3.3 v3.3: Pulling from coreos/etcd bdf0201b3a05: Pulling fs layer ab017ee82de8: Pulling fs layer 973721b7fcb1: Pulling fs layer 0c79b341c8ed: Pulling fs layer 1b304faacdc3: Pulling fs layer 5c94f9cbba07: Pulling fs layer 1b304faacdc3: Waiting 5c94f9cbba07: Waiting 0c79b341c8ed: Waiting 973721b7fcb1: Verifying Checksum 973721b7fcb1: Download complete bdf0201b3a05: Verifying Checksum bdf0201b3a05: Download complete ab017ee82de8: Verifying Checksum ab017ee82de8: Download complete 0c79b341c8ed: Verifying Checksum 0c79b341c8ed: Download complete bdf0201b3a05: Pull complete 5c94f9cbba07: Download complete 1b304faacdc3: Download complete ab017ee82de8: Pull complete 973721b7fcb1: Pull complete 0c79b341c8ed: Pull complete 1b304faacdc3: Pull complete 5c94f9cbba07: Pull complete Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411 Status: Downloaded newer image for quay.io/coreos/etcd:v3.3 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/jenkins7690765036687025209.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98 Status: Image is up to date for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7399339203781744951.sh + docker pull python:3.6 3.6: Pulling from library/python Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae Status: Image is up to date for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8663557452731310134.sh + docker pull python:3.5 3.5: Pulling from library/python Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0 Status: Image is up to date for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1611136826049488835.sh + docker pull python:2.7 2.7: Pulling from library/python Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22 Status: Image is up to date for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9026177228206491556.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB) Collecting virtualenv>=14.0.0 Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB) Collecting colorlog<5.0.0,>=2.6.1 Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB) Collecting argcomplete<2.0,>=1.9.4 Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB) Collecting py<2.0.0,>=1.4.0 Downloading py-1.8.1-py2.py3-none-any.whl (83 kB) Collecting importlib-metadata<2,>=0.23; python_version == "3.7" Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB) Collecting zipp>=0.5 Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB) Installing collected packages: virtualenv, colorlog, zipp, importlib-metadata, argcomplete, py, nox Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.2.0 Running session lint Creating virtual environment (virtualenv) using python in .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/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/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 virtual environment (virtualenv) using python in .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:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version Session lint_setup_py was successful. Running session unit-3.7 Creating virtual environment (virtualenv) using python3.7 in .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 ...................................................................F [100%] =================================== FAILURES =================================== ____________________________ test_get_routing_hash _____________________________ def test_get_routing_hash(): router = BytesHashRouter() > hash_key = router.getRoutingKey("foo") tests/unit/bookkeeper/common/router/test_router.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fcba2f5cc50> key = 'foo' def getRoutingKey(self, key): > return mmh3.hash64(key, seed=__SEED__, signed=True)[0] E TypeError: hash64() got an unexpected keyword argument 'signed' bookkeeper/common/router/router.py:30: TypeError =============================== warnings summary =============================== 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 since Python 3.3,and in 3.9 it will stop working elif isinstance(msg_or_dict, collections.Mapping): tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working (collections.MutableMapping, message.Message))): tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working if isinstance(value, (collections.MutableSequence, tuple)): -- Docs: https://docs.pytest.org/en/latest/warnings.html 1 failed, 67 passed, 3 warnings in 3.38s Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1 Session unit-3.7 failed. Ran multiple sessions: * lint: failed * lint_setup_py: success * unit-3.7: failed Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected]
