See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/156/display/redirect?page=changes>
Changes: [guosijie] Issue #1980: Migrate command `ledger` from shell to bkctl ------------------------------------------ [...truncated 24.85 KB...] root 25884 2 0 Mar 13 0.0 0.0 [kworker/u64:2] root 26166 2 0 Dec 19 0.0 0.0 [loop6] root 26813 2 0 Dec 20 0.0 0.0 [dio/sda3] root 27135 2 0 Dec 19 0.0 0.0 [bioset] root 27272 2 0 Feb 28 0.0 0.0 [loop13] root 27312 2 0 Feb 28 0.0 0.0 [bioset] root 27314 2 0 Feb 28 0.0 0.0 [loop14] nslcd 27537 1 27536 Oct 24 0.0 0.0 /usr/sbin/nslcd root 27553 2 0 14:39:51 0.0 0.0 [kworker/6:1] root 27557 2 0 Oct 24 0.0 0.0 [kworker/12:1H] root 27702 2 0 11:49:31 0.0 0.0 [kworker/u65:2] root 27790 2 0 16:21:12 0.0 0.0 [kworker/13:1] root 27944 29404 27944 Mar 10 0.0 0.0 sshd: jenkins [priv] jenkins 28031 27944 27944 Mar 10 0.1 0.0 sshd: jenkins@notty root 28127 2 0 Nov 20 0.0 0.0 [loop4] jenkins 28310 28031 28310 Mar 10 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 Mar 10 2.5 3.3 /home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g -XX:MaxPermSize=512m -jar remoting.jar -workDir /home/jenkins/jenkins-slave root 28371 2 0 22:57:11 0.0 0.0 [kworker/15:1] postfix 28621 3066 3066 Feb 21 0.0 0.0 tlsmgr -l -t unix -u root 28657 2 0 12:19:31 0.0 0.0 [kworker/u66:1] root 28897 2 0 14:40:08 0.0 0.0 [kworker/22:2] 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 29668 2 0 16:18:40 0.0 0.0 [kworker/14:2] 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 29933 2 0 16:39:53 0.0 0.0 [kworker/8:1] 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 30681 2 0 16:18:55 0.0 0.0 [kworker/20:2] jenkins 30749 28311 28310 Mar 13 0.0 0.0 /usr/bin/Xvfb -displayfd 2 -fbdir /home/jenkins/jenkins-slave/xvfb-1036-..fbdir7023232050998856609 root 30796 2 0 11:06:12 0.0 0.0 [kworker/7:2] root 30980 2 0 16:18:58 0.0 0.0 [kworker/10:1] root 31118 2 0 23:42:53 0.0 0.0 [kworker/11:0] root 31244 2 0 23:42:53 0.0 0.0 [kworker/4:1] root 31358 890 30965 09:48:13 0.5 0.0 nessusd -q root 31399 2 0 16:19:05 0.0 0.0 [kworker/18:0] daemon 31541 1 31541 Oct 24 0.0 0.0 /usr/sbin/atd -f + docker system prune -f Deleted Containers: ecba01f3c492b02ebcbfad3fe769422c00a8aced88d24f487805ce0ed379575a Total reclaimed space: 27.26MB + docker network prune -f --filter 'name=testnetwork_*' + echo 3880 + 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 27b2768170ac: Waiting ec90809a24af: Waiting 52ad13cdb1de: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete ec90809a24af: Download complete 27b2768170ac: Verifying Checksum 27b2768170ac: Download complete 2bc1c5ee8605: Pull 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/jenkins3212295565568189154.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:3f8bb7c750e86d031dd14c65d331806105ddc0c6f037ba29510f9b9fbbb35960 Status: Image is up to date for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4384560753509513867.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:dfd0b1fcad1f056d853631413b1e1a3afff81105a27e5ae7839a6b87389f5db8 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6707248405044479450.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 b76921582c0e: Verifying Checksum b76921582c0e: Download complete 056374482627: Verifying Checksum 056374482627: Download complete 2df43b5f1eba: Verifying Checksum 2df43b5f1eba: Download complete 2df43b5f1eba: Pull complete b76921582c0e: Pull complete 056374482627: Pull complete Digest: sha256:72bc90ecba72bc2e24f1b86a61fe77005d94759c83e59a6b2155718faca471cd Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8602945228981375680.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:f8fbc752ca1d568a7cda2f6de6156ca49d08a3cfd84815f90f778f346b260923 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins841436011867966895.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 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 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) Installing collected packages: virtualenv, colorlog, 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 3.76 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]
