See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/152/display/redirect?page=changes>
Changes: [zhaijia] Migrate command `bookieformat` ------------------------------------------ [...truncated 33.15 KB...] nslcd 27537 1 27536 Oct 24 0.0 0.0 /usr/sbin/nslcd root 27557 2 0 Oct 24 0.0 0.0 [kworker/12:1H] root 27944 29404 27944 16:06:07 0.0 0.0 sshd: jenkins [priv] root 28019 2 0 18:13:10 0.0 0.0 [kworker/0:0] jenkins 28031 27944 27944 16:06:08 0.0 0.0 sshd: jenkins@notty root 28127 2 0 Nov 20 0.0 0.0 [loop4] jenkins 28310 28031 28310 16:06:15 0.0 0.0 bash -c cd "/home/jenkins/jenkins-slave" && /home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g -XX:MaxPermSize=512m -jar remoting.jar -workDir /home/jenkins/jenkins-slave jenkins 28311 28310 28310 16:06:15 1.3 2.9 /home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g -XX:MaxPermSize=512m -jar remoting.jar -workDir /home/jenkins/jenkins-slave root 28585 2 0 18:32:20 0.0 0.0 [kworker/6:1] postfix 28621 3066 3066 Feb 21 0.0 0.0 tlsmgr -l -t unix -u root 28862 2 0 18:32:27 0.0 0.0 [kworker/18:1] root 28870 2 0 18:32:27 0.0 0.0 [kworker/21:1] root 29211 2 0 03:04:22 0.0 0.0 [kworker/3:2] root 29271 2 0 18:32:38 0.0 0.0 [kworker/11:1] root 29285 2 0 18:32:39 0.0 0.0 [kworker/u64:1] snmp 29374 1 29373 Oct 24 0.0 0.0 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -p /var/run/snmpd.pid root 29404 1 29404 Mar 05 0.0 0.0 /usr/sbin/sshd -D root 29489 1 29489 Oct 24 0.0 0.0 /usr/bin/ruby /usr/bin/puppet agent root 29702 1 29701 Oct 24 0.0 0.0 /usr/bin/python3 /usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b root 29861 2 0 Mar 08 0.0 0.0 [kworker/14:0] root 29910 2 0 18:08:43 0.0 0.0 [kworker/7:1] root 30152 2 0 18:08:47 0.0 0.0 [kworker/1:0] root 30317 2 0 18:08:50 0.0 0.0 [kworker/5:2] rajive 30656 1 30656 Nov 27 0.0 0.0 /lib/systemd/systemd --user rajive 30669 30656 30656 Nov 27 0.0 0.0 (sd-pam) root 30715 2 0 18:08:55 0.0 0.0 [kworker/18:0] root 30898 2 0 18:08:58 0.0 0.0 [kworker/16:2] root 30912 2 0 18:08:58 0.0 0.0 [kworker/15:1] root 31131 2 0 18:09:01 0.0 0.0 [kworker/13:2] root 31332 2 0 18:09:03 0.0 0.0 [kworker/21:2] daemon 31541 1 31541 Oct 24 0.0 0.0 /usr/sbin/atd -f root 31984 2 0 18:09:11 0.0 0.0 [kworker/9:1] root 32200 2 0 18:09:15 0.0 0.0 [kworker/23:2] root 32382 2 0 18:09:18 0.0 0.0 [kworker/20:1] root 32403 2 0 04:24:35 0.0 0.0 [kworker/10:2] root 32535 2 0 04:24:38 0.0 0.0 [kworker/6:3] + docker system prune -f Deleted Containers: d4b67393f8bc1f218270956f5c06a605050c6993da24921e1ae77c88885c7105 Deleted Volumes: ccd1773fa9af286d2bb098b2370bb1444ba63454100e9146edf4358b8a5d6619 378a7b5462ea016abf2f9a02e80460133fb7c2b607f0c47d6a656434deb87044 Total reclaimed space: 347MB + docker network prune -f --filter 'name=testnetwork_*' + echo 12581 + docker pull quay.io/coreos/etcd:v3.3 + docker system events 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 27b2768170ac: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 2bc1c5ee8605: Pull complete ec90809a24af: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 27b2768170ac: Verifying Checksum 27b2768170ac: Download complete 52ad13cdb1de: Verifying Checksum 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/jenkins197715571226419935.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:166ad1e6ca19a4b84a8907d41c985549d89e80ceed2f7eafd90dca3e328de23e Status: Image is up to date for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins606189886308916965.sh + docker pull python:3.6 3.6: Pulling from library/python 22dbe790f715: Already exists 0250231711a0: Already exists 6fba9447437b: Already exists c2b4d327b352: Already exists 270e1baa5299: Already exists 400bad26d6c0: Pulling fs layer 1d360410c080: Pulling fs layer 1224d2c3c8d9: Pulling fs layer 5d7d0629cdba: Pulling fs layer 5d7d0629cdba: Waiting 1224d2c3c8d9: Download complete 400bad26d6c0: Download complete 1d360410c080: Verifying Checksum 1d360410c080: Download complete 5d7d0629cdba: Verifying Checksum 5d7d0629cdba: Download complete 400bad26d6c0: Pull complete 1d360410c080: Pull complete 1224d2c3c8d9: Pull complete 5d7d0629cdba: Pull complete Digest: sha256:0bb192311a05db2ea7151c7749324e9f6c91e2766b309b24e3276be1a4c476b9 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2714334094690747052.sh + docker pull python:3.5 3.5: Pulling from library/python 22dbe790f715: Already exists 0250231711a0: Already exists 6fba9447437b: Already exists c2b4d327b352: Already exists 270e1baa5299: Already exists 400bad26d6c0: Already exists 2df43b5f1eba: Pulling fs layer b76921582c0e: Pulling fs layer 056374482627: Pulling fs layer 056374482627: Verifying Checksum 056374482627: Download complete b76921582c0e: Download complete 2df43b5f1eba: Verifying Checksum 2df43b5f1eba: Download complete 2df43b5f1eba: Pull complete b76921582c0e: Pull complete 056374482627: Pull complete Digest: sha256:1553f5b9eb6f529fb0cac7820a83f45543839963be1ec8928a0b546c482fadc7 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7479918553809652755.sh + docker pull python:2.7 2.7: Pulling from library/python 22dbe790f715: Already exists 0250231711a0: Already exists 6fba9447437b: Already exists c2b4d327b352: Already exists 270e1baa5299: Already exists 537be1ae9526: Pulling fs layer 9cf97cbabac5: Pulling fs layer fd7fd0a276c0: Pulling fs layer 2b7ed81f9cf0: Pulling fs layer 2b7ed81f9cf0: Waiting fd7fd0a276c0: Verifying Checksum fd7fd0a276c0: Download complete 537be1ae9526: Verifying Checksum 537be1ae9526: Download complete 9cf97cbabac5: Verifying Checksum 9cf97cbabac5: Download complete 2b7ed81f9cf0: Verifying Checksum 2b7ed81f9cf0: Download complete 537be1ae9526: Pull complete 9cf97cbabac5: Pull complete fd7fd0a276c0: Pull complete 2b7ed81f9cf0: Pull complete Digest: sha256:9d096b849d6effeaf36ef3101295ddccc4042dcfdad8a82ceb30aad6a411a55f Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1575558984815777181.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 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) 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) Installing collected packages: colorlog, virtualenv, py, 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.31 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]
