See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/45/display/redirect?page=changes>
Changes: [github] Remove LedgerMetadata constructors except one for builder [github] Make most LedgerMetadata fields final [guosijie] Remove duplication logic for 'minNumRacksPerWriteQuorum' handling in [guosijie] Move utility method from LedgerMetadata to test [ivank] [SCRIPTS] improve bookkeeper script to better handle standalone command [github] Remove LedgerMetadata methods modifying ensembles ------------------------------------------ [...truncated 83.16 KB...] root 22179 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22180 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22181 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22182 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22183 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22184 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22185 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22186 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22187 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22188 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22189 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22190 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22191 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22192 2 0 Jul 25 0.0 0.0 [jfsCommit] root 22193 2 0 Jul 25 0.0 0.0 [jfsSync] root 22212 2 0 Jul 25 0.0 0.0 [bioset] root 23289 2 0 Nov 22 0.0 0.0 [kworker/0:1] jenkins 23368 21651 26519 Sep 11 104 3.7 /usr/local/asfpackages/java/jdk1.8.0_172/jre/bin/java -Xmx2048m -jar /home/jenkins/jenkins-slave/workspace/sling-org-apache-sling-distribution-it-1.8/target/dependency/org.apache.sling.launchpad-8.jar -p 39256 -Dsling.run.modes=publish,notshared root 23494 1132 23494 Jul 26 0.0 0.0 /usr/lib/snapd/snapd root 24700 2 0 16:00:04 0.0 0.0 [kworker/7:1] root 24725 2 0 16:00:04 0.0 0.0 [kworker/13:0] root 24726 2 0 Nov 22 0.0 0.0 [kworker/12:0] root 25983 1 25982 Oct 30 0.0 0.0 python2.7 loggy.py --daemonize --user=root --group=root root 26032 1 26032 Jul 27 0.2 0.1 /usr/bin/dockerd --raw-logs root 26064 26032 26064 Jul 27 0.0 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 snmp 26269 1 26268 Oct 16 0.0 0.0 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -p /var/run/snmpd.pid root 27829 1 27829 Nov 07 0.0 0.0 /usr/sbin/sshd -D root 28687 2 0 04:51:40 0.0 0.0 [kworker/1:2] + docker system prune -f Deleted Containers: b5e197d7dd71056c0987bc0e3b2a75256a3e6533e8c6a516e18351fcc28a3031 Deleted Networks: 5e605119-fe8e-4f5a-9152-b53a43d8f992 fbef86c0-8828-4f4d-8853-f6fa332afc35 48ea67f9-1aab-4fcd-ac47-79ffb3fd0ffb fec5b122-3a52-43d9-98d9-13d386db5e82 a71d86d2-0364-47cc-97df-99e46b44cc3e Deleted Images: deleted: sha256:ed842c70e653f5482862fe8a8675fbe02c4be4ed6feccc92fb28ebc3a5f1a77a deleted: sha256:09931d111f4fd2ae2f3a9ea74172b223df5b093b902c56d3ee254a4c83001635 deleted: sha256:c93036c7e35a6d8f5c556a7a0cfc7258ac19a3e32030f39cca5a1c8dd8aaad32 deleted: sha256:98dc6f28d7cf1ca1cd514c8843d4b364efe4692fbc28f2bac93dcdf3a5096e25 deleted: sha256:2539bc6ac5b25599a7dd2edb018b6c045a58144095282b27b8961d2c5efd8a36 deleted: sha256:e1d050eeff94953565bfdd007dc4217ede4929a01af5e0c22d8215bf31da8cd7 deleted: sha256:d0bcbf2c58efda781adf1da24e1b689b02db268b96f51a9067e92724b8a69921 Total reclaimed space: 185.9MB + docker network prune -f --filter 'name=testnetwork_*' + echo 14266 + docker system events + docker pull quay.io/coreos/etcd:v3.3 v3.3: Pulling from coreos/etcd 2bc1c5ee8605: Already exists 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: Verifying Checksum ec90809a24af: Download complete 27b2768170ac: Download complete 52ad13cdb1de: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 075a2fcf78bc: Pull complete 35e5ff0bd5f1: Download 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/jenkins1455958500684233408.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:3870d35b962a943df72d948580fc66ceaaee1c4fbd205930f32e0f0760eb1077 Status: Image is up to date for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins969747205424196273.sh + docker pull python:3.6 3.6: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 2eeb5ce9b924: Pulling fs layer a8c530378055: Pulling fs layer 687ed2fb2a0d: Pulling fs layer 620aea26e853: Pulling fs layer 620aea26e853: Waiting 687ed2fb2a0d: Verifying Checksum 687ed2fb2a0d: Download complete 2eeb5ce9b924: Verifying Checksum 2eeb5ce9b924: Download complete a8c530378055: Verifying Checksum a8c530378055: Download complete 620aea26e853: Verifying Checksum 620aea26e853: Download complete 2eeb5ce9b924: Pull complete a8c530378055: Pull complete 687ed2fb2a0d: Pull complete 620aea26e853: Pull complete Digest: sha256:fc34d5b6cf5d00a6139a74370dc27ddc9ce18303e2210d0f199a6050cc29aa45 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1377731950654447570.sh + docker pull python:3.5 3.5: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 2eeb5ce9b924: Already exists 5b17b6f4d4e0: Pulling fs layer f1abee0af377: Pulling fs layer 298587aefca5: Pulling fs layer 298587aefca5: Verifying Checksum 298587aefca5: Download complete f1abee0af377: Download complete 5b17b6f4d4e0: Verifying Checksum 5b17b6f4d4e0: Download complete 5b17b6f4d4e0: Pull complete f1abee0af377: Pull complete 298587aefca5: Pull complete Digest: sha256:82c08ec0afced17b7a31d761d58428cced16f1d1bb903401690d2341ab6f0c61 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8436139268023269745.sh + docker pull python:2.7 2.7: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 220bd9a491ba: Pulling fs layer 97b15521fe5d: Pulling fs layer 1b44c1054690: Pulling fs layer 6b8b382a68d7: Pulling fs layer 6b8b382a68d7: Waiting 1b44c1054690: Verifying Checksum 1b44c1054690: Download complete 220bd9a491ba: Verifying Checksum 220bd9a491ba: Download complete 97b15521fe5d: Verifying Checksum 6b8b382a68d7: Verifying Checksum 6b8b382a68d7: Download complete 220bd9a491ba: Pull complete 97b15521fe5d: Pull complete 1b44c1054690: Pull complete 6b8b382a68d7: Pull complete Digest: sha256:1bb98a04d037d9766110499d36bf2f3a2aa43965b4aa345da91f6de75f3816d8 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1619241552965102235.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 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) 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 virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/7c/17/9b7b6cddfd255388b58c61e25b091047f6814183e1d63741c8df8dcd65a2/virtualenv-16.1.0-py2.py3-none-any.whl (1.9MB) Installing collected packages: py, colorlog, virtualenv, nox Successfully installed colorlog-3.1.4 nox-2018.10.17 py-1.7.0 virtualenv-16.1.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 .................................................................... [100%] =============================== warnings summary =============================== .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154: 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/containers.py:182 /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 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.21 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:470: UserWarning: Normalizing '4.9.0-alpha-2' to '4.9.0a2' 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]
