You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/09/29 12:59:59 UTC

Build failed in Jenkins: bookkeeper_postcommit_master_python #353

See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/353/display/redirect>

Changes:


------------------------------------------
[...truncated 23.80 KB...]
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
04da5b62a8519d007ddda0594d5e00fc3dcd6e0bc3ce35d6883c074b6b26b60d
712b90e887e752756a1a54153b019ff7c2fd4a7d7816366693aa19cf9a573e0e

Total reclaimed space: 354.3MB
+ docker network prune -f --filter until=12h
+ echo 37261
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
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
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
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/jenkins551202808454112247.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8637612621005318704.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1845313572206844225.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
2462712d3519: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6235355324083137759.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
aabbe3b30f01: Verifying Checksum
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2988753818977759283.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7faa1624d650>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.02s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #601

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/601/display/redirect>

Changes:


------------------------------------------
[...truncated 22.61 KB...]
5efaeecfa72a: Pulling fs layer
db8816f44548: Pulling fs layer
5efaeecfa72a: Waiting
db8816f44548: Waiting
bb94ffe72389: Verifying Checksum
bb94ffe72389: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
5efaeecfa72a: Verifying Checksum
5efaeecfa72a: Download complete
db8816f44548: Verifying Checksum
db8816f44548: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7591814696977713861.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4306602278208770874.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Download complete
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6939758351897859075.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins526659766257943279.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-2020.5.24-py3-none-any.whl (42 kB)
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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=15c12488fa6940cf7b32367dbe586e478dee2e04daf90efd61f7c900132df7a7
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, filelock, appdirs, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fd5c53b5510>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.85s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #600

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/600/display/redirect?page=changes>

Changes:

[github] [BUG] Fix class not found compilation failure


------------------------------------------
[...truncated 28.41 KB...]
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/jenkins4612324992979881147.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4522394957096917164.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1612615950800420427.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8112118626920359091.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6106646300564517719.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-2020.5.24-py3-none-any.whl (42 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ad340481a8320d8cfaa820a038be40c39a70096ef942db31649fa9600bfd0d2c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, filelock, appdirs, six, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f562991a090>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.87s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #599

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/599/display/redirect>

Changes:


------------------------------------------
[...truncated 28.29 KB...]
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9217369128765291189.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2981711167281195136.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7146553277001779412.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
1ac796413945: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2002908764455863941.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4963018618410186274.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-2020.5.24-py3-none-any.whl (42 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=14fb300e9df1932641dfc62693163cd23d5b32d96c36edc89dd7492db9fbf9a4
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, distlib, appdirs, six, filelock, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f22145b3490>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.81s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #598

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/598/display/redirect?page=changes>

Changes:

[github] [CLEAN] Replace com.google.common.base.Optional with java.util.Optional

[github] [CLEAN] Replace google.charsets with java.charsets

[github] [BUG] Fix bookie port conflict when using LocalBookKeeper

[github] [CLEAN] Fix missing Override annotation


------------------------------------------
[...truncated 28.21 KB...]
5c94f9cbba07: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2784257518767571569.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5694407816214515490.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2728087958812180591.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3897546191742752640.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3270130967725200786.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-2020.5.24-py3-none-any.whl (42 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ba6334ddce8e5fe88e4ff1b225b952713bee5aa8fb41bb51922d771417de7590
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, filelock, six, appdirs, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fd585633610>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.78s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #597

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/597/display/redirect?page=changes>

Changes:

[github] [LOG] Change ERROR to INFO log level


------------------------------------------
[...truncated 29.51 KB...]
5efaeecfa72a: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
db8816f44548: Download complete
376057ac6fa1: Pull complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8917951385391188463.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8401390880793920521.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7263998909465775161.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8669281743465432515.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-2020.5.24-py3-none-any.whl (42 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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1fa89a0bd693271a43eafbf00c2c043b3615b358c30ecada30dea8c27a0bdd58
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, colorlog, six, filelock, distlib, appdirs, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fdab3c9e250>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.75s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #596

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/596/display/redirect>

Changes:


------------------------------------------
[...truncated 27.46 KB...]
5efaeecfa72a: Download complete
db8816f44548: Verifying Checksum
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8161883475248092529.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4410966489866531226.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins238699057133217026.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8037951518431170206.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-2020.5.24-py3-none-any.whl (42 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=127a59c6f98d1713b24cbc675a0f921887d54ba4e022655cf8a33b90d57205cc
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, appdirs, six, distlib, filelock, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.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:472: 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." % 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 0x7f7652568190>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.37s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #595

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/595/display/redirect>

Changes:


------------------------------------------
[...truncated 13.25 KB...]
root       342     2     0   Jan 14  0.0  0.0 [scsi_tmf_0]
root       344     2     0   Jan 14  0.0  0.0 [scsi_eh_1]
root       345     2     0   Jan 14  0.0  0.0 [scsi_tmf_1]
root       346     2     0   Jan 14  0.0  0.0 [scsi_eh_2]
root       347     2     0   Jan 14  0.0  0.0 [scsi_tmf_2]
root       348     2     0   Jan 14  0.0  0.0 [scsi_eh_3]
root       349     2     0   Jan 14  0.0  0.0 [scsi_tmf_3]
root       350     2     0   Jan 14  0.0  0.0 [scsi_eh_4]
root       351     2     0   Jan 14  0.0  0.0 [scsi_tmf_4]
root       352     2     0   Jan 14  0.0  0.0 [scsi_eh_5]
root       353     2     0   Jan 14  0.0  0.0 [scsi_tmf_5]
root       355     2     0   Jan 14  0.0  0.0 [scsi_eh_6]
root       356     2     0   Jan 14  0.0  0.0 [scsi_tmf_6]
root       374     2     0   Jan 14  0.0  0.0 [kworker/23:1H]
root       386     2     0   Jan 14  0.0  0.0 [kworker/10:1H]
root       390     2     0   Jan 14  0.0  0.0 [kworker/6:1H]
root       391     2     0   Jan 14  0.0  0.0 [kworker/8:1H]
root       407     2     0   Jan 14  0.0  0.0 [jbd2/sda3-8]
root       408     2     0   Jan 14  0.0  0.0 [ext4-rsv-conver]
root       421     2     0   Jan 14  0.0  0.0 [kworker/22:1H]
root       423     2     0   Jan 14  0.0  0.0 [kworker/12:1H]
root       440     2     0   Jan 14  0.0  0.0 [kworker/0:1H]
root       441     2     0   Jan 14  0.0  0.0 [kworker/18:1H]
root       442     2     0   Jan 14  0.0  0.0 [kworker/3:1H]
root       443     2     0   Jan 14  0.0  0.0 [kworker/2:1H]
root       446     2     0   Jan 14  0.0  0.0 [kworker/1:1H]
root       454     2     0   Jan 14  0.0  0.0 [kworker/14:1H]
root       469     2     0   Jan 14  0.0  0.0 [kworker/20:1H]
root       483     2     0   Jan 14  0.0  0.0 [kworker/16:1H]
root       496     2     0   Jan 14  0.0  0.0 [kworker/7:1H]
root       558     2     0   Jan 14  0.0  0.0 [kworker/4:1H]
root       559     2     0   Jan 14  0.0  0.0 [kworker/11:1H]
root       561     2     0   Jan 14  0.0  0.0 [kworker/15:1H]
root       562     2     0   Jan 14  0.0  0.0 [kworker/21:1H]
root       564     2     0   Jan 14  0.0  0.0 [kworker/19:1H]
root       567     2     0   Jan 14  0.0  0.0 [kworker/13:1H]
root       606     2     0   Jan 14  0.0  0.0 [ttm_swap]
root       631     1   631   May 15  0.0  0.0 /sbin/agetty -o -p -- \u --noclear tty1 linux
root       638     2     0   Jan 14  0.0  0.0 [kworker/9:1H]
root       639     2     0   Jan 14  0.0  0.0 [kworker/17:1H]
root       640     2     0   Jan 14  0.0  0.0 [kworker/5:1H]
root       688     1   688   May 15  0.0  0.0 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS0 vt220
syslog     694     1   694   May 15  0.0  0.0 /usr/sbin/rsyslogd -n
root       705     1   705   May 15  0.0  0.0 /usr/lib/snapd/snapd
root       726     1   726   May 15  0.1  0.0 /usr/bin/python3 /usr/bin/fail2ban-server -xf start
root       742     1   742   May 15  0.0  0.0 /usr/sbin/sshd -D
message+   745     1   745   May 15  0.0  0.0 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root       759     2     0   Jan 14  0.0  0.0 [ext4-rsv-conver]
root       904     1   904   May 15  0.5  0.0 /opt/datadog-agent/embedded/bin/system-probe --config=/etc/datadog-agent/system-probe.yaml --pid=/opt/datadog-agent/run/system-probe.pid
dd-agent   906     1   906   May 15  1.1  0.1 /opt/datadog-agent/bin/agent/agent run -p /opt/datadog-agent/run/agent.pid
dd-agent   921     1   921   May 15  1.1  0.0 /opt/datadog-agent/embedded/bin/process-agent --config=/etc/datadog-agent/datadog.yaml --sysprobe-config=/etc/datadog-agent/system-probe.yaml --pid=/opt/datadog-agent/run/process-agent.pid
root      1271     2     0 12:14:01  0.1  0.0 [kworker/u65:0]
root      1393     2     0 12:14:17  0.0  0.0 [kworker/u66:0]
root      1452     1  1452   May 16  0.0  0.0 /opt/CrowdStrike/falcond
root      1453  1452  1452   May 16  0.0  0.0 falcon-sensor
daemon    1459     1  1459   May 16  0.0  0.0 /usr/sbin/atd -f
root      1468     1  1468   May 18  0.3  0.2 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root      1478     1  1478   May 16  0.0  0.0 /usr/sbin/cron -f
root      1500     1  1500   May 16  0.0  0.0 /usr/bin/containerd
root      1514     2     0 12:14:30  0.0  0.0 [kworker/2:1]
root      1568     1  1568   May 15  0.0  0.0 /lib/systemd/systemd-logind
Debian-+  1745     1  1745   May 16  0.0  0.0 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
root      1758     1  1758   May 16  0.0  0.0 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/puppet agent --no-daemonize
root      1777     1  1777   May 16  0.0  0.0 /usr/sbin/nscd
nslcd     1860     1  1859   May 16  0.0  0.0 /usr/sbin/nslcd
root      2779     2     0   Feb 04  0.0  0.0 [dio/sda3]
root      3317     2     0 11:14:24  0.0  0.0 [kworker/14:0]
root      3851     2     0 01:39:33  0.0  0.0 [kworker/12:2]
root      4005     2     0 00:03:50  0.0  0.0 [kworker/1:1]
root      4826     2     0 02:43:16  0.0  0.0 [kworker/12:1]
root      5060     2     0 02:52:40  0.0  0.0 [kworker/17:1]
root      5229     2     0 02:43:31  0.0  0.0 [kworker/2:0]
root      5402     2     0 02:43:35  0.0  0.0 [kworker/19:1]
root      5547     2     0 02:43:39  0.0  0.0 [kworker/20:0]
root      5655     2     0   May 26  0.0  0.0 [kworker/22:0]
root      5850     1  5850   May 26  0.0  0.0 /lib/systemd/systemd-udevd
root      6725     2     0 12:25:05  0.0  0.0 [kworker/u65:2]
root      6726     2     0 12:25:05  0.0  0.0 [kworker/u65:3]
root      7247     2     0   May 26  0.0  0.0 [kworker/3:0]
root      7296     2     0 12:26:14  0.0  0.0 [kworker/u66:1]
root      7810     2     0 02:47:12  0.0  0.0 [kworker/18:2]
root      7955     2     0   May 26  0.0  0.0 [loop3]
root      8349     2     0 02:47:47  0.0  0.0 [kworker/5:2]
root      8555     2     0   Mar 17  0.0  0.0 [loop9]
root      8627     2     0   May 27  0.0  0.0 [kworker/10:1]
jenkins   9456 22434 32387 12:31:10  0.0  0.0 sleep 3
jenkins   9561 32387 32387 12:31:12  0.0  0.0 /bin/bash -xe /tmp/jenkins515562570367498077.sh
jenkins   9563  9561 32387 12:31:12  0.0  0.0 bash .test-infra/scripts/pre-docker-tests.sh
jenkins   9566  9563 32387 12:31:12  0.0  0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
root     10233     2     0   Jan 14  0.0  0.0 [kworker/u64:1]
root     10370     2     0   Mar 25  0.0  0.0 [loop6]
root     11100     2     0 10:40:11  0.0  0.0 [kworker/16:1]
systemd+ 11823     1 11823   May 26  0.0  0.0 /lib/systemd/systemd-networkd
systemd+ 11846     1 11846   May 26  0.0  0.0 /lib/systemd/systemd-resolved
root     11888     1 11888   May 26  0.0  0.0 /lib/systemd/systemd-journald
root     11971     2     0 09:39:08  0.0  0.0 [kworker/9:2]
root     13014     2     0 08:39:11  0.0  0.0 [kworker/9:1]
root     13184     2     0   Apr 23  0.0  0.0 [loop4]
root     13929     2     0   May 22  0.0  0.0 [kworker/13:0]
root     14708     2     0 02:57:04  0.0  0.0 [kworker/11:2]
root     15088     2     0 11:39:02  0.0  0.0 [kworker/18:0]
root     15317     2     0 02:57:19  0.0  0.0 [kworker/0:0]
root     15661     2     0   Mar 31  0.0  0.0 [loop5]
root     16456     2     0   May 26  0.0  0.0 [kworker/4:1]
root     16922     2     0 06:45:40  0.0  0.0 [kworker/8:2]
root     17027     2     0   Jan 29  0.0  0.0 [xfsalloc]
root     17028     2     0   Jan 29  0.0  0.0 [xfs_mru_cache]
root     17038     2     0   Jan 29  0.0  0.0 [jfsIO]
root     17039     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17040     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17041     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17042     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17043     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17044     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17045     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17046     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17047     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17048     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17049     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17050     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17051     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17052     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17053     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17054     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17055     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17056     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17057     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17058     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17059     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17060     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17061     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17062     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     17063     2     0   Jan 29  0.0  0.0 [jfsSync]
root     19982     2     0 03:30:34  0.0  0.0 [kworker/15:0]
root     19996     2     0 23:33:28  0.0  0.0 [kworker/6:1]
root     20006     2     0 03:30:34  0.0  0.0 [kworker/23:2]
root     20593     2     0 00:08:15  0.0  0.0 [kworker/16:2]
root     20831     1 20831   May 23  0.0  0.0 /usr/bin/python kif.py --foreground
root     21552     2     0 00:09:15  0.0  0.0 [kworker/10:0]
jenkins  22228     1 22228   May 22  0.0  0.0 gpg-agent --homedir /home/jenkins/.gnupg --use-standard-socket --daemon
jenkins  22433     1 32387   May 25  0.0  0.0 sh -c (pid=$$; { while [ \( -d /proc/$pid -o \! -d /proc/$$ \) -a -d '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d' -a \! -f '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt' ]; do touch '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-log.txt'; sleep 3; done } & jsc=durable-b44a24d922bd5ca3183ad8f75d4ee59e; JENKINS_SERVER_COOKIE=$jsc '/bin/bash' -xe  '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/script.sh' > '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt.tmp'; mv '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt.tmp' '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt'; wait) >&- 2>&- &
jenkins  22434 22433 32387   May 25  0.0  0.0 sh -c (pid=$$; { while [ \( -d /proc/$pid -o \! -d /proc/$$ \) -a -d '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d' -a \! -f '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt' ]; do touch '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-log.txt'; sleep 3; done } & jsc=durable-b44a24d922bd5ca3183ad8f75d4ee59e; JENKINS_SERVER_COOKIE=$jsc '/bin/bash' -xe  '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/script.sh' > '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt.tmp'; mv '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt.tmp' '/home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/jenkins-result.txt'; wait) >&- 2>&- &
jenkins  22435 22433 32387   May 25  0.0  0.0 /bin/bash -xe /home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/durable-eb747f0d/script.sh
jenkins  22438 22435 32387   May 25  0.0  0.0 /bin/sh -e /home/jenkins/jenkins-slave/workspace/jspwiki@2/build@tmp/withMavenf426cd5e/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install org.jacoco:jacoco-maven-plugin:report -Pattach-additional-artifacts sonar:sonar -up -Dsonar.projectKey=jspwiki-builder -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=34a85f0843e8a20e71e3a75547088a6a6a5926d3
jenkins  22439 22438 32387   May 25  0.1  1.3 /home/jenkins/tools/java/latest1.8/bin/java -classpath /home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.6.0.jar -Dclassworlds.conf=/home/jenkins/tools/maven/latest3/bin/m2.conf -Dmaven.home=/home/jenkins/tools/maven/latest3 -Dlibrary.jansi.path=/home/jenkins/tools/maven/latest3/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/jenkins/jenkins-slave/workspace/jspwiki@2/build org.codehaus.plexus.classworlds.launcher.Launcher --batch-mode --show-version clean org.jacoco:jacoco-maven-plugin:prepare-agent install org.jacoco:jacoco-maven-plugin:report -Pattach-additional-artifacts sonar:sonar -up -Dsonar.projectKey=jspwiki-builder -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=34a85f0843e8a20e71e3a75547088a6a6a5926d3
root     23676     2     0   Apr 30  0.0  0.0 [loop0]
root     25416     2     0   May 27  0.0  0.0 [kworker/6:0]
root     25965     2     0   May 26  0.0  0.0 [kworker/8:0]
jenkins  25983 22439 32387   May 25  0.0  0.0 /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/jspwiki@2/build/jspwiki-main && /usr/local/asfpackages/java/jdk1.8.0_241/jre/bin/java -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar=destfile=/home/jenkins/jenkins-slave/workspace/jspwiki@2/build/jspwiki-main/target/jacoco.exec -jar /home/jenkins/jenkins-slave/workspace/jspwiki@2/build/jspwiki-main/target/surefire/surefirebooter481073879578486062.jar /home/jenkins/jenkins-slave/workspace/jspwiki@2/build/jspwiki-main/target/surefire 2020-05-25T18-13-48_486-jvmRun1 surefire6902555819441739031tmp surefire_442989283562657230tmp
jenkins  25987 25983 32387   May 25  0.1  0.5 /usr/local/asfpackages/java/jdk1.8.0_241/jre/bin/java -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar=destfile=/home/jenkins/jenkins-slave/workspace/jspwiki@2/build/jspwiki-main/target/jacoco.exec -jar /home/jenkins/jenkins-slave/workspace/jspwiki@2/build/jspwiki-main/target/surefire/surefirebooter481073879578486062.jar /home/jenkins/jenkins-slave/workspace/jspwiki@2/build/jspwiki-main/target/surefire 2020-05-25T18-13-48_486-jvmRun1 surefire6902555819441739031tmp surefire_442989283562657230tmp
root     26299     2     0 12:02:27  0.0  0.0 [kworker/u66:2]
root     27100     2     0   May 27  0.0  0.0 [kworker/4:0]
root     27213     2     0 04:09:28  0.0  0.0 [kworker/21:1]
root     27229     2     0   May 25  0.0  0.0 [kworker/0:1]
root     27647     2     0 10:09:30  0.0  0.0 [kworker/14:2]
root     28005     2     0 02:50:20  0.0  0.0 [kworker/7:2]
root     28352     2     0   May 26  0.0  0.0 [kworker/7:1]
root     28452     2     0   Apr 08  0.0  0.0 [loop8]
root     29163     2     0 07:09:18  0.0  0.0 [kworker/1:2]
root     29577     2     0   May 26  0.0  0.0 [kworker/11:1]
root     29649     2     0 08:09:11  0.0  0.0 [kworker/20:1]
root     29903     2     0 22:39:08  0.0  0.0 [kworker/15:1]
root     30059     2     0 12:09:10  0.0  0.0 [kworker/19:2]
root     30249     2     0 08:09:17  0.0  0.0 [kworker/23:0]
root     30409     2     0 03:39:15  0.0  0.0 [kworker/13:1]
root     31523     2     0 21:39:25  0.0  0.0 [kworker/22:2]
root     31528     2     0   May 26  0.0  0.0 [kworker/17:0]
root     31646     2     0   May 25  0.0  0.0 [kworker/21:0]
root     31757   742 31757   May 23  0.0  0.0 sshd: jenkins [priv]
jenkins  31767     1 31767   May 23  0.0  0.0 ssh-agent
jenkins  31817 31757 31757   May 23  0.1  0.0 sshd: jenkins@notty
root     32008     2     0   May 26  0.0  0.0 [kworker/5:0]
root     32310     2     0 11:09:14  0.0  0.0 [kworker/3:1]
jenkins  32387 31817 32387   May 23  2.6  7.3 /home/jenkins/tools/java/latest1.8/bin/java -Xmx16g -Xms512m -jar remoting.jar -workDir /home/jenkins/jenkins-slave -jar-cache /home/jenkins/jenkins-slave/remoting/jarCache
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 14
 Server Version: 19.03.9
 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: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-74-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf925.gq1.ygridcore.net
 ID: HBD6:AGHI:OEF3:D4E3:P3EU:K7IM:GYOS:TEF7:ZXYS:6LEQ:654F:SZHY
 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:
e8546d65b7bc1e3cf5b687da944a206d94303e05aa1280740e73b63b821ce2b5
fd50e58aab58badab0316c1b1de5558e582bc9221e4ad18421ae373e52befc39
7f56c9a29beb008084d146496a15c3b948fb34ef5729f23f00305b804607c144

Deleted Images:
deleted: sha256:4c44163e4455e686f5afae77ebb648fbfebcd8394442c51eadf961b4b538a0fa
deleted: sha256:3d3179f3c002e8e347de3c6f1482143db5970750243ed2a49ba4e237aa355ce9
deleted: sha256:62547fc2e458b9383f85d647c064ea466a2dd9d21221c20415d8d2c4a8c703ec
deleted: sha256:3ae30ebc98fb0fbf344d3f786013015d3ddcdaa2de91d2df13a60c8932c1d4a1
deleted: sha256:b1e3e3027b258009e3c8e6181a264e7125d038ff01348e4f4481d0365b6058cf

Total reclaimed space: 6.945GB
+ docker network prune -f --filter until=12h
+ echo 9679
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
Error response from daemon: Get https://quay.io/v2/coreos/etcd/manifests/v3.3: received unexpected HTTP status: 500 Internal Server Error
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #594

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/594/display/redirect?page=changes>

Changes:

[github] BP-38: Publish Bookie Service Info on Metadata Service

[github] [CLEAN] remove duplicate property key in log4j.properties

[github] ISSUE #2311: Adds support to decode metadata in the API that list


------------------------------------------
[...truncated 28.66 KB...]
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7420106777177907760.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2940296445417267804.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3572427495090270213.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6665769843597390715.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-2020.5.24-py3-none-any.whl (42 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 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 importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=c3c86dc433bb0e3eba4301228a4cbcfcbf0c55dbf6de4f2d2e85360cffef0e96
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, six, zipp, importlib-metadata, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.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/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 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:472: 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." % 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 0x7f14720acb10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #593

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/593/display/redirect>

Changes:


------------------------------------------
[...truncated 27.31 KB...]
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6765766568603106629.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5405494205516947318.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4788861110893184165.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
39db0bc48c26: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8829330867446294460.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-2020.5.24-py3-none-any.whl (42 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1f19626de4f9df3ca94648799673283770aeb9a3031d83a96da2e102a78a481f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, colorlog, appdirs, filelock, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.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:472: 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." % 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 0x7fe2f3403410>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #592

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/592/display/redirect>

Changes:


------------------------------------------
[...truncated 28.55 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins4454659307857137914.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5991824669075466845.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7322019661820219437.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5650931784128466939.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7990227343085775153.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-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1cf4ff0fa8b250aab65f6b5b36958df5c4b9c9866bebd4399b966f524266f46e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, distlib, appdirs, six, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7feabea20850>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.69s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #591

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/591/display/redirect?page=changes>

Changes:

[github] [BUG] Fix wrong jdk version on install doc page

[github] [BUG] Fix flaky testLedgerOpenAfterBKCrashed


------------------------------------------
[...truncated 28.49 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins2920025473702567781.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6340218285276797256.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2228448624297541836.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8027171755639700344.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5371544612959645702.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-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=e310d8eb1f1da08e263e6f2ddcfa6e38bd7273669ae6b0d57d9110a7a29a22b5
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, filelock, zipp, importlib-metadata, distlib, appdirs, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f522392e8d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.71s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #590

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/590/display/redirect>

Changes:


------------------------------------------
[...truncated 27.70 KB...]
db8816f44548: Waiting
bb94ffe72389: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
5efaeecfa72a: Download complete
db8816f44548: Verifying Checksum
db8816f44548: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins338116401837121171.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7838487045063816884.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins951677713246802388.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1984766049075596172.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-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d34544533f669e58fc858a7687c21f362da65c048e6db60b6503ce1915eb612f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, appdirs, six, distlib, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.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:472: 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." % 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 0x7fc2e2690410>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #589

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/589/display/redirect>

Changes:


------------------------------------------
[...truncated 30.76 KB...]
5efaeecfa72a: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
db8816f44548: Verifying Checksum
db8816f44548: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3630154740984869045.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5421425589151539149.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8004523064165427649.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6204532385944283281.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-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=a6e2b67c6c671b140251c62522fc048681d94bb098dc262c62b156fb373e65b8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, distlib, filelock, six, appdirs, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f94a3e4d710>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #588

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/588/display/redirect>

Changes:


------------------------------------------
[...truncated 25.13 KB...]
 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:
446c9432d18b3b6d7bb2a37263472d901a07473f682b2c3b03c8003c147f39e3

Total reclaimed space: 37.27MB
+ docker network prune -f --filter until=12h
+ echo 31030
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins7039620761490560100.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8935939241583910355.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins848534422457566164.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins271613094179010195.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3870958043897148836.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ba1fbd5f68689f4d24b59669b7f0fb48cee990631c8917e9f7642af6e477e3b0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, six, distlib, filelock, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.21 zipp-3.1.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:472: 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." % 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 0x7f4bfc9a8550>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.40s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #587

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/587/display/redirect>

Changes:


------------------------------------------
[...truncated 38.64 KB...]
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6345546402528127155.sh
+ docker pull python:3.7
3.7: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
bb94ffe72389: Already exists
70d0b3967cd8: Already exists
5efaeecfa72a: Already exists
db8816f44548: Pulling fs layer
db8816f44548: Download complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1594461567983778385.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8570091637885955008.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2407775244187553666.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8056074858063549671.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=60d2f9891e24426ffdc684b3ccf4f7a6d12416907de3f5a7a090b08003480707
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, appdirs, filelock, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.21 zipp-3.1.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:472: 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." % 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 0x7f1dbf2c1290>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.41s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #586

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/586/display/redirect?page=changes>

Changes:

[github] Fix wrong module artifactId

[github] QuorumCoverage should only count unknown nodes

[github] Issue #2305: Bookies should not be allowed to come up without a cookie

[github] Add /api/v1/bookie/info REST API

[github] Handle NPE when inet address is not able to resolve network address

[github] [BOOKKEEPER-TOOL] Fix update rate-limiting for update-ledger command


------------------------------------------
[...truncated 39.67 KB...]
5efaeecfa72a: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
3019a0b2f7ee: Verifying Checksum
3019a0b2f7ee: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7341425286939888997.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
577496009285: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
577496009285: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7466936932041933420.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
da28730232a9: Download complete
b76996fb94b4: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9087883560804343072.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3631786439494212214.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
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.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=0ef6829b0fb2bae27eef19e3230c07e9656e141b1ba017863963856fe354064f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, distlib, six, filelock, appdirs, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
WARNING: You are using pip version 20.1; however, version 20.1.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
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:472: 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." % 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 0x7fce1d230dd0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #585

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/585/display/redirect>

Changes:


------------------------------------------
[...truncated 23.58 KB...]
5efaeecfa72a: Download complete
2adae3950d4d: Verifying Checksum
2adae3950d4d: Download complete
3019a0b2f7ee: Download complete
376057ac6fa1: Pull complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1698858405873019234.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
577496009285: Verifying Checksum
577496009285: Download complete
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2975634708044492826.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
b76996fb94b4: Verifying Checksum
b76996fb94b4: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1683005948436870130.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1507171394116671643.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d0cf0bbeb40fba605fd74da83dfaa05a27b9a7698ff99c9de6c2e899d85ea089
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, six, appdirs, zipp, importlib-metadata, filelock, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fe4ad11a1d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.58s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #584

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/584/display/redirect?page=changes>

Changes:

[github] [CI] Using master action code for checking rerun commands

[github] Bump jackson.version from 2.9.7 to 2.11.0 (#2326)

[github] [BOOKIE-MTLS] add support of hostname verification


------------------------------------------
[...truncated 31.83 KB...]
70d0b3967cd8: Download complete
3019a0b2f7ee: Verifying Checksum
3019a0b2f7ee: Download complete
376057ac6fa1: Pull complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6339364543634056205.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
577496009285: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
577496009285: Verifying Checksum
577496009285: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5484360342321432496.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
da28730232a9: Download complete
b76996fb94b4: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7524034217119573919.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8833019438561854636.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
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.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1b4acc3ea2c8310e78ad0b35c5061eb73e4db12407d043c0687f6fc51c4c75d4
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, filelock, appdirs, six, distlib, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fbea5031110>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #583

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/583/display/redirect>

Changes:


------------------------------------------
[...truncated 27.68 KB...]
3019a0b2f7ee: Verifying Checksum
3019a0b2f7ee: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7711857011834595007.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
577496009285: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
577496009285: Verifying Checksum
577496009285: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3201791496193918201.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
b76996fb94b4: Verifying Checksum
b76996fb94b4: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1625775542814681826.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3422938827378921671.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8b6cf492aa66f640bb4a15aa5aee1c382364460806c08cd1c2bea5e4ea3173c6
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, appdirs, six, distlib, filelock, zipp, importlib-metadata, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.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/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 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:472: 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." % 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 0x7fb2f43aa250>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.36s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #582

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/582/display/redirect>

Changes:


------------------------------------------
[...truncated 4.40 KB...]
root        10     2     0   Jan 13  0.0  0.0 [rcu_bh]
root        11     2     0   Jan 13  0.0  0.0 [migration/0]
root        12     2     0   Jan 13  0.0  0.0 [watchdog/0]
root        13     2     0   Jan 13  0.0  0.0 [cpuhp/0]
root        14     2     0   Jan 13  0.0  0.0 [cpuhp/1]
root        15     2     0   Jan 13  0.0  0.0 [watchdog/1]
root        16     2     0   Jan 13  0.0  0.0 [migration/1]
root        17     2     0   Jan 13  0.0  0.0 [ksoftirqd/1]
root        19     2     0   Jan 13  0.0  0.0 [kworker/1:0H]
root        20     2     0   Jan 13  0.0  0.0 [cpuhp/2]
root        21     2     0   Jan 13  0.0  0.0 [watchdog/2]
root        22     2     0   Jan 13  0.0  0.0 [migration/2]
root        23     2     0   Jan 13  0.0  0.0 [ksoftirqd/2]
root        25     2     0   Jan 13  0.0  0.0 [kworker/2:0H]
root        26     2     0   Jan 13  0.0  0.0 [cpuhp/3]
root        27     2     0   Jan 13  0.0  0.0 [watchdog/3]
root        28     2     0   Jan 13  0.0  0.0 [migration/3]
root        29     2     0   Jan 13  0.0  0.0 [ksoftirqd/3]
root        31     2     0   Jan 13  0.0  0.0 [kworker/3:0H]
root        32     2     0   Jan 13  0.0  0.0 [cpuhp/4]
root        33     2     0   Jan 13  0.0  0.0 [watchdog/4]
root        34     2     0   Jan 13  0.0  0.0 [migration/4]
root        35     2     0   Jan 13  0.0  0.0 [ksoftirqd/4]
root        37     2     0   Jan 13  0.0  0.0 [kworker/4:0H]
root        39     2     0   Jan 13  0.0  0.0 [cpuhp/5]
root        40     2     0   Jan 13  0.0  0.0 [watchdog/5]
root        41     2     0   Jan 13  0.0  0.0 [migration/5]
root        42     2     0   Jan 13  0.0  0.0 [ksoftirqd/5]
root        44     2     0   Jan 13  0.0  0.0 [kworker/5:0H]
root        45     2     0   Jan 13  0.0  0.0 [cpuhp/6]
root        46     2     0   Jan 13  0.0  0.0 [watchdog/6]
root        47     2     0   Jan 13  0.0  0.0 [migration/6]
root        48     2     0   Jan 13  0.0  0.0 [ksoftirqd/6]
root        50     2     0   Jan 13  0.0  0.0 [kworker/6:0H]
root        51     2     0   Jan 13  0.0  0.0 [cpuhp/7]
root        52     2     0   Jan 13  0.0  0.0 [watchdog/7]
root        53     2     0   Jan 13  0.0  0.0 [migration/7]
root        54     2     0   Jan 13  0.0  0.0 [ksoftirqd/7]
root        56     2     0   Jan 13  0.0  0.0 [kworker/7:0H]
root        57     2     0   Jan 13  0.0  0.0 [cpuhp/8]
root        58     2     0   Jan 13  0.0  0.0 [watchdog/8]
root        59     2     0   Jan 13  0.0  0.0 [migration/8]
root        60     2     0   Jan 13  0.0  0.0 [ksoftirqd/8]
root        62     2     0   Jan 13  0.0  0.0 [kworker/8:0H]
root        63     2     0   Jan 13  0.0  0.0 [cpuhp/9]
root        64     2     0   Jan 13  0.0  0.0 [watchdog/9]
root        65     2     0   Jan 13  0.0  0.0 [migration/9]
root        66     2     0   Jan 13  0.0  0.0 [ksoftirqd/9]
root        68     2     0   Jan 13  0.0  0.0 [kworker/9:0H]
root        69     2     0   Jan 13  0.0  0.0 [cpuhp/10]
root        70     2     0   Jan 13  0.0  0.0 [watchdog/10]
root        71     2     0   Jan 13  0.0  0.0 [migration/10]
root        72     2     0   Jan 13  0.0  0.0 [ksoftirqd/10]
root        74     2     0   Jan 13  0.0  0.0 [kworker/10:0H]
root        75     2     0   Jan 13  0.0  0.0 [cpuhp/11]
root        76     2     0   Jan 13  0.0  0.0 [watchdog/11]
root        77     2     0   Jan 13  0.0  0.0 [migration/11]
root        78     2     0   Jan 13  0.0  0.0 [ksoftirqd/11]
root        80     2     0   Jan 13  0.0  0.0 [kworker/11:0H]
root        81     2     0   Jan 13  0.0  0.0 [cpuhp/12]
root        82     2     0   Jan 13  0.0  0.0 [watchdog/12]
root        83     2     0   Jan 13  0.0  0.0 [migration/12]
root        84     2     0   Jan 13  0.0  0.0 [ksoftirqd/12]
root        86     2     0   Jan 13  0.0  0.0 [kworker/12:0H]
root        87     2     0   Jan 13  0.0  0.0 [cpuhp/13]
root        88     2     0   Jan 13  0.0  0.0 [watchdog/13]
root        89     2     0   Jan 13  0.0  0.0 [migration/13]
root        90     2     0   Jan 13  0.0  0.0 [ksoftirqd/13]
root        92     2     0   Jan 13  0.0  0.0 [kworker/13:0H]
root        93     2     0   Jan 13  0.0  0.0 [cpuhp/14]
root        94     2     0   Jan 13  0.0  0.0 [watchdog/14]
root        95     2     0   Jan 13  0.0  0.0 [migration/14]
root        96     2     0   Jan 13  0.0  0.0 [ksoftirqd/14]
root        98     2     0   Jan 13  0.0  0.0 [kworker/14:0H]
root        99     2     0   Jan 13  0.0  0.0 [cpuhp/15]
root       100     2     0   Jan 13  0.0  0.0 [watchdog/15]
root       101     2     0   Jan 13  0.0  0.0 [migration/15]
root       102     2     0   Jan 13  0.0  0.0 [ksoftirqd/15]
root       104     2     0   Jan 13  0.0  0.0 [kworker/15:0H]
root       105     2     0   Jan 13  0.0  0.0 [kdevtmpfs]
root       106     2     0   Jan 13  0.0  0.0 [netns]
root       107     2     0   Jan 13  0.0  0.0 [rcu_tasks_kthre]
root       108     2     0   Jan 13  0.0  0.0 [kauditd]
root       125     2     0   Jan 13  0.0  0.0 [khungtaskd]
root       126     2     0   Jan 13  0.0  0.0 [oom_reaper]
root       127     2     0   Jan 13  0.0  0.0 [writeback]
root       128     2     0   Jan 13  0.0  0.0 [kcompactd0]
root       129     2     0   Jan 13  0.0  0.0 [kcompactd1]
root       130     2     0   Jan 13  0.0  0.0 [ksmd]
root       131     2     0   Jan 13  0.0  0.0 [khugepaged]
root       132     2     0   Jan 13  0.0  0.0 [crypto]
root       133     2     0   Jan 13  0.0  0.0 [kintegrityd]
root       134     2     0   Jan 13  0.0  0.0 [kblockd]
root       135     2     0   Jan 13  0.0  0.0 [ata_sff]
root       136     2     0   Jan 13  0.0  0.0 [md]
root       137     2     0   Jan 13  0.0  0.0 [edac-poller]
root       138     2     0   Jan 13  0.0  0.0 [devfreq_wq]
root       139     2     0   Jan 13  0.0  0.0 [watchdogd]
root       142     2     0   Jan 13  0.2  0.0 [kswapd0]
root       143     2     0   Jan 13  0.3  0.0 [kswapd1]
root       144     2     0   Jan 13  0.0  0.0 [kworker/u51:0]
root       145     2     0   Jan 13  0.0  0.0 [kworker/u52:0]
root       146     2     0   Jan 13  0.0  0.0 [kworker/u53:0]
root       147     2     0   Jan 13  0.0  0.0 [ecryptfs-kthrea]
root       189     2     0   Jan 13  0.0  0.0 [kthrotld]
root       190     2     0   Jan 13  0.0  0.0 [acpi_thermal_pm]
root       195     2     0   Jan 13  0.0  0.0 [ipv6_addrconf]
root       204     2     0   Jan 13  0.0  0.0 [kstrp]
root       222     2     0   Jan 13  0.0  0.0 [charger_manager]
root       279     2     0   Jan 13  0.0  0.0 [scsi_eh_0]
root       280     2     0   Jan 13  0.0  0.0 [scsi_tmf_0]
root       281     2     0   Jan 13  0.0  0.0 [scsi_eh_1]
root       282     2     0   Jan 13  0.0  0.0 [scsi_tmf_1]
root       283     2     0   Jan 13  0.0  0.0 [scsi_eh_2]
root       284     2     0   Jan 13  0.0  0.0 [scsi_tmf_2]
root       285     2     0   Jan 13  0.0  0.0 [scsi_eh_3]
root       286     2     0   Jan 13  0.0  0.0 [scsi_tmf_3]
root       287     2     0   Jan 13  0.0  0.0 [scsi_eh_4]
root       288     2     0   Jan 13  0.0  0.0 [scsi_tmf_4]
root       289     2     0   Jan 13  0.0  0.0 [scsi_eh_5]
root       290     2     0   Jan 13  0.0  0.0 [scsi_tmf_5]
root       291     2     0   Jan 13  0.0  0.0 [scsi_eh_6]
root       292     2     0   Jan 13  0.0  0.0 [scsi_tmf_6]
root       305     2     0   Jan 13  0.0  0.0 [kworker/15:1H]
root       306     2     0   Jan 13  0.0  0.0 [kworker/4:1H]
root       307     2     0   Jan 13  0.0  0.0 [kworker/8:1H]
root       308     2     0   Jan 13  0.0  0.0 [kworker/1:1H]
root       318     2     0   Jan 13  0.0  0.0 [kworker/14:1H]
root       322     2     0   Jan 13  0.0  0.0 [kworker/5:1H]
root       323     2     0   Jan 13  0.0  0.0 [kworker/6:1H]
root       330     2     0   Jan 13  0.0  0.0 [kworker/3:1H]
root       334     2     0   Jan 13  0.0  0.0 [kworker/2:1H]
root       337     2     0   Jan 13  0.0  0.0 [kworker/9:1H]
root       341     2     0   Jan 13  0.0  0.0 [kworker/12:1H]
root       342     2     0   Jan 13  0.0  0.0 [kworker/13:1H]
root       344     2     0   Jan 13  0.0  0.0 [kworker/0:1H]
root       346     2     0   Jan 13  0.0  0.0 [kworker/11:1H]
root       348     2     0   Jan 13  0.0  0.0 [jbd2/sda3-8]
root       349     2     0   Jan 13  0.0  0.0 [ext4-rsv-conver]
root       362     2     0   Jan 13  0.0  0.0 [kworker/10:1H]
root       376     2     0 09:39:02  0.0  0.0 [kworker/11:0]
root       402     2     0   Jan 13  0.0  0.0 [kworker/7:1H]
root       499     2     0   Jan 13  0.0  0.0 [kipmi0]
root       532     2     0   Jan 13  0.0  0.0 [ttm_swap]
root       692     2     0   Jan 13  0.0  0.0 [ext4-rsv-conver]
jenkins    932  2962  2962 12:31:15  0.0  0.0 /bin/bash -xe /tmp/jenkins2194309733728387977.sh
jenkins    934   932  2962 12:31:15  0.0  0.0 bash .test-infra/scripts/pre-docker-tests.sh
jenkins    937   934  2962 12:31:15  0.0  0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
root      1995     2     0 09:44:03  0.0  0.0 [kworker/15:0]
root      2142 32489 12231   May 14  0.0  0.0 [sh] <defunct>
jenkins   2962 32679  2962 00:16:55  2.5 12.7 /home/jenkins/tools/java/latest1.8/bin/java -Xmx16g -Xms512m -jar remoting.jar -workDir /home/jenkins/jenkins-slave -jar-cache /home/jenkins/jenkins-slave/remoting/jarCache
root      4152     2     0 07:39:26  0.0  0.0 [kworker/0:2]
root      4361     2     0 23:39:54  0.0  0.0 [kworker/4:0]
root      4720     2     0 08:10:10  0.0  0.0 [kworker/6:1]
root      5168     2     0 06:06:00  0.0  0.0 [kworker/7:2]
root      5553     2     0 21:14:28  0.0  0.0 [kworker/8:1]
root      5959     2     0 07:09:23  0.0  0.0 [kworker/8:2]
root      6313     2     0 11:11:48  0.0  0.0 [kworker/10:0]
root      6443     2     0 07:10:55  0.0  0.0 [kworker/12:1]
root      7110     2     0   May 06  0.0  0.0 [loop0]
root      7941     2     0 11:16:53  0.0  0.0 [kworker/10:2]
root      9013     2     0 03:14:07  0.0  0.0 [kworker/7:1]
root     11871     2     0 04:23:31  0.0  0.0 [kworker/u48:2]
root     13325 32489 12231 07:44:07  0.0  0.0 [sh] <defunct>
root     13816     2     0 08:39:17  0.0  0.0 [kworker/9:2]
root     15615     2     0 11:39:17  0.0  0.0 [kworker/15:1]
root     15688     2     0 00:12:23  0.0  0.0 [kworker/9:1]
root     15694     2     0 11:39:22  0.0  0.0 [kworker/2:1]
root     16379     2     0   Feb 04  0.0  0.0 [dio/sda3]
root     16580     2     0   May 01  0.0  0.0 [loop2]
root     17699     2     0   Mar 30  0.0  0.0 [loop5]
root     19431     2     0 00:47:31  0.0  0.0 [kworker/5:0]
root     20406     2     0 05:39:26  0.0  0.0 [kworker/3:2]
root     20722     2     0   Jan 29  0.0  0.0 [xfsalloc]
root     20723     2     0   Jan 29  0.0  0.0 [xfs_mru_cache]
root     20734     2     0   Jan 29  0.0  0.0 [jfsIO]
root     20735     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20736     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20737     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20738     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20740     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20741     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20742     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20743     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20744     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20745     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20746     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20747     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20748     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20749     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20750     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20751     2     0   Jan 29  0.0  0.0 [jfsCommit]
root     20752     2     0   Jan 29  0.0  0.0 [jfsSync]
root     21186     2     0 05:41:48  0.0  0.0 [kworker/1:0]
root     21726     2     0   Apr 22  0.0  0.0 [loop4]
root     22606     2     0 07:53:57  0.0  0.0 [kworker/u48:0]
root     22695     2     0 12:00:42  0.0  0.0 [kworker/u49:0]
root     23171     2     0 03:39:26  0.0  0.0 [kworker/4:1]
root     23316     2     0 09:09:06  0.0  0.0 [kworker/1:2]
root     24543     2     0 20:16:46  0.0  0.0 [kworker/5:1]
root     26150     2     0 12:09:26  0.0  0.0 [kworker/12:2]
root     26691     2     0 12:11:03  0.0  0.0 [kworker/14:0]
root     26769     2     0 12:11:22  0.0  0.0 [kworker/u49:2]
root     27384     2     0 04:39:21  0.0  0.0 [kworker/13:1]
root     27675     2     0 10:39:17  0.0  0.0 [kworker/6:2]
root     27970     2     0 10:40:03  0.0  0.0 [kworker/14:2]
root     28391     2     0   Mar 17  0.0  0.0 [loop9]
root     29115     1 29115 00:15:10  0.0  0.0 /sbin/agetty -o -p -- \u --noclear tty1 linux
root     29116     2     0 00:15:10  0.0  0.0 [kworker/11:1]
syslog   29117     1 29117 00:15:10  0.0  0.0 /usr/sbin/rsyslogd -n
root     29120     1 29120 00:15:10  0.0  0.0 /lib/systemd/systemd-udevd
root     29121     1 29121 00:15:10  0.0  0.0 /lib/systemd/systemd-journald
root     29144     2     0 00:15:10  0.0  0.0 [kworker/2:0]
root     29161     2     0 00:15:10  0.0  0.0 [kworker/13:2]
root     29189     2     0 00:15:11  0.0  0.0 [kworker/0:1]
root     29205     1 29205 00:15:11  0.0  0.0 /lib/systemd/systemd-logind
root     29206     1 29206 00:15:11  0.0  0.0 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS0 vt220
root     29211     1 29211 00:15:11  0.0  0.0 /usr/lib/snapd/snapd
systemd+ 29251     1 29251 00:15:11  0.0  0.0 /lib/systemd/systemd-networkd
root     29260     1 29260 00:15:11  0.0  0.0 /usr/sbin/sshd -D
root     29296     1 29296 00:15:11  0.0  0.0 /usr/sbin/nscd
root     29323     1 29323 00:15:11  0.0  0.0 /usr/bin/python3 /usr/bin/fail2ban-server -xf start
root     29324     1 29324 00:15:11  0.9  0.0 /opt/datadog-agent/embedded/bin/system-probe --config=/etc/datadog-agent/system-probe.yaml --pid=/opt/datadog-agent/run/system-probe.pid
dd-agent 29326     1 29326 00:15:11  0.8  0.2 /opt/datadog-agent/bin/agent/agent run -p /opt/datadog-agent/run/agent.pid
dd-agent 29331     1 29331 00:15:11  0.7  0.1 /opt/datadog-agent/embedded/bin/process-agent --config=/etc/datadog-agent/datadog.yaml --sysprobe-config=/etc/datadog-agent/system-probe.yaml --pid=/opt/datadog-agent/run/process-agent.pid
message+ 29373     1 29373 00:15:11  0.0  0.0 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
systemd+ 29456     1 29456 00:15:14  0.0  0.0 /lib/systemd/systemd-resolved
jenkins  29463     1 29463 00:15:14  0.0  0.0 /lib/systemd/systemd --user
jenkins  29465 29463 29463 00:15:14  0.0  0.0 (sd-pam)
root     29683     2     0 23:55:11  0.0  0.0 [kworker/3:1]
root     29743     2     0   Mar 26  0.0  0.0 [loop1]
root     29801     2     0 12:20:05  0.0  0.0 [kworker/u50:0]
root     30691     2     0 21:32:26  0.0  0.0 [loop3]
root     31075     2     0   Apr 08  0.0  0.0 [loop7]
root     31642     2     0 12:25:59  0.0  0.0 [kworker/u50:2]
root     32410 29260 32410 00:16:18  0.0  0.0 sshd: jenkins [priv]
root     32489     1 12231   May 14  1.3  0.0 nessusd -q
jenkins  32679 32410 32410 00:16:20  0.0  0.0 sshd: jenkins@notty
+ docker info
Client:
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #581

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/581/display/redirect>

Changes:


------------------------------------------
[...truncated 31.69 KB...]
74e27dc593d4: Download complete
a8034acd5893: Verifying Checksum
a8034acd5893: Download complete
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:5393a912e2d17cd657149ce5dfeb9675eff8282401ff1da3744be1f2bec7c283
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6928333031985329169.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:a1fa8516d9598bc801e6e7d7a20ef52b1b2e993dbe491d03b538f679979c5647
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5836966520381088006.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:afdcd179c2c03e06dedf4f4a278e5e060ca963d0ffd59c7490d89b6b6940cb5f
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2561135303634763148.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins75214567774751156.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=463e474428a462a1380e7d1d22591f504dacc86f427c5049a5b369bed19a93c2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, six, filelock, zipp, importlib-metadata, distlib, appdirs, virtualenv, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f1f58043d50>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.75s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #580

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/580/display/redirect>

Changes:


------------------------------------------
[...truncated 31.04 KB...]
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
90fe46dd8199: Pull complete
4352dcff7819: Download complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6530796142699758388.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1445950896918000553.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5707581856607403521.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2450375473043472872.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-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=851b2244257e8c3c64217bc690d7542cf55bad726148aa8445bcfafb8defb5d5
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, six, appdirs, zipp, importlib-metadata, distlib, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.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:472: 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." % 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 0x7efd13120ad0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.33s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #579

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/579/display/redirect>

Changes:


------------------------------------------
[...truncated 32.74 KB...]
5ae88975c1eb: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins275139163113738166.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8195013153730428626.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4142847903065983266.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2574815191832538094.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
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.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=23e50d7e9a074802e888f416e98be2ebe325ed104258bdc2b6a1f835ff313ca8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, appdirs, filelock, distlib, six, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fa60b817d10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.45s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #578

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/578/display/redirect>

Changes:


------------------------------------------
[...truncated 29.93 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins933574123800107427.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins715988353099004717.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3972480586662878165.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7882028968600118293.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4677029006153197777.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2cc52bc76d8eba7ed9ecd9908efe9be8f175f87b883950440672df792d91d49e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, colorlog, appdirs, six, distlib, filelock, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.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:472: 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." % 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 0x7ffa26933050>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.37s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #577

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/577/display/redirect>

Changes:


------------------------------------------
[...truncated 33.84 KB...]
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3514268397988738815.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4854222028398306650.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4768667465760567285.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7602461018580796819.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=f53bdcc683960c0e767a931e622a72956101bd297286c5f687bfcaf346b8cbf1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, distlib, six, zipp, importlib-metadata, appdirs, filelock, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.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:472: 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." % 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 0x7fc88c9d6a10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.85s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #576

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/576/display/redirect>

Changes:


------------------------------------------
[...truncated 30.98 KB...]
bbc37f14aded: Pull complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3477699313702993063.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5054523204935635449.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8474872989560581593.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3857961581968132547.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-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=9521654900750eac3c273d5b8d4699c03a29e11f499826c9191e1b97d5049a9a
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, appdirs, zipp, importlib-metadata, filelock, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.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:472: 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." % 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 0x7f400b4afc50>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #575

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/575/display/redirect>

Changes:


------------------------------------------
[...truncated 31.18 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins2176105258436010171.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins437986085215798024.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6654844720976479472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6551132781775510060.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2415787624688746481.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=4401d59b62c94c3182c27d1d8d6dc53f37df3e188fa30d7ca60800b10918c446
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, distlib, appdirs, zipp, importlib-metadata, filelock, six, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f9a5bdfbcd0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.86s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #574

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/574/display/redirect?page=changes>

Changes:

[github] Issue #2106: Update ZookKeeper dependency to 3.5.7


------------------------------------------
[...truncated 35.74 KB...]
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
a8034acd5893: Verifying Checksum
a8034acd5893: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2056978354422921494.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3699586526895490045.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins885344277178172900.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2337791820087433954.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-20.0.20-py2.py3-none-any.whl (4.7 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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=6c7dd661cf633e59a9ecb54aa20abc5793eec5b5a3c74fa2395413692c22d73e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: appdirs, distlib, filelock, six, zipp, importlib-metadata, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
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)
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 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:472: 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." % 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 0x7fa2c4a16790>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.75s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #573

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/573/display/redirect?page=changes>

Changes:

[github] Do not download SNAPSHOT during GitHub actions checks


------------------------------------------
[...truncated 31.23 KB...]
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
90fe46dd8199: Pull complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5063443840242267368.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5505680357026770676.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8589868218171141894.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6379675462273023630.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-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=14cbdcc0714ae4ef1bfd0028b0022d1bfda7adfe745bf6983e68e0a1eb8e553c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, six, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f0e835f0590>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #572

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/572/display/redirect>

Changes:


------------------------------------------
[...truncated 47.41 KB...]
a8034acd5893: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
1aa33568be24: Download complete
90fe46dd8199: Pull complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins329848875993299270.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3596880797388273592.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5344720469012629970.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4820928749160411754.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-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=19fc846037bdf5bdd2a1696a81eb6be4b640409ab5e89f1fd37ce57af9315d06
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.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/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 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:472: 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." % 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 0x7f58816c9a90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #571

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/571/display/redirect?page=changes>

Changes:

[github] Issue #2212: Fix issues in Bookkeeper Docker image that prevented

[github] Rerun the failed tests by comments


------------------------------------------
[...truncated 24.62 KB...]
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins330144879597476756.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9003605728330912984.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4470522464257182430.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5276412288067498723.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 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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b8a1bad3d7c60596ff5fc3cfc87fc4766f8a02d273887efba9598a213093c321
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, colorlog, filelock, appdirs, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f326ba15710>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.57s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #570

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/570/display/redirect>

Changes:


------------------------------------------
[...truncated 31.31 KB...]
a8034acd5893: Download complete
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1868243683396091256.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6376025151488735865.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5761832533773229097.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6567616479433159755.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=3cf46ab15d9ed73c6547e50616dbc8c949caf7444280ce5bada610828271ce39
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, colorlog, filelock, distlib, six, appdirs, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f72958e0d10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.72s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #569

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/569/display/redirect?page=changes>

Changes:

[github] ISSUE #2310: Adds the autorecovery status service.

[github] [DOC] SSLContextFactory -> TLSContextFactory


------------------------------------------
[...truncated 29.55 KB...]
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2473484529947776218.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2913944596132874631.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
b2851aedc5c4: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4244058481643308515.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7287709710950278474.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2c6ece96ef2636b3124c66b411447dcf66fd10c0395af66ee695937d118e68f2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, appdirs, filelock, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f36330562d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.44s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #568

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/568/display/redirect>

Changes:


------------------------------------------
[...truncated 28.81 KB...]
 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:
5c3a28e2b592cab1face5160a9fcb9be1a7f750bb27d0fad2de2f5ddd99597d4

Total reclaimed space: 36.93MB
+ docker network prune -f --filter until=12h
+ echo 27986
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins4060805993602432548.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6918079194887616077.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8463741039700201556.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8884552219446771505.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5267082545749123568.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-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=c928011abcb773b1ff40adc15c568da7b54d795f381b68eb7dabce43b9a55266
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, six, filelock, appdirs, distlib, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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:472: 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." % 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 0x7f523c2616d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.41s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #567

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/567/display/redirect>

Changes:


------------------------------------------
[...truncated 30.16 KB...]
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/jenkins6931641642940993154.sh
+ docker pull python:3.7
3.7: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
deb569b08de6: Already exists
1aa33568be24: Already exists
a8034acd5893: Already exists
5ae88975c1eb: Pulling fs layer
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6754430061782214432.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins457839503569836420.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1161099563891650262.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins961390410694604799.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=5180e624097b69d17a1a9bbd8394d2dc1654f9857ea12433d93e4aeabe768592
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, filelock, six, appdirs, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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:472: 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." % 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 0x7fb235f63250>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.33s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #566

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/566/display/redirect>

Changes:


------------------------------------------
[...truncated 31.26 KB...]
7dfa9b763153: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2596788234031355184.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7497407240966563794.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7471232507487958066.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins582958044214974234.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-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ba4f9c062fa1f2e8871d89e4aa9d7ab03c77dd25e3e6ad24357e62892fb0489b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, appdirs, distlib, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
WARNING: You are using pip version 20.0.2; however, version 20.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
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:472: 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." % 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 0x7f22ea9262d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.33s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #565

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/565/display/redirect>

Changes:


------------------------------------------
[...truncated 31.54 KB...]
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4093351898551487008.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9109160552056740483.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
2829336fe587: Verifying Checksum
2829336fe587: Download complete
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3510835935189552577.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8429633998849139627.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7819eeded141f2953d6311e7846a80416c50f403d625d396d918b7108e3767dc
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, zipp, importlib-metadata, six, appdirs, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f69b37b3750>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #564

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/564/display/redirect>

Changes:


------------------------------------------
[...truncated 143.68 KB...]
a8034acd5893: Pulling fs layer
7dfa9b763153: Pulling fs layer
a8034acd5893: Waiting
7dfa9b763153: Waiting
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8162174764056274101.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2899909835630220851.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8683778180791822362.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6571210566997275906.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=00a51d463ac06fff265363ccaa883cccd63d29dfbe08a71be65fa4c8799e1858
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, appdirs, zipp, importlib-metadata, distlib, six, filelock, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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/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 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:472: 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." % 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 0x7fbdd554ec10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #563

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/563/display/redirect>

Changes:


------------------------------------------
[...truncated 28.63 KB...]
 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
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 27897
+ 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
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins3422872534812558504.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4540852313252850632.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2595554100487110907.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1455773840006047045.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
39db0bc48c26: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1769590929821634437.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7ceeeb49ab3867f60e6a1b2e5ec2b8de785ae5668c4a0e38fa088996d648480d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, distlib, six, appdirs, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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:472: 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." % 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 0x7f2953e06f90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #562

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/562/display/redirect>

Changes:


------------------------------------------
[...truncated 31.25 KB...]
7dfa9b763153: Waiting
35a4f1977689: Verifying Checksum
35a4f1977689: Download complete
bbc37f14aded: Verifying Checksum
bbc37f14aded: Download complete
90fe46dd8199: Verifying Checksum
90fe46dd8199: Download complete
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
74e27dc593d4: Verifying Checksum
74e27dc593d4: Download complete
a8034acd5893: Verifying Checksum
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins402913399639363328.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6262385273787869746.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8490813716483246160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6360699935546785626.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=59caf92658ed0ecf979bc59d9f5a2d3ef7d3f1d1544d61b1896f9a437e3ddd5f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, filelock, six, distlib, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7ff86c1a9bd0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.67s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #561

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/561/display/redirect>

Changes:


------------------------------------------
[...truncated 30.59 KB...]
74e27dc593d4: Waiting
4352dcff7819: Waiting
deb569b08de6: Waiting
a8034acd5893: Waiting
1aa33568be24: Waiting
35a4f1977689: Verifying Checksum
35a4f1977689: Download complete
bbc37f14aded: Download complete
90fe46dd8199: Verifying Checksum
90fe46dd8199: Download complete
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
74e27dc593d4: Verifying Checksum
74e27dc593d4: Download complete
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3132657422221607240.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6987938562901419601.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5479940060512044896.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2462189431951053992.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-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=fd975fefa0f443ac57364000adfb0519ff0eac1705bb27c2f0531c3cb41edb3b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: appdirs, six, zipp, importlib-metadata, filelock, distlib, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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:472: 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." % 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 0x7fc4a858d950>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.53s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #560

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/560/display/redirect>

Changes:


------------------------------------------
[...truncated 28.74 KB...]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 68
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  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: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 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: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 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:
3e3d21006f03fc4f0d640e5fd5baf28ca3ea88fdb6104b0b3aa0a9ee42f68bed

Total reclaimed space: 36.89MB
+ docker network prune -f --filter until=12h
+ echo 46637
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins3120676144357240020.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:57a79a87aa1cbbff53191ba877d9fc1d1d7669466f365f1590c31cb569be9ccc
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2118005398162113997.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:0c3e95e962af1bcaa0b945fcaa499de4a152dd1da2860e70f4686dcb759a08f5
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4549814743586186485.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:c29d8442e404ec84f3f73bf09f651f8ff08fb7548112f8314c524006c9872926
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1273103604669725068.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6263283047943685167.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1390f420a1f5a2b0bed191503a4007121aac326b53ff247b4d467337c0632eae
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, appdirs, zipp, importlib-metadata, distlib, six, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f79dc8e8750>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.67s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #559

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/559/display/redirect?page=changes>

Changes:

[github] Force to use Python grpcio less then 1.26.0

[github] ISSUE #2274: The 'metaformat' command does not delete 'idgen' znode

[github] Add forkCount option to parallelize build and tests

[github] Fix mistakes in documentation

[github] Bump libthrift from 0.9.3 to 0.12.0 (#2201)


------------------------------------------
[...truncated 29.62 KB...]
cb2305d99f70: Waiting
cdb74912a692: Waiting
0d421afb0db0: Waiting
fd4b47407fc3: Waiting
dd31e6a9a00f: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
0d421afb0db0: Verifying Checksum
0d421afb0db0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
cdb74912a692: Download complete
dd31e6a9a00f: Verifying Checksum
dd31e6a9a00f: Download complete
cb2305d99f70: Verifying Checksum
cb2305d99f70: Download complete
bb7b28578995: Verifying Checksum
bb7b28578995: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
bb7b28578995: Pull complete
0d421afb0db0: Pull complete
dd31e6a9a00f: Pull complete
cdb74912a692: Pull complete
cb2305d99f70: Pull complete
Digest: sha256:d04bfd739021a596a89451260e4ff6e7f250d9a52877f52d391f72e43e54cb58
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4888576259251285855.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
bb7b28578995: Already exists
6ebea4a9a306: Pulling fs layer
22a2327cd1ca: Pulling fs layer
bfbf91c84bbe: Pulling fs layer
f6b29b259c5c: Pulling fs layer
f6b29b259c5c: Waiting
bfbf91c84bbe: Download complete
6ebea4a9a306: Verifying Checksum
6ebea4a9a306: Download complete
f6b29b259c5c: Verifying Checksum
6ebea4a9a306: Pull complete
22a2327cd1ca: Verifying Checksum
22a2327cd1ca: Download complete
22a2327cd1ca: Pull complete
bfbf91c84bbe: Pull complete
f6b29b259c5c: Pull complete
Digest: sha256:d235ef613d6f8f2e313cb2e8bfc281a5680f4f7cb38329abb24815a0350484a7
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7970369573749030208.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
bb7b28578995: Already exists
6ebea4a9a306: Already exists
871d9990e307: Pulling fs layer
c0d9b59741f6: Pulling fs layer
97beb6ee6e1d: Pulling fs layer
c0d9b59741f6: Verifying Checksum
c0d9b59741f6: Download complete
97beb6ee6e1d: Verifying Checksum
97beb6ee6e1d: Download complete
871d9990e307: Verifying Checksum
871d9990e307: Download complete
871d9990e307: Pull complete
c0d9b59741f6: Pull complete
97beb6ee6e1d: Pull complete
Digest: sha256:c5f6a2954682c44e831e54068d5b2f1aeb83a63ea4e1cac6e4448ed4208d22e6
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5551346247968716507.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins17609041487901854.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 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 six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=70c255fb9a13e50322176ef5346cf6125ef4c132f81d40467e24e4b0710860e1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, six, distlib, zipp, importlib-metadata, appdirs, filelock, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7ff1d2efee10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #558

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/558/display/redirect>

Changes:


------------------------------------------
[...truncated 30.62 KB...]
cabba05798b6: Pulling fs layer
abe267d9b00c: Pulling fs layer
b327ce3e08b8: Pulling fs layer
b32f6bf7d96d: Waiting
b327ce3e08b8: Waiting
cabba05798b6: Waiting
abe267d9b00c: Waiting
3940e1b57073: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
3940e1b57073: Verifying Checksum
3940e1b57073: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
abe267d9b00c: Download complete
cabba05798b6: Verifying Checksum
cabba05798b6: Download complete
b327ce3e08b8: Verifying Checksum
b327ce3e08b8: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
3940e1b57073: Pull complete
cabba05798b6: Pull complete
abe267d9b00c: Pull complete
b327ce3e08b8: Pull complete
Digest: sha256:8f90a1f400c9ae15c14d0b81d89a8b2667c45e2d84304ae63a5242990bc8da60
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7584148033830278193.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Verifying Checksum
128c8ba918f2: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
32cd559ee9c9: Verifying Checksum
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:1a80ec65cb05795c261598164a1516e8277343ec66e35f51af08ffe79d00f7e0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4713698617166186973.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
8121095ea7c0: Verifying Checksum
8121095ea7c0: Download complete
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:4290c6894eb09550ff03601b9d3d6e7c59783f9bf861d7f47a705116ecd241ee
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6741799901353611845.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins142465133106361360.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ad8ebf7694ff684a4abc090f975464c4dd935e37d023fa276995c91af520635b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, filelock, appdirs, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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:472: 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." % 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 0x7fdb0b3dd650>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.43s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #557

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/557/display/redirect>

Changes:


------------------------------------------
[...truncated 27.54 KB...]
 Total Memory: 94.37GiB
 Name: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 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:
cb52a53cece2d1348d65cb6e5ce033c8ae486d766d8aa6ee34478f9e1f142d82

Total reclaimed space: 37.33MB
+ docker network prune -f --filter until=12h
+ echo 7868
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull 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/jenkins7505715905172910164.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6538090977833071811.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Download complete
32cd559ee9c9: Verifying Checksum
32cd559ee9c9: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2376360716074752061.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
8121095ea7c0: Verifying Checksum
8121095ea7c0: Download complete
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1833839395993187742.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1546749144811163610.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-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1cf9427ccf7ac9fc77a24a98b636f9917f9ffd4c1cbeb25d52a30860d2caf03c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, appdirs, six, distlib, filelock, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f8c99438c50>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.69s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #556

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/556/display/redirect>

Changes:


------------------------------------------
[...truncated 27.70 KB...]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 36
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  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: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 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:
2b02595fb565312fb4125571beafe02b6a44261f0c6335c44cfd68e45c2a0998

Total reclaimed space: 37.33MB
+ docker network prune -f --filter until=12h
+ echo 19150
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins2069558882761954079.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2492940605881796192.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6358418831377038486.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6956283916810282909.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1937721559106160203.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=13ed163b4e805e97462f702327323f25c0da1597e031d8d50f10ce67e6461ed5
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, distlib, appdirs, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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:472: 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." % 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 0x7f32f308b2d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.41s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #555

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/555/display/redirect>

Changes:


------------------------------------------
[...truncated 30.28 KB...]
b32f6bf7d96d: Pulling fs layer
3940e1b57073: Pulling fs layer
cabba05798b6: Pulling fs layer
abe267d9b00c: Pulling fs layer
b327ce3e08b8: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
b327ce3e08b8: Waiting
3940e1b57073: Waiting
abe267d9b00c: Waiting
cabba05798b6: Waiting
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
3940e1b57073: Verifying Checksum
3940e1b57073: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
abe267d9b00c: Verifying Checksum
abe267d9b00c: Download complete
cabba05798b6: Verifying Checksum
b327ce3e08b8: Verifying Checksum
b327ce3e08b8: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
3940e1b57073: Pull complete
cabba05798b6: Pull complete
abe267d9b00c: Pull complete
b327ce3e08b8: Pull complete
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins775160849349138000.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Verifying Checksum
128c8ba918f2: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
32cd559ee9c9: Verifying Checksum
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins465373938426374445.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
8121095ea7c0: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3547610706514892561.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
6f4489a7e4cf: Pulling fs layer
8ccb09bbf0df: Pulling fs layer
9d9d367dd180: Pulling fs layer
a120787b5ce8: Pulling fs layer
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
9d9d367dd180: Download complete
8ccb09bbf0df: Verifying Checksum
8ccb09bbf0df: Download complete
a120787b5ce8: Verifying Checksum
a120787b5ce8: Download complete
6f4489a7e4cf: Pull complete
8ccb09bbf0df: Pull complete
9d9d367dd180: Pull complete
a120787b5ce8: Pull complete
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5453356667747756162.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b59951e0eb07c9e1bef28c3452f08fc51ffcff6ccf5c55ae452329353fb0c8f6
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, filelock, appdirs, distlib, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.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:472: 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." % 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 0x7f92d1e5b090>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.31s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #554

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/554/display/redirect>

Changes:


------------------------------------------
[...truncated 29.66 KB...]
cabba05798b6: Pulling fs layer
abe267d9b00c: Pulling fs layer
b327ce3e08b8: Pulling fs layer
fd4b47407fc3: Waiting
3940e1b57073: Waiting
b32f6bf7d96d: Waiting
cabba05798b6: Waiting
abe267d9b00c: Waiting
b327ce3e08b8: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
3940e1b57073: Verifying Checksum
3940e1b57073: Download complete
abe267d9b00c: Download complete
cabba05798b6: Verifying Checksum
cabba05798b6: Download complete
b327ce3e08b8: Verifying Checksum
b327ce3e08b8: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
3940e1b57073: Pull complete
cabba05798b6: Pull complete
abe267d9b00c: Pull complete
b327ce3e08b8: Pull complete
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6879340064352799611.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Verifying Checksum
128c8ba918f2: Download complete
32cd559ee9c9: Verifying Checksum
32cd559ee9c9: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7201072190673537418.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
8121095ea7c0: Download complete
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3116286554867462082.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
6f4489a7e4cf: Pulling fs layer
8ccb09bbf0df: Pulling fs layer
9d9d367dd180: Pulling fs layer
a120787b5ce8: Pulling fs layer
a120787b5ce8: Waiting
6f4489a7e4cf: Download complete
9d9d367dd180: Verifying Checksum
9d9d367dd180: Download complete
8ccb09bbf0df: Verifying Checksum
8ccb09bbf0df: Download complete
a120787b5ce8: Verifying Checksum
a120787b5ce8: Download complete
6f4489a7e4cf: Pull complete
8ccb09bbf0df: Pull complete
9d9d367dd180: Pull complete
a120787b5ce8: Pull complete
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7852083626912148744.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-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=dba3427c617898500c4d48914fbb9b7ce437ca42036631e5d8ad2249f17e4267
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, six, filelock, zipp, importlib-metadata, appdirs, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f8aefbd22d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.65s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #553

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/553/display/redirect>

Changes:


------------------------------------------
[...truncated 31.15 KB...]
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
2447a2c11907: Waiting
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Waiting
fe4ee39b9471: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:521cc815dc19d00c9ece65a6edaecba7e1a6b206eeb118c201b67153b6d3439b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7039247835586614835.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:a97974cc986895042c21cd1dfd493bfa0c74d877f4d86817f646487a3d2a7f45
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins816731172858966282.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:db14d8f6f960582a29f2986ddeb3904db01ea4afefab6f7548e1781b2afd8dd5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins11517765965823087.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:15dd48896f8879fe2d4bcf00acf89a6bbb7da2cb31c2753cafd22a848e251c2d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2646971827264690614.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1da6e2972b54f357490d5e52d110002bc3a4725797fa77eb30c41c8e800d1910
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, appdirs, filelock, six, zipp, importlib-metadata, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.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:472: 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." % 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 0x7f16da9d3510>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #552

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/552/display/redirect>

Changes:


------------------------------------------
[...truncated 29.10 KB...]
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/jenkins1836660899041800747.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4117768609600809543.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9117436853533281979.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2889153134032929491.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins650472020082172762.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
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.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=db4035dd9336ad4efe18557b972226a55f41900c1d53cd7c1c1591867e062ee9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, six, filelock, distlib, appdirs, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f1db54f3890>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.57s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #551

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/551/display/redirect>

Changes:


------------------------------------------
[...truncated 28.42 KB...]
74ab1130643b: Pulling fs layer
f01ec562c947: Waiting
77e905403eac: Pulling fs layer
2447a2c11907: Waiting
77e905403eac: Waiting
fe4ee39b9471: Waiting
74ab1130643b: Waiting
fdd2d569da3e: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Verifying Checksum
b998346ba308: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2412670544288021937.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4586431673008395738.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9055253107158083179.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9151550828715875987.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=fc06b8ff94c47dac38808e2da1352f34efaf2d8a1e26970653a7bebf9d87f2c8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, distlib, filelock, six, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.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/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 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:472: 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." % 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 0x7f2fcc054090>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.43s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #550

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/550/display/redirect?page=changes>

Changes:

[github] Fix batch read data in cache does not take effect


------------------------------------------
[...truncated 29.34 KB...]
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
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins8863327135177238908.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5592086991667341366.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4655423388816596418.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7657954808342408688.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2464835211852051512.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-20.0.17-py2.py3-none-any.whl (4.6 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 six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1891232e8ec6b7d50e0880c32b1b5d114c8761c455fc89c28521d783fba1c3e2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, zipp, importlib-metadata, filelock, appdirs, distlib, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.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:472: 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." % 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 0x7f19f99170d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #549

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/549/display/redirect>

Changes:


------------------------------------------
[...truncated 28.00 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: 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
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins1845989466462329176.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1029105031829570455.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins250624335873915501.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9057576230572268286.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6107239083808036648.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
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.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=30506dcdd13b99cb04df20995a4445768eee452b6a6f640294534a6287ed0101
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, appdirs, six, filelock, distlib, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fe9bba79a50>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.74s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #548

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/548/display/redirect>

Changes:


------------------------------------------
[...truncated 30.50 KB...]
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
f01ec562c947: Waiting
fe4ee39b9471: Waiting
74ab1130643b: Waiting
77e905403eac: Waiting
2447a2c11907: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins145342647776761709.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8394736931572477135.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3263572938880289656.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4741214633449926768.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7851c95b4c86cbe82434a23ebf394cea88faf92cd0b43e8027e494d73ca12bed
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, zipp, importlib-metadata, filelock, appdirs, six, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.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:472: 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." % 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 0x7f6ef3621b10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.43s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #547

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/547/display/redirect>

Changes:


------------------------------------------
[...truncated 27.97 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins7711608361316692603.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5791350937788190885.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8540934391898330124.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8913661469271901734.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8357837153387248936.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=86f63ecdca514c300028c6dc16fa0a7cdebb131c4c7137a33b091ecdae7b0573
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, filelock, six, appdirs, zipp, importlib-metadata, distlib, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fb2b12f1b90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #546

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/546/display/redirect>

Changes:


------------------------------------------
[...truncated 29.92 KB...]
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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6955240348976334811.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9051991469643414144.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6326597967891605199.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2766458950413615613.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2755682672791752780.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7142babb7f81b9e90b1bad38939bd6f0d006a29974b7e2ae33e2bd068c47908c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, six, appdirs, distlib, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fccfef102d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.65s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #545

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/545/display/redirect>

Changes:


------------------------------------------
[...truncated 29.30 KB...]
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins521187471679594270.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4156340317240441313.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7735317335168166545.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4873764175328935469.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
0bd90bd78729: Pull complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5651755590468827562.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-20.0.16-py2.py3-none-any.whl (4.6 MB)
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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=222c3d62910a41611c38cdbe9363a883e4778907c31c34ae5b7ff1cf98ad782f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, six, zipp, importlib-metadata, filelock, appdirs, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.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:472: 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." % 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 0x7f311bbb7e10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.48s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #544

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/544/display/redirect>

Changes:


------------------------------------------
[...truncated 29.82 KB...]
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/jenkins6090697841074246760.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8962182812532367818.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3262991217656567496.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins810387466585633001.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2374772278250179791.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
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.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=61fc5542b9d2ccb94bc028b4f51fa087c4bbbd89e0cd8c0253504d3aaf8d9ea8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, six, filelock, distlib, appdirs, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.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:472: 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." % 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 0x7fc465d0e5d0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.37s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #543

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/543/display/redirect>

Changes:


------------------------------------------
[...truncated 28.08 KB...]
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins1305554391460995333.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5002138258434091326.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5523964103981264718.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8235446041530179811.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Pull complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9213605691952826428.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=339c2a8780903e5864256550544b5baa212ddb7c9a7c6101470274552428034a
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, filelock, six, distlib, appdirs, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f703851af90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.56s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #542

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/542/display/redirect>

Changes:


------------------------------------------
[...truncated 31.57 KB...]
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/jenkins8827378240207645800.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
77e905403eac: Waiting
74ab1130643b: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4073197498766207854.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7773064850531971891.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1517365384009828963.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4687632763451279008.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=35befbd2d759c5b05c01081856482dfb23a6cb7bbe96a4fe396eeecdf2533042
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, appdirs, six, filelock, virtualenv, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f31979d9990>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.41s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #541

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/541/display/redirect>

Changes:


------------------------------------------
[...truncated 28.00 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: 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/jenkins6113220916960956350.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8525811635315045584.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4981478418174499748.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins908090173628188057.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6127913343606452059.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-20.0.16-py2.py3-none-any.whl (4.6 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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7011054a4c61d7cd0cd674ae799621f1fbcabbd10c0b7f418400efb211a13157
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, zipp, importlib-metadata, six, filelock, appdirs, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fa046d73950>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.55s
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 guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #540

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/540/display/redirect>

Changes:


------------------------------------------
[...truncated 30.79 KB...]
 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: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 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:
be549fa12f9d36d808b0fd5980dc35d8e6a9f27f3776092da4316ad231fd91bc

Deleted Images:
deleted: sha256:57a62bf641979cae920f116b70422fcab7adf1feafb1e0184d78af6c123f59be
deleted: sha256:2864cccdfe2681cdf8d17fc36ff56bf44a3a60bd7fad47767c77fe31f961c052
deleted: sha256:50bec16c0ae71543108ef73113a8be82236f44ef3cc57c1e72469020971e090f
deleted: sha256:de498628250dbc75b3ab91985c5c2815fba70a8f74818fb8e74c896f5c316156
deleted: sha256:56f01fabe91d0adc14514323a681096a4a587dfe430bc4a597aa6f544e1c900c
deleted: sha256:f14ab600a99273384b7564ee143346e12b0d6cd38ddf47d2609f96f1cc0136e9
deleted: sha256:e54b544bfcc81e31610f171e66c09a696b77bf88e828c0638417e38724f0e38c
deleted: sha256:9e483efb905d4693001aff2836166cd1aae90dc56897460920372865c5d33243
deleted: sha256:503ed276501f277c9825b5c5de49bb4c83a99c9dcc4ed6e929098e5b29340134
deleted: sha256:0834aae4302a5bb15a7f595fecb095d2c8eddb65536ae3ae68126a8adb8ef978
deleted: sha256:e0c8797a59029ec15f9ad8396aa13571a8d3da08b50fa75f9329527a047898a6
deleted: sha256:1e493ae38cd0ad9aa1319776f100292fd3ef0a219dbfef8096535cc7e244de26
deleted: sha256:c9ff1a948038688c7e0f7a7d30380f931afe9604db5dc33b18c69611ed381014
deleted: sha256:c98a4e74f3d3f73f12a4b54428a3dbb7462399018c6007c203b85fca07633bf2
deleted: sha256:3a909de8efc5a4acaeaa4d08f4ad00172e6b9800564d7e9dd5c08756e86b301b
deleted: sha256:c49218d4988217617bd29fecf6896de2d64935496b827d1ae0c319d6bc1fc918
deleted: sha256:d4b303b27fb83aa6a7333029d18fc8e7049c892a890b0249720af967f895d95a
deleted: sha256:281c266188e6713e86123647ffa1aa84c9d7f395231195f2c71ebd4fde8d743b
deleted: sha256:d234b4310cc71974f28703a0580ad1cb129dc0b1feb1f276f8d44578ea49ba77
deleted: sha256:5a00d413c01926a30a45e704c1ae7e66d540176e59caf7ad4bd36d5cd28998ce
deleted: sha256:f558e6da5e29360b88f2f484135c6dcf1fe3f1d298c679fc24e6e709925e44bf
deleted: sha256:760fdda71c8fffbf9c6cb1a6d4a461fafd72eb507a62dc61f6354bb1c98f7ec2
deleted: sha256:8ba448f3d8b9518ea301d66f09b4c90dc70276c1cdb87ae1b461a61fe0d530d7
deleted: sha256:879731e07ee181cabadd7d2e6c8870fd4ba544fb05949ce108bd4e5793ab8718
deleted: sha256:858a35076f544e782ab6422199fe342ca69f14152cd1461f9fc6f4beda9a76bf
deleted: sha256:393d7bb0808a6378d3ab1074ebc61681e76a3b9414bfe0456afba6da2cb4a743
deleted: sha256:beee9f30bc1f711043e78d4a2be0668955d4b761d587d6f60c2c8dc081efb203

Total reclaimed space: 665.5MB
+ docker network prune -f --filter until=12h
+ echo 62138
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: 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/jenkins8469791532323073068.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9120354105040201407.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3050836062588190005.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2882507139064280418.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8470925614747437517.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-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=29b43d05ad90fe3545ced934b2739ade0df4b04ba428e58e25858ab1d81329fa
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, distlib, filelock, six, appdirs, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fce1ed73190>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.76s
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 guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #539

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/539/display/redirect>

Changes:


------------------------------------------
[...truncated 32.87 KB...]
77e905403eac: Pulling fs layer
fe4ee39b9471: Waiting
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Waiting
f01ec562c947: Waiting
2447a2c11907: Waiting
b998346ba308: Verifying Checksum
b998346ba308: Download complete
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2503156263904553844.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9213417955108175157.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7408919207901229466.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5404176080608228260.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ae2a3e529e3df3aeca0c4530a3f0afaeec896a8df971c0919b3a8a1d8ecfbc08
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, six, appdirs, filelock, virtualenv, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.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:472: 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." % 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 0x7f5242c01790>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.95s
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 guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #538

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/538/display/redirect?page=changes>

Changes:

[github] [bookie-server-config] Avoid considering empty journalDirectories


------------------------------------------
[...truncated 34.87 KB...]
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Waiting
fe4ee39b9471: Waiting
f01ec562c947: Waiting
2447a2c11907: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Verifying Checksum
b998346ba308: Download complete
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
f15005b0235f: Pull complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8538114494295396797.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7250766082372480452.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7440316105805137404.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3745579990651637041.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d0d7037716f6d7f235b5ce78193a0e35c8c5fc04e029e07f4b51010b0845b943
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, appdirs, distlib, six, filelock, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f9dd9ed9ed0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
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 guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #537

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/537/display/redirect>

Changes:


------------------------------------------
[...truncated 31.20 KB...]
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
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins7687363229692853435.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c80cc1f57431fc70aebf667fb7ee6b5ebaa3a7232bd8b8639bb5b33c63619036
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4525736728239225687.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:b1a2752a106a1bd3bf8054c6f262c28a10e4b0f19904a314f7bed1607b527089
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8924740846390576816.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:71f653e24f9fa9869ae4f4ee1c8886608c18656ca83ec1259de5b5146fb2a0c0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6764627984039169489.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:0889f29061bf000c04eec60d608510ef7c2bbe12a32058fad5d77fe325d717d4
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2134806815220710412.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b7da842b1bbd466d9c28fd9cbf30295af9e0cd57a207c94921e72cf3a477a531
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, filelock, appdirs, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7fc6f0c63850>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.71s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #536

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/536/display/redirect?page=changes>

Changes:

[github] Unable to enable TLS if using v2 protocol

[github] Allow build on JDK14 - upgrade Groovy compiler


------------------------------------------
[...truncated 28.69 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins2789588999724527026.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6965875275842464992.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5518185363343486147.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3289105861353625266.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3630179518481107358.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d00d6c19d57e8b31b101d08a5fc094355ab453e76fcc214449111102d6fc6430
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, filelock, distlib, appdirs, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f98fe217090>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.68s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #535

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/535/display/redirect>

Changes:


------------------------------------------
[...truncated 29.29 KB...]
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
94cdd3612287: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
55769680e827: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6368605921785827921.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6801636556042830622.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2234280181695437076.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins302866941830790403.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=50bc6fece7738e224ece111345b09a3928ec10a31aca659caf795d9ce1811160
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, zipp, importlib-metadata, appdirs, six, filelock, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:472: 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." % 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 0x7f7726a25ad0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #534

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/534/display/redirect>

Changes:


------------------------------------------
[...truncated 28.27 KB...]
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
e01b42ee5411: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3519576313691757009.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3302595253007225107.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8706569057320673583.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins260930779483809613.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
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.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=dc6c54a5517348b54f5ad6ec2ec79a08a08acd0891525452a7b12353efd02121
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, distlib, appdirs, filelock, six, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.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/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 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:472: 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." % 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 0x7fd341e5a650>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.43s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #533

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/533/display/redirect>

Changes:


------------------------------------------
[...truncated 32.52 KB...]
c85513200d84: Pulling fs layer
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
94cdd3612287: Waiting
f5e195d50b88: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Pull complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
c85513200d84: Pull complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9190487793483185787.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7231686097853655938.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1093720143577322395.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7099350088463864466.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
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.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d9870b4fedaf82947e8fe6ef6aae8f0296f4fda98e03f17372a0fbdc7f2bbd8c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, six, distlib, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.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:472: 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." % 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 0x7f5ec4d7bf90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 5.00s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #532

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/532/display/redirect>

Changes:


------------------------------------------
[...truncated 29.48 KB...]
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
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/jenkins6434442992736744284.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins421974233490549985.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3514841969624951877.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3158067806973504702.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1108905872264985155.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.14-py2.py3-none-any.whl (4.6 MB)
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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.2-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=33b6ae0bd9b67801a5d04f98db71059d37e7cf3edcb260ff9f6357866a38db0d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, appdirs, zipp, importlib-metadata, six, filelock, distlib, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.2 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.14 zipp-3.1.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:472: 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." % 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 0x7f1519eb6b90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.73s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #531

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/531/display/redirect?page=changes>

Changes:

[github] Update Arquillian Cube to 1.18.2


------------------------------------------
[...truncated 28.41 KB...]
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
94cdd3612287: Waiting
e01b42ee5411: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins103356485318095007.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7724477847514759179.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4481676581832850230.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6340740797733646559.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-20.0.14-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=3e1577f001d2ef204dec0be01caceda95ca7e8b4c18c06f47cdae9d120a10352
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, filelock, zipp, importlib-metadata, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.14 zipp-3.1.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:472: 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." % 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 0x7f2a25086450>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.37s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #530

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/530/display/redirect?page=changes>

Changes:

[github] [BOOKIE-LEDGER-RECOVERY] Fix bookie recovery stuck even with enough


------------------------------------------
[...truncated 28.44 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: 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
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins1609614563234671082.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8127054440535250429.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4541874990473869423.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4001654008460581056.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3025453197155754438.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b65325d8b02b8f11a95d8627635ec884a7ec00c293273dcd35ece954cb5c346f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, appdirs, six, distlib, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:462: 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 0x7f46d78e2f90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.78s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #529

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/529/display/redirect?page=changes>

Changes:

[github] Remove old Jenkins stuff (#2293)

[github]  #2288: add metadata to StreamStorage ledgers (#2296)


------------------------------------------
[...truncated 30.44 KB...]
+ 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
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
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins6785201021122528875.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3992754725942198052.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1403074824540223690.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6174944503929830553.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1958185679217755369.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-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=207de66e471f2c91adb09ca326c064061062cf3ca8d9f6672e85ba4bed55e841
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, filelock, zipp, importlib-metadata, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:462: 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 0x7ff8ff882490>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.89s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #528

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/528/display/redirect>

Changes:


------------------------------------------
[...truncated 27.94 KB...]
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
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins339552585044123242.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9072841325592939373.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins618277858535224480.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9217896360063373809.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3364804302055482331.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
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 six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=a9418c57a8e05867c3fa8277f0c24150e8f86aaf6be24afe5eafe0d174826f46
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, six, distlib, appdirs, filelock, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:462: 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 0x7f2d1e33f290>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.55s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #527

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/527/display/redirect>

Changes:


------------------------------------------
[...truncated 32.82 KB...]
f6d53d5a5c86: Pulling fs layer
94cdd3612287: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
55769680e827: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3703823530980365559.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6258038483242294531.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5721778352620324388.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7856902793526136629.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=19bcaec90c4d2144c69549ae29f00cf218d06da54b26c475344f238dfc652ccd
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, filelock, distlib, six, appdirs, virtualenv, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:462: 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 0x7f159e4eb410>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #526

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/526/display/redirect>

Changes:


------------------------------------------
[...truncated 27.04 KB...]
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins2287520372936992136.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5706495731303246501.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6398268466883562078.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5701819711088172955.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8787794954882073515.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=4548ced89de5042e0738a557c5fd538de59f9e82858f3e3d88206feddc751494
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, zipp, importlib-metadata, filelock, appdirs, six, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.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:462: 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 0x7fc53ed63290>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #525

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/525/display/redirect?page=changes>

Changes:

[github] Update Prometheus library to 0.8.1

[github] fix some stats monitor metrics

[github] Add Journal PageCache flush interval control when journalSyncData is

[github] Do not log WARNING about PlacementPolicy for tests and simple setups

[github] [BOOKIE-MTLS] add BouncyCastleProvider for security-provider to avoid

[github] 2279 fix NPE when exec readjournal command


------------------------------------------
[...truncated 28.23 KB...]
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4930797111877999352.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3912285461366983476.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2867914551420165160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8251629366466155446.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.12-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=9fab676fa33b6e5e6e7eb7dfe047a664bf387ff00a09a9e5dd3a7e27ceb66d5d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, appdirs, filelock, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.12 zipp-3.1.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:462: 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 0x7f47ff2a0dd0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.35s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #524

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/524/display/redirect>

Changes:


------------------------------------------
[...truncated 31.80 KB...]
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/jenkins2535053866578777983.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
044dee574de1: Waiting
f6d53d5a5c86: Waiting
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5631143233953534685.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2674501885185558388.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins605830309201843786.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins623513343012598436.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-20.0.10-py2.py3-none-any.whl (4.6 MB)
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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=60651b68fb63f445bddf88d4a9074493ff1ccd1f2fff6426a847eb355bdb82f0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, zipp, importlib-metadata, six, appdirs, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.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/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 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:462: 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 0x7fa908100290>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.73s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #523

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/523/display/redirect>

Changes:


------------------------------------------
[...truncated 28.33 KB...]
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
e01b42ee5411: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7639793080775366047.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1074530821241589603.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins895772744108915609.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3764819897595082809.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-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=93d334ac083fd5b0b3d9f1de2c825739b20504b197611285358fd35a54d39f9e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.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:462: 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 0x7f5b6d9a5f10>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.36s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #522

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/522/display/redirect>

Changes:


------------------------------------------
[...truncated 31.09 KB...]
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
e01b42ee5411: Waiting
f6d53d5a5c86: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
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/jenkins8488685799688595714.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins897716746137354347.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1318800071085405423.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8608855279376368195.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=66112c6f5acfdd2f0d56ab6c38a6a9d6d75162a7b1a372b88b5aafb23662a138
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:462: 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 0x7f5bdca0c250>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.65s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #521

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/521/display/redirect>

Changes:


------------------------------------------
[...truncated 26.95 KB...]
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: 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/jenkins5058291409927841964.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7445591090310953660.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4879950543726193852.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5355554297776826292.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9024437424776128429.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=17d10e6a5dc98c149cd6719291aba2f5b836416bc5def6c5d802678e34b25f0f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, filelock, six, appdirs, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.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:462: 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 0x7f07f726af90>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #520

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/520/display/redirect>

Changes:


------------------------------------------
[...truncated 26.82 KB...]
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins3619200814765335270.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins390400166777567625.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2059816635437513749.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5589132591548839822.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7359191057542052847.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=59a7eba3f3c2ec54c432ed10d64f21ff69907f1d961176a94abfce294b46f6b9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, distlib, filelock, appdirs, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.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:462: 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 0x7f9b53ac9ed0>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.94s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #519

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/519/display/redirect>

Changes:


------------------------------------------
[...truncated 23.90 KB...]
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
94cdd3612287: Waiting
e01b42ee5411: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
55769680e827: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2740960992669624993.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6404461485832703414.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4836041708321225160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6581910713292033228.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8d775c6dcc781d42ed68881bd76873984e58e30afe61f6e908ff4af32f76831b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, filelock, six, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:462: 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 0x7fa36c37a050>
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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.58s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #518

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/518/display/redirect>

Changes:


------------------------------------------
[...truncated 28.11 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5738336280643805356.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8254838561979847580.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7071916302856785366.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins136839087620625732.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=81708c4cf850d54874c1cdd4a61467313532c58c376a37dbd022d3fc91ce44b3
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.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:462: 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 0x7fda2a767950>
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #517

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/517/display/redirect?page=changes>

Changes:

[github] fix bookie decommission sleep timeout value is negative bug


------------------------------------------
[...truncated 28.29 KB...]
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins528773698619876868.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
94cdd3612287: Already exists
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
044dee574de1: Verifying Checksum
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8045648095382508927.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4465621640180474159.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3470634620681705162.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5986594557756374454.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=375e9669242037c77c6ec67b4e7d5b5cc1f903b12cde42408f5b642c53f2e714
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, filelock, distlib, six, zipp, importlib-metadata, appdirs, virtualenv, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:462: 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 0x7f8776668d10>
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.56s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #516

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/516/display/redirect>

Changes:


------------------------------------------
[...truncated 28.37 KB...]
+ echo 55757
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins4944298625230830868.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1183574445111153574.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1293559038665399601.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6443521124171228608.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6652426180807053148.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=f43be0768993e789e31ec47bb5c02c243995b94c6113fc256002544a976091d2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, distlib, six, appdirs, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f846b9479d0>
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.54s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #515

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/515/display/redirect?page=changes>

Changes:

[github] Fixes vertx can not receive the request body


------------------------------------------
[...truncated 28.28 KB...]
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Waiting
b45109600839: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6233680592801842967.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7932446300700261637.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6172721652967247852.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8407621450637645914.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=547531502729d7a7ae1900d4e8ed888a3cfd98e2aa84c3628c9964b3a150256d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, filelock, distlib, six, appdirs, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.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 0x7f427d5ae850>
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.39s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #514

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/514/display/redirect?page=changes>

Changes:

[github] Drop Maven Profile -Dstream (#2233)


------------------------------------------
[...truncated 31.18 KB...]
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
f5e195d50b88: Waiting
b45109600839: Waiting
e0c7a90c35ea: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7680831273462003202.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2400716155123434271.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3735505400176913834.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7903434257847834074.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-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1254d467844d199f8b57dc96b46833c5f31e48113a53d925adf338e4d784b687
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, six, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f0b4c283710>
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.68s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #513

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/513/display/redirect>

Changes:


------------------------------------------
[...truncated 26.79 KB...]
Total reclaimed space: 28.76MB
+ docker network prune -f --filter until=12h
+ echo 10650
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins300005567571521272.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5187826384799106724.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3140214044711884109.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins184106143507982036.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7051877162053105045.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=0c015b166e43fd7c8a59fe8cf2eea4f015b9a60a5ff3c9b34e7a8ac94a6d7002
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, appdirs, zipp, importlib-metadata, six, distlib, filelock, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.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 0x7fb6f954d2d0>
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.39s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #512

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/512/display/redirect?page=changes>

Changes:

[github] 2178: IOException Should Be Thrown When Journal Is Corrupted

[github] Move the result of the BKCTL to the console by default


------------------------------------------
[...truncated 28.32 KB...]
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
b45109600839: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
e0c7a90c35ea: Waiting
f5e195d50b88: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7578504196207250273.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4993251614856579472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8096198194904190126.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9014197422332148762.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=67a7c72030b507f2fe6dd8077f863dc286daf237172bdc3813162a210ad0c1b2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.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 0x7f8fcfaed110>
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.41s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #511

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/511/display/redirect>

Changes:


------------------------------------------
[...truncated 27.64 KB...]
+ docker network prune -f --filter until=12h
+ echo 39480
+ 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
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: 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/jenkins344572533978425928.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins474933200091005079.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7997122056490704511.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3848827570815019681.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2430162448213695098.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-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=eb2f1e8c38be4c643692d4a0b12e42e5bdd194477836ff2ac780e26352c0bb66
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, zipp, importlib-metadata, filelock, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f23d30396d0>
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.53s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #510

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/510/display/redirect>

Changes:


------------------------------------------
[...truncated 28.85 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
e0c7a90c35ea: Waiting
b45109600839: Waiting
55769680e827: Waiting
97fb33d206b1: Waiting
f5e195d50b88: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3414623527220110655.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3269575229573248851.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1141988904426805275.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins323580023122222374.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=fd9b2e7bff8734e263c0ec11c21dd6b6c4843ad842324832a6317d04d382e967
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, appdirs, distlib, six, filelock, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f0de2d48910>
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.48s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #509

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/509/display/redirect>

Changes:


------------------------------------------
[...truncated 28.33 KB...]
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Waiting
97fb33d206b1: Waiting
b45109600839: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8861579772053981526.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6665026529360056576.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5198310217175068955.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins841920989146054248.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-20.0.7-py2.py3-none-any.whl (8.0 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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=e0295a0865d6e9aee21cd650ca3c9e77bea3d8443db3fefb490451d6cffc1b90
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.1.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 0x7fe009560690>
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #508

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/508/display/redirect>

Changes:


------------------------------------------
[...truncated 27.88 KB...]
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins263786976723120476.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1732093889187151892.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5107654659128655461.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2095648020187305319.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8882094029122191158.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=729bf896ae40ba1f3ec071ccb45746a8ac787ca2d602eef0c8876bcdf1b8ce75
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, appdirs, zipp, importlib-metadata, six, filelock, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f8a1ab6e350>
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.44s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #507

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/507/display/redirect>

Changes:


------------------------------------------
[...truncated 26.83 KB...]
e7f060425da4c5d03243adbcd1b513f54d20992301fdd48bc830eaea0a60e277

Total reclaimed space: 35.66MB
+ docker network prune -f --filter until=12h
+ echo 15870
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8588687430370293370.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins841409942201632387.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2415066030375554151.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins273412266875703843.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2131144658123772454.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1be3e9b70feef37db804ef99ada9a7a06efb7d8088f981666251dff7cf8321ec
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, filelock, appdirs, six, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.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 0x7f4022efc9d0>
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.47s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #506

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/506/display/redirect>

Changes:


------------------------------------------
[...truncated 28.14 KB...]
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/jenkins2121541356491746996.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
97fb33d206b1: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
e0c7a90c35ea: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2711582999148354856.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8277844788328622417.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins576870520982648721.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7844084260463921918.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8f2126878a65abb23cc2fcc016c04d1e82f7a43da5fc06eef4628c9a58b9645b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7fc0639bb7d0>
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.62s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #505

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/505/display/redirect>

Changes:


------------------------------------------
[...truncated 30.08 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
f5e195d50b88: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
e0c7a90c35ea: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4142341632062789869.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4372831873391894468.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2593714087073931713.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6188257155043280802.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7e569f8275ee555e378316237d3e55206e2ca5d3e2bfd8a112e19a9cc1737d05
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, filelock, appdirs, distlib, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.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 0x7f5e29962f50>
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.37s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #504

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/504/display/redirect>

Changes:


------------------------------------------
[...truncated 31.39 KB...]
c85513200d84: Pulling fs layer
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
b45109600839: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7170093718321710103.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7239047432965387895.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2091408957692749883.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7908436933363976516.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=25237c3b2643e5c5d3f26e08062f2592e46a7df2367e9bc45c109354db0d46e0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.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/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/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 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 0x7f67c9f823d0>
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.65s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #503

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/503/display/redirect>

Changes:


------------------------------------------
[...truncated 27.79 KB...]
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
27f3323f0a58: Waiting
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:236a197a23e84e4af6fad27d26e440ed64a0cd031f0dd468202f15e413686a8f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3555816449772432678.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:79c7adcd9f863bcf46b59318d1b5fdf3dda50f1c3c61b5a854a0ea6dfbd2f965
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6514490655729723848.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:197565271848f573d8138968ca776ba9a74720f802ce0af1a08a497f72c3bbd8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3558810424828743823.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:71c7647800366d5134ba0e00922b0328b0f75a99954d12e4f425e61863bdd5a1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3608742093532807396.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-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7a18b5f37cf8488c5eae10e334d481da775462fd61a2503bcfac4323f1c76b14
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, six, zipp, importlib-metadata, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.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/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 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 0x7f0d02c3ea10>
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.41s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #502

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/502/display/redirect>

Changes:


------------------------------------------
[...truncated 26.74 KB...]
+ echo 2859
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: 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/jenkins3045192546318799150.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1741446324591265760.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2363801542955085923.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3090151124023457218.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8084245196297114589.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-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=6524781e1e67d329a8179457bdfcddb405645bee6e9e57a71057c026db082ce1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, appdirs, six, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.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 0x7f76c50ada10>
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.40s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #501

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/501/display/redirect?page=changes>

Changes:

[github] Move checkout action to v2 (#2272)


------------------------------------------
[...truncated 27.16 KB...]
+ docker system events
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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
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/jenkins7401699587334958631.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7700835230441919572.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins702573173346955194.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6522426194569151255.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2114888530823323339.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=eaa13d53533ec5a6ab9f0cf210f39310c801f4ce3ecf9cb66ced19db7dfdd489
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, six, appdirs, filelock, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.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 0x7eff88381ed0>
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.40s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #500

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/500/display/redirect>

Changes:


------------------------------------------
[...truncated 27.02 KB...]
+ docker system events
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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins346397222805979707.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7272610250440322542.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8280873693065521788.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3647287370906877774.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1617995819923491842.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-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=a6c596627b584ac08a0e86a167e2b6f830488ded0322fcfabcc98704358ef3dc
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, appdirs, zipp, importlib-metadata, six, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.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 0x7f0e85944390>
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.39s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #499

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/499/display/redirect>

Changes:


------------------------------------------
[...truncated 28.67 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins6315083293498196397.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8629454731209771424.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5566533461395217681.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1438403219298620661.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6052994738591230522.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-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2e269f67459cb95d68f14a0a9e380cb41145ba676f2ee05426fd2baf1f1185d3
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: appdirs, filelock, distlib, zipp, importlib-metadata, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7fe03fbe4650>
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.74s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #498

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/498/display/redirect>

Changes:


------------------------------------------
[...truncated 26.90 KB...]
+ echo 16975
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins6385635311443831666.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8174084161209592206.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3574353261888525979.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins26903402259091128.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7640925053621870259.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7f90655c7ed25db8b6c7f939037ce95bb94a96f5221d4bbc2a73ae8dfb4455c9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, filelock, distlib, appdirs, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.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 0x7f8d75796450>
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.41s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #497

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/497/display/redirect>

Changes:


------------------------------------------
[...truncated 28.18 KB...]
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
27f3323f0a58: Waiting
6df39ee1cdde: Waiting
ea74ff1569e8: Waiting
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
dc65f448a2e2: Pull complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5473097828980569626.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6749434317581446620.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6780043275374298952.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3249207563981578921.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-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=256fef548f4b05be276bec87c42aa0a450a1e3f9dd4c6efe7d97af1f08e7bd0e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, six, zipp, importlib-metadata, appdirs, distlib, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.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 0x7f2175379c90>
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.37s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #496

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/496/display/redirect>

Changes:


------------------------------------------
[...truncated 27.33 KB...]
Total reclaimed space: 37.07MB
+ docker network prune -f --filter until=12h
+ echo 23287
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: 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/jenkins7773506921706610909.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/jenkins1854177759083231429.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7483282723763460294.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4888233763401472735.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5314134443565705866.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=46d0963f904831e4cd798f42b1ef64a9b65f717c93dfa49b1075326aaf8a46c9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, six, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f87c1f2e9d0>
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.46s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #495

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/495/display/redirect?page=changes>

Changes:

[github] ISSUE #2218: Write customMetadata on ledgers created by DistributedLog


------------------------------------------
[...truncated 26.99 KB...]
+ docker network prune -f --filter until=12h
+ echo 15635
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
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/jenkins6123733951433017187.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/jenkins5874916421131506648.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1339538405388026856.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4301141947155912255.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4181042014495877483.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=6be013e01afd8db79c92ec0702865348650914d7368c1055aaea61779a69c6ea
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, appdirs, filelock, distlib, six, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.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 0x7f8963392bd0>
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.37s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #494

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/494/display/redirect?page=changes>

Changes:

[github] Fix method order in order to make the execution of TestEntryLog


------------------------------------------
[...truncated 26.61 KB...]
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
27f3323f0a58: Waiting
a3ca60abc08a: Waiting
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4453034656924470432.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Download complete
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6337980222835973664.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7302316512706107720.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2741768728017151031.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=05295404b95641d2d4a2bff4df6e2ccc80e2c78b33c4c2bb051b7a0e867e723e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, distlib, appdirs, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 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 0x7f9fab67aa90>
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.42s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #493

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/493/display/redirect?page=changes>

Changes:

[github] Revert "bin/bookkeeper shell supports the -conf"


------------------------------------------
[...truncated 26.98 KB...]
9253bd2ee3f6: Pulling fs layer
a3ca60abc08a: Waiting
27f3323f0a58: Pulling fs layer
9253bd2ee3f6: Waiting
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
27f3323f0a58: Waiting
6df39ee1cdde: Waiting
ea74ff1569e8: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7622960373664575880.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4278839774910041851.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2927147928980216709.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1860663453508138758.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-20.0.4-py2.py3-none-any.whl (4.6 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.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2a4aceaeeddffbaa2e0d912c78f17a92f305feea8cf940a5ade55f44f76210c1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, six, filelock, appdirs, distlib, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 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/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 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 0x7f347e1e9750>
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.58s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #492

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/492/display/redirect>

Changes:


------------------------------------------
[...truncated 29.38 KB...]
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/jenkins4188489381965010252.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Download complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8721961955026662491.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1954815047865859733.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7065227464886837547.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Pull complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9112900830469881093.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d356bfec2a95be4eb5c04a00bbd7837d740042fd913cc7924ca7a44b588ef79e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, distlib, appdirs, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 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 0x7f2836a803d0>
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.71s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #491

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/491/display/redirect?page=changes>

Changes:

[github] BP-38 Publish Bookie Service Info on Metadata Service

[eolivelli] Add BP-38 to list of approved releases


------------------------------------------
[...truncated 26.88 KB...]
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/jenkins1727069430031000635.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8559975404335932756.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Download complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7476197220865990661.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6823815192997305589.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6495132665430575223.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=f9c035c2f5161c3cbc6694cbc3e3dfc642c3cb0f2735de3bc9ec82bcf3e5701c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, six, filelock, appdirs, distlib, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 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/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 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 0x7f45714e0550>
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.68s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #490

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/490/display/redirect>

Changes:


------------------------------------------
[...truncated 27.06 KB...]
+ docker network prune -f --filter until=12h
+ echo 29254
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
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/jenkins921392436344895574.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/jenkins2441180669100655308.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3109735963584597613.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1056583814535881710.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1820415993380861365.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 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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.3-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2a1294280aa7081ae4fafecd325677a2ed519efe26d97ff87d0e2682f9f9dc45
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, filelock, six, appdirs, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.3 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 0x7f3ab22a0c50>
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 5.04s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #489

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/489/display/redirect>

Changes:


------------------------------------------
[...truncated 31.05 KB...]
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
27f3323f0a58: Waiting
ea74ff1569e8: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5539669560569476609.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4658386096314568032.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7424468771549779132.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2875866691336019409.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.2-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=01fe5f418b49426a8c1eea9b2c486d5ad7c5416d337d0a0f494b06ff30f8abf6
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, appdirs, distlib, six, filelock, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.2 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/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 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 0x7f56dab6ef50>
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.37s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #488

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/488/display/redirect?page=changes>

Changes:

[github] Remove travis


------------------------------------------
[...truncated 28.68 KB...]
Deleted Containers:
5afd2fbf50d619a96defde60d52106ff06f797ccde151ee80e50d59175357a1f

Total reclaimed space: 38.55MB
+ docker network prune -f --filter until=12h
+ echo 3259
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins8933322055016547164.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/jenkins2391362043755403476.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4795223445489543186.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6734073296159256490.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6159057099614671377.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.1-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, filelock, six, appdirs, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.1 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 0x7f81d7828110>
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 4.89s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #487

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/487/display/redirect>

Changes:


------------------------------------------
[...truncated 29.41 KB...]
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins9013018881840853109.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
6df39ee1cdde: Waiting
ea74ff1569e8: Waiting
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8292810446231079053.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2112957057869543629.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins526824928564342130.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1971367118402818928.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.0-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  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: colorlog, appdirs, filelock, six, zipp, importlib-metadata, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.0 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 0x7faf7ae3e1d0>
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 4.80s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #486

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/486/display/redirect>

Changes:


------------------------------------------
[...truncated 22.66 KB...]
root     24098     2     0 06:16:37  0.0  0.0 [kworker/9:0]
root     24103     2     0 09:41:56  0.0  0.0 [kworker/2:0]
root     24820     2     0 00:00:29  0.0  0.0 [kworker/19:2]
root     24863     2     0 00:00:29  0.0  0.0 [kworker/1:2]
root     25260     2     0 00:01:07  0.0  0.0 [kworker/20:0]
root     25294     2     0 08:13:39  0.0  0.0 [kworker/16:2]
root     26692     2     0   Feb 07  0.0  0.0 [kworker/6:0]
root     27170     2     0 00:04:21  0.0  0.0 [kworker/23:1]
root     28436     2     0 00:05:43  0.0  0.0 [kworker/2:2]
root     28477     2     0 00:05:43  0.0  0.0 [kworker/1:1]
root     28589     2     0   Feb 07  0.0  0.0 [kworker/17:2]
root     28903     2     0 12:09:21  0.0  0.0 [kworker/u65:2]
root     28906     2     0 12:09:21  0.0  0.0 [kworker/12:2]
root     28915     2     0 12:09:22  0.0  0.0 [kworker/u66:1]
root     29149     2     0 00:06:24  0.0  0.0 [kworker/20:2]
root     30462     2     0 11:09:33  0.0  0.0 [kworker/18:1]
root     31534     2     0 15:09:11  0.0  0.0 [kworker/5:1]
root     32286     2     0 12:20:06  0.0  0.0 [kworker/u65:1]
root     32609     2     0 22:47:42  0.0  0.0 [kworker/11:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 5
 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:
ac3e3bee8a1ccfe3912a80a2dd682dab588450c93390b100759762ac0b184feb

Total reclaimed space: 25.17MB
+ docker network prune -f --filter until=12h
+ echo 6238
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
bdf0201b3a05: Pull 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/jenkins954509015011368481.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/jenkins8236165236362384209.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/jenkins6688339810995906825.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/jenkins79379635564121702.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/jenkins562802897035300744.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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: py, virtualenv, zipp, importlib-metadata, argcomplete, colorlog, 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 0x7fd2860beb10>
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.37s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #485

Posted by Apache Jenkins Server <je...@builds.apache.org>.
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #484

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/484/display/redirect>

Changes:


------------------------------------------
[...truncated 25.71 KB...]
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/jenkins5824467988264575537.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
8ac92ddf84b3: Waiting
27f3323f0a58: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3331966756566269625.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8587463437341097284.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2834955106997987984.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins538772107403441020.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, virtualenv, 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.1.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 0x7f977cce0a90>
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #483

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/483/display/redirect>

Changes:


------------------------------------------
[...truncated 51.14 KB...]
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/jenkins6663375330773671112.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
ea74ff1569e8: Waiting
27f3323f0a58: Waiting
6df39ee1cdde: Waiting
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dc65f448a2e2: Download complete
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins316246691080341295.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6444823181992115558.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3132108865647442580.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7414878958181061533.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, py, virtualenv, zipp, importlib-metadata, argcomplete, 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.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 0x7f4c09130dd0>
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.51s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #482

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/482/display/redirect>

Changes:


------------------------------------------
[...truncated 35.04 KB...]
deleted: sha256:d5afb86ab14b52215038beb5ad3ad6a2b6a5dbc79737e4ac1a6b5db65b826201
deleted: sha256:edba7a48c29555d9716d13cec1b5e36515187254e77169b87bede142c2c2c711
deleted: sha256:d94e30aa4e25b0c8244c0571c6e94180ce98ef0c85f5e9a1d6547b1076625d06
deleted: sha256:0302a169342a2b278d03fa9a1c08d4e6974b3a52018b6eeb8434a2546cac5d4e
deleted: sha256:c44e09df912fdf435e43c681f6f749514766e2b9c9c56e91c933eafac9551eca
deleted: sha256:f4fb7a785de81523e33f4027ae3ca43c9b9ba9a0b7aea51da1b1e7f9b13c393c
deleted: sha256:62194556111b5a1b89bdcc9c1d09ecee2a344d066b10346af0b1ac109678ef6f
deleted: sha256:e60b2fb34a16dfd52c58fc7dc6044d0f8c80b4889ead91e30efc0ba62c87bc71
deleted: sha256:a54192acd997847e3370b4c2b1c0e1f42d4cd42d1f2a392315190028f265d9e1
deleted: sha256:527a49f2ff7f043756491a8e8e873bdd444a66c5ebc6fb76308dc4ed173ed4a2
deleted: sha256:a68210fa40261369e40c7d8a9e50252047658cfc7c403349a418c5d6ee112d33
deleted: sha256:a7bd433f5c7672fe28ab9b7b097125bb2a5d0cb66c45ea96bb95411f59996145
deleted: sha256:ed33839249013e9343815141cfac607a886eacca6237b1fea71788c0115873a5
deleted: sha256:0a8e88f22cbf95bcc2e9b03bb6bc9060d8d536b1788166017a8b480bcd0bda1c
deleted: sha256:c7bcbf9b0d5a8124bfb3f7e5a1dd3dcf77957436a72e9fe4d4613c092e4663ab
deleted: sha256:7328fc56ea826e1b3f093931d132a9ea50decd79bb9feeb4aefc770dc5aaca47
deleted: sha256:8db7aef355bdc5b8fafefdfc08b6ad3eec38562c6aac7a890ae290e54359eb9b
deleted: sha256:c79fb5e04a469f2eabea4a9667185912aa3dd3257b8d074abaaa4f2b9b9ebbd8
deleted: sha256:3171b3389c9874728a414f308cae4ebdb690b2fd13ec788c1e61d4656b8581de
deleted: sha256:da9db9d1b25d58f8c74858ca4da9632c7c71c87dff3b33961e8b04d9cff7c6dc
deleted: sha256:b82a9a2ea6c4c0b0e3820561d68be0888288ee2ebb5f81da44469bf3606709c8
deleted: sha256:b9ae1dba7ccf834f7d959aa49d0d5cd2a6ccf88f858acfd32e7143013f48f0f1
deleted: sha256:7d0cced7d29ed48746bf88e573d169eb883cfea7b1923f5261cc797c31a5ba36
deleted: sha256:d15f143c926906cc3d4672d985ccfa4a847b0003b886a81c88a58234f6b0a0a9
deleted: sha256:28f3c2192961adc27fd6c81763099724b0b54bf9d5274d38e230783710f5d5d1
deleted: sha256:6c27f278dc549b550df13d548a4203e850edb46754c570758cc01b4486392ea9
deleted: sha256:d180781c73d7cd8d65d77a839bc39625f70899f673f502d3cb33ce8c2978518c
deleted: sha256:1bcc3b73db34a15a1dc2af583808c22a9ae477a7f47c63240dab1724ff4e2b8b
deleted: sha256:c2ac97ed91a634637a9b26dd2727aa2c4f6f80f23f156bbcf83cf6f58210da5f
deleted: sha256:e514bc33c148b846596fdd9db52646aed4f5ff9798b2b11a18b645fdc6c20635
deleted: sha256:25e1652583032de47eda918e8701b4eefe680e6abfcc04202a6b5c216ffafb4a
deleted: sha256:45b004d2de5e0cd9a2250854bd94c37429eac55fab51f6848b25ad3c97176830
deleted: sha256:6e30a3e62fc6c4ca1eadae2f2d964251324b03d7c15329604c897b373154b9fd
deleted: sha256:fcecd40f293d83d5e19b5bb34ec851e7a8bc5624c71f48f6d243a697dcf9e744
deleted: sha256:161ae6d2a1eb63ff42ca869d15fc3f66e9ccaeb846f648d3b08fd5070ee85b3d
deleted: sha256:6e4c73b37c95f3fc9261560c7c63c594103dadd64d7bb754747def053e0bf777
deleted: sha256:cb982b93c01bf6348c605b16128dde446336bb0530cdb60af050d0bddbfd39dc
deleted: sha256:e4c2df274dad51e0e7cb564408f2b19912f2124aa036572b11fd7693ca833bb9
deleted: sha256:5adb17f15cd450cbb8da285ad365666fdc20f86d26c9b41e1665c2d0d11bd70b
deleted: sha256:22ddc5ca5b5882931ca33d2bda39af91ba11537495c6f4c9677ba961efdce1a0
deleted: sha256:bfd5f9dc44a2afdbe04641981145d6751aca9d000eb38ca53f3bddb57c3c7f05
deleted: sha256:dada5f7af62f0e3e09c3ca4bad8a5d6d42baacb6758a82e60e046e14a5834130
deleted: sha256:2045417a0ef3328f06a87578a6489423e4b0e342d51030ca9c72728b9df9977e
deleted: sha256:50af3b146534d3fe8606a14984ad8d05cb84867de7162a46f7b891f77b8a131a
deleted: sha256:85fab869e7497c5342c4972d1fb91ab4598809c4af9b512e7992d08ce46febe8
deleted: sha256:9d1aa2128618ce174e30fded7bc2d8d51ca1efb01a245b04492dbaec9e7d017d
deleted: sha256:3c7c40d5214af0564cf555dae6ae2f6843d5af7751573aa840c684d3b7dc0a05
deleted: sha256:c06062446b908d0e4ea1d42e348aa03e253fe16ab4d55687a293621d55596cbc
deleted: sha256:61f2b0c3536ada34c09f5100f437d2d9a56d5027cdb778b09ef72fe3cf5d8709
deleted: sha256:50a44b11d432ff66eb82d57a7fa5df92dfda46ef02f7aae19873f259b2227a96
deleted: sha256:918aa45a78f86c92c1273b242a84604dab3725a63c8f3667a24cb0bd756dfc62
deleted: sha256:5457a05d9117184e28c3d9c2f1fc0b14c178cd56ee8ef98604112b00f59963ca
deleted: sha256:5b56cda7cb6d0ceb65204f66663766af6315cafaf5036e0beae22a2a6b7f75c7
deleted: sha256:ccfc3a2f6bafa30d9ae0a0e9c252daa2317526bc420feb2bfc0d4826038872b3
deleted: sha256:1daff73ac8ff14b936c108a2d241d617c2b218950fdbb4250a3c2cb0e307cda8
deleted: sha256:d3b8ae98f7f840eb87c3ede204dba358df2fd790486fa0b4a5e9b2b9d0190ab3
deleted: sha256:58402e9e272b5721f3c6ec729c3a4f0b262bf9e007975b840854458eb2b31a9e
deleted: sha256:6d5fcfe5ff170471fcc3c8b47631d6d71202a1fd44cf3c147e50c8de21cf0648
deleted: sha256:195be5f8be1df6709dafbba7ce48f2eee785ab7775b88e0c115d8205407265c5
deleted: sha256:6073f62165b92a693648c0fd1116345d183628158c106f63479cfa47d2aa0fdb
deleted: sha256:11a80d87f9e21677aa39c4c63f279ae6cfc8a31b9f02a17895872952a44eb45d
deleted: sha256:5b5ab065d12454b4512238d0d5742cd0a125d70b5fa17aa4ea82a8d69f0aad62
deleted: sha256:8dd8631f5778043a1b06ac947d40866c9936d32cce248f79422aaf2cdec92459
deleted: sha256:6fac41c4e6e043d0d67afa327e5d911fd9895da64d76fea8ee599bcbd6f428f9
deleted: sha256:2fd7f2e44fe1de5504f18289ae668d70e855825494fbe59746c6bbecf4320c17
deleted: sha256:e59c5acd58264fe75914ce327ba8b3e665ad86c222f80c92d2a00138294bf891
deleted: sha256:2b3f4eeb344277171f09c95a574ccc111de47459338fd6ec0091ebca22fb5694
deleted: sha256:9db4748c0cd999b49abc8d5a1923cc5f5a8fadaee8e99a7ac629302906008827
deleted: sha256:4aade37d5b44c42dd76f0e3aa695651cf0f9ceabb1e62ae2a5e7b06186c1d669
deleted: sha256:1c30d37017ade55c0d323e6d4957a3da019b6cec685d8224424ec519dc8bdc13
deleted: sha256:2812abaccd3aadae87ea7208a4971ab5f18ba3b67756472c9c1ab2ea54d7fa84

Total reclaimed space: 7.687GB
+ docker network prune -f --filter until=12h
+ echo 28946
+ 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
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins4050054220923738106.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8269626385107955145.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4549091911237766854.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9197142613771066377.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3455324729441249143.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 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 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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, virtualenv, colorlog, 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.1.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/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 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 0x7f2562d67a90>
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.58s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #481

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/481/display/redirect>

Changes:


------------------------------------------
[...truncated 46.71 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6039796580133788383.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
1e7d1a31f70a: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
ea74ff1569e8: Waiting
9253bd2ee3f6: Waiting
1e7d1a31f70a: Waiting
27f3323f0a58: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
1e7d1a31f70a: Verifying Checksum
1e7d1a31f70a: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
1e7d1a31f70a: Pull complete
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3191382199560453624.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
e224e4eafa9b: Pulling fs layer
e224e4eafa9b: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
e224e4eafa9b: Verifying Checksum
e224e4eafa9b: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
e224e4eafa9b: Pull complete
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins419938790925641655.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
dcca466073a6: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
dcca466073a6: Verifying Checksum
dcca466073a6: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
dcca466073a6: Pull complete
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3232671538428351901.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
cf7c654f874c: Pulling fs layer
d808faf2b346: Pulling fs layer
d808faf2b346: Waiting
cf7c654f874c: Verifying Checksum
cf7c654f874c: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
d808faf2b346: Verifying Checksum
d808faf2b346: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
cf7c654f874c: Pull complete
d808faf2b346: Pull complete
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2562893753141481992.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.1.0-py3-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.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f774d1ddc50>
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.34s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #480

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/480/display/redirect>

Changes:


------------------------------------------
[...truncated 29.26 KB...]
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/jenkins7108855518724376856.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
1e7d1a31f70a: Pulling fs layer
a3ca60abc08a: Waiting
27f3323f0a58: Waiting
1e7d1a31f70a: Waiting
8ac92ddf84b3: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
1e7d1a31f70a: Verifying Checksum
1e7d1a31f70a: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
1e7d1a31f70a: Pull complete
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2867588510973580020.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
e224e4eafa9b: Pulling fs layer
e224e4eafa9b: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
e224e4eafa9b: Verifying Checksum
e224e4eafa9b: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
e224e4eafa9b: Pull complete
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6068036179274733434.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
dcca466073a6: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
dcca466073a6: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
dcca466073a6: Pull complete
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6365239218900163130.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
cf7c654f874c: Pulling fs layer
d808faf2b346: Pulling fs layer
d808faf2b346: Waiting
cf7c654f874c: Verifying Checksum
cf7c654f874c: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
d808faf2b346: Verifying Checksum
d808faf2b346: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
cf7c654f874c: Pull complete
d808faf2b346: Pull complete
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2758209942384612600.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 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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, zipp, importlib-metadata, argcomplete, py, colorlog, 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.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f961ce2bbd0>
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.61s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #479

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/479/display/redirect>

Changes:


------------------------------------------
[...truncated 39.51 KB...]
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/jenkins85464497745265536.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
1e7d1a31f70a: Pulling fs layer
a3ca60abc08a: Waiting
8ac92ddf84b3: Waiting
9253bd2ee3f6: Waiting
27f3323f0a58: Waiting
ea74ff1569e8: Waiting
1e7d1a31f70a: Waiting
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
1e7d1a31f70a: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
1e7d1a31f70a: Pull complete
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1870755826824269395.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
e224e4eafa9b: Pulling fs layer
e224e4eafa9b: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
e224e4eafa9b: Verifying Checksum
e224e4eafa9b: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
e224e4eafa9b: Pull complete
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7841314081789442112.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
dcca466073a6: Pulling fs layer
e763153caaaf: Download complete
dcca466073a6: Verifying Checksum
dcca466073a6: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
dcca466073a6: Pull complete
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins452935269038116446.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
cf7c654f874c: Pulling fs layer
d808faf2b346: Pulling fs layer
d808faf2b346: Waiting
cf7c654f874c: Verifying Checksum
cf7c654f874c: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
d808faf2b346: Verifying Checksum
d808faf2b346: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
cf7c654f874c: Pull complete
d808faf2b346: Pull complete
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7573807287364063368.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, colorlog, py, zipp, importlib-metadata, argcomplete, 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.1.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/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 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 0x7fd8b8b6f6d0>
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.34s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #478

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/478/display/redirect>

Changes:


------------------------------------------
[...truncated 66.12 KB...]
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/jenkins5753220708063784660.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
666534959f2b: Waiting
420e7f932707: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6951232470839017068.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
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/jenkins6016590359100401805.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
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/jenkins6771617901064568539.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
a755ea00feee: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
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/jenkins3842905018720138717.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, colorlog, py, zipp, importlib-metadata, argcomplete, 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.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7fed747cd810>
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.72s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #477

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/477/display/redirect?page=changes>

Changes:

[github] Website: update Gemfile dependencies

[github] [CODE-STYLE] fix build failure for check-style


------------------------------------------
[...truncated 38.87 KB...]
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/jenkins3150985777745098489.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
27622921edb2: Waiting
666534959f2b: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7286755195966553736.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
c0ce162fa4e3: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6154358702597823811.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7230038359649939410.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2260273638258855507.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, virtualenv, 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.1.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/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 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 0x7ffa1e4b1e90>
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.31s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #476

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/476/display/redirect>

Changes:


------------------------------------------
[...truncated 25.58 KB...]
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/jenkins3161495896780836272.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
61cf1e8f9385: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
666534959f2b: Waiting
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins228227531270628673.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8555484281077251548.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
82f5b3145ad2: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6077292268181583773.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
ef6ca6913068: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1195278914624471075.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 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 virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, virtualenv, 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.1.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/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/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 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 0x7f7a4811cbd0>
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.36s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #475

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/475/display/redirect>

Changes:


------------------------------------------
[...truncated 1017.87 KB...]
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/jenkins1338009822529925429.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
420e7f932707: Waiting
a79fc60597da: Waiting
61cf1e8f9385: Waiting
666534959f2b: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7889791366179136508.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1472991599059961970.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6698663139241260531.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins907797237382635182.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 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.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: py, virtualenv, zipp, importlib-metadata, argcomplete, colorlog, 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.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 0x7f472c1576d0>
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 4.82s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #474

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/474/display/redirect?page=changes>

Changes:

[eolivelli] Remove Jenkins precommit jobs and fix checkstyle errors


------------------------------------------
[...truncated 29.10 KB...]
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/jenkins165528292022191989.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
27622921edb2: Waiting
420e7f932707: Waiting
666534959f2b: Waiting
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8503756361773887102.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6689886758254884492.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6989079786431496940.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9036710643926037147.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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.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/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 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 0x7f5a51653850>
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.31s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #473

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/473/display/redirect>

Changes:


------------------------------------------
[...truncated 22.38 KB...]
root     23940     2     0 03:40:26  0.0  0.0 [kworker/14:2]
root     24027     2     0 11:49:07  0.0  0.0 [kworker/u66:0]
postfix  25245  2369  2369 11:05:08  0.0  0.0 pickup -l -t unix -u -c
root     26230     2     0 07:38:28  0.0  0.0 [kworker/11:0]
root     26478     2     0 07:39:02  0.0  0.0 [kworker/14:0]
root     28422     2     0   Jan 26  0.0  0.0 [kworker/23:1]
root     28712     2     0   Jan 26  0.0  0.0 [kworker/0:0]
root     28850     2     0 07:46:43  0.0  0.0 [kworker/12:2]
root     28910     2     0   Jan 25  0.0  0.0 [kworker/1:4]
root     29621     2     0   Jan 24  0.0  0.0 [kworker/12:1]
root     29665     2     0   Jan 25  0.0  0.0 [kworker/11:1]
root     29757     2     0 12:07:18  0.0  0.0 [kworker/u65:1]
root     30352     2     0 12:09:02  0.0  0.0 [kworker/20:0]
root     31607     2     0 17:04:10  0.0  0.0 [kworker/8:2]
root     32313     2     0   Jan 24  0.0  0.0 [kworker/22:2]
root     32702     2     0 11:10:21  0.0  0.0 [kworker/6:1]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 16
 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-74-generic
 Operating System: Ubuntu 18.04.3 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:
489169f432187bc3b7741b2fab60488dc6eb99b45def62f60f07ca2b98c0a826

Total reclaimed space: 24.88MB
+ docker network prune -f --filter until=12h
+ echo 5261
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins2681733285884532798.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4743249642213162765.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1520205015259753864.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2722992695739385237.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4705108958462443149.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 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 virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.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 0x7f66c1ebf550>
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.31s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #472

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/472/display/redirect?page=changes>

Changes:

[eolivelli] Website: add EOL tag to navbar


------------------------------------------
[...truncated 22.40 KB...]
root     26477     2     0 11:17:53  0.0  0.0 [kworker/23:0]
root     27406     2     0 02:39:02  0.0  0.0 [kworker/18:1]
root     28422     2     0 03:38:01  0.0  0.0 [kworker/23:1]
root     28548     2     0 22:20:41  0.0  0.0 [loop1]
root     28712     2     0 05:18:27  0.0  0.0 [kworker/0:0]
root     28721     2     0 22:20:44  0.0  0.0 [kworker/22:0]
root     28842     2     0   Jan 25  0.0  0.0 [kworker/21:2]
root     28859     2     0 22:20:50  0.0  0.0 [kworker/4:1]
root     28879     2     0 22:20:50  0.0  0.0 [kworker/14:0]
root     28910     2     0 22:20:51  0.0  0.0 [kworker/1:4]
root     29411     2     0   Jan 25  0.0  0.0 [kworker/7:0]
root     29621     2     0   Jan 24  0.0  0.0 [kworker/12:1]
root     29665     2     0 22:22:58  0.0  0.0 [kworker/11:1]
root     30569     2     0 22:25:53  0.0  0.0 [kworker/14:1]
root     31484     2     0 10:23:11  0.0  0.0 [kworker/u66:1]
root     32313     2     0   Jan 24  0.0  0.0 [kworker/22:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 52
 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-74-generic
 Operating System: Ubuntu 18.04.3 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:
a28ea06eb32deaa44bab4cf4231b2a28a03362858f5e35191a87d582981e1e22

Total reclaimed space: 25.14MB
+ docker network prune -f --filter until=12h
+ echo 18670
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: 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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8872946334934820566.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1891986730494783348.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2695035048413122331.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6761815500047893643.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8588680913398592412.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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 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 importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: py, virtualenv, colorlog, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.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 0x7f90d9b63450>
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.33s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #471

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/471/display/redirect>

Changes:


------------------------------------------
[...truncated 25.40 KB...]
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/jenkins6917857554502580308.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
61cf1e8f9385: Waiting
dcfa0aa1ae2c: Waiting
27622921edb2: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
666534959f2b: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
666534959f2b: Download complete
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7697548247329414474.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5962158532415486485.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1765068119726427613.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6810172272970254165.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 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 virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
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.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.0.1-py3-none-any.whl (4.1 kB)
Collecting more-itertools
  Downloading more_itertools-8.1.0-py3-none-any.whl (41 kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.1
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 0x7fd30d832110>
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.30s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #470

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/470/display/redirect>

Changes:


------------------------------------------
[...truncated 46.09 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins567784798167562944.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
fabe0658d13d: Pulling fs layer
61cf1e8f9385: Waiting
27622921edb2: Waiting
420e7f932707: Waiting
dcfa0aa1ae2c: Waiting
fabe0658d13d: Waiting
a79fc60597da: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Download complete
fabe0658d13d: Verifying Checksum
fabe0658d13d: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
fabe0658d13d: Pull complete
Digest: sha256:c32ff2169aab72296ea164af97c2ade8eb809010becc968116436756bd556e6f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3571594011965088921.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
11f9d8faa61d: Pulling fs layer
11f9d8faa61d: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
11f9d8faa61d: Verifying Checksum
11f9d8faa61d: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
11f9d8faa61d: Pull complete
Digest: sha256:a91aa1e212ae2f1ec3a63c2f948ef90f37d1fa4aebbfec3e124b8a1f0011b1fa
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6242632401315806330.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
6764741fb394: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
6764741fb394: Verifying Checksum
6764741fb394: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
6764741fb394: Pull complete
Digest: sha256:be6cd26148ebbfa8433fd44a5bd784c237314f845f3738732a034ace202d9967
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6348360968988441350.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
2b1beed6350e: Pulling fs layer
10b1b584ac88: Pulling fs layer
10b1b584ac88: Waiting
2b1beed6350e: Verifying Checksum
2b1beed6350e: Download complete
ef6ca6913068: Download complete
10b1b584ac88: Verifying Checksum
10b1b584ac88: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a755ea00feee: Pull complete
2b1beed6350e: Pull complete
10b1b584ac88: Pull complete
Digest: sha256:a625c36660feebe71636964af12fe0b5df8a76f2917134f8eecb5a5e5fb2a4d9
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3212216660646041287.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 colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
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.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.0.1-py3-none-any.whl (4.1 kB)
Collecting more-itertools
  Downloading more_itertools-8.1.0-py3-none-any.whl (41 kB)
Installing collected packages: colorlog, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.1
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7fe558560d50>
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.41s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #469

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/469/display/redirect>

Changes:


------------------------------------------
[...truncated 40.94 KB...]
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/jenkins5581726709444381450.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
61cf1e8f9385: Waiting
dcfa0aa1ae2c: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
a79fc60597da: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8867881935636221991.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6200799610862681695.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Download complete
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8319349380274710522.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3164610449927407494.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/e1/0f/c25ab0632254f276599b664c3b9973f537a04910130321e0fb936806ff40/zipp-2.0.1-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.1
WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f02d6100e50>
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.53s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #468

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/468/display/redirect?page=changes>

Changes:

[guosijie] Increase the 'segment store path' in the 'Initializing stream cluster'

[guosijie] Create ledgersRootPath recursively for 'bin/bookkeeper shell metaformat'

[guosijie] [HOTFIX] fix the http endpoint component count error

[guosijie] [HOTFIX] [DOCS] remove redundant word in protocol documents

[guosijie] [HOTFIX] [DOCS] fix error in leger api document

[guosijie] Website: Update Release Management for new Time Based Release Plan

[guosijie] [CI] Migrate the Jenkins CI to Github Action

[guosijie] bin/bookkeeper shell supports the -conf


------------------------------------------
[...truncated 201.21 KB...]
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1425795969042951326.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
27622921edb2: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins92744528338710538.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5174306714700510988.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7029747061475829802.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5370066163100169861.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/45/d8/f1e05f399573d2b4723dae1c1f1487dd2e7871c79ed32da741f49faaa226/zipp-2.0.0-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: colorlog, py, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.0
WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
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 0x7fcef3a1b210>
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.59s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #467

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/467/display/redirect>

Changes:


------------------------------------------
[...truncated 40.56 KB...]
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins6040834004632474981.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2681097370933968900.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Download complete
5bf324b44232: Verifying Checksum
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7399699797635202269.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4149755259069286515.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3510054725483948481.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/45/d8/f1e05f399573d2b4723dae1c1f1487dd2e7871c79ed32da741f49faaa226/zipp-2.0.0-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.0
WARNING: You are using pip version 19.3.1; however, version 20.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
Command pip install flake8 failed with exit code 1:
Traceback (most recent call last):
  File "/opt/bookkeeper/.nox/lint/bin/pip", line 8, in <module>
    sys.exit(main())
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
    module = importlib.import_module(module_path)
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module>
    from pip._internal.cli.req_command import RequirementCommand
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
    from pip._internal.operations.prepare import RequirementPreparer
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module>
    from pip._internal.distributions import (
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module>
    from pip._internal.distributions.source import SourceDistribution
ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py)
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
Command pip install docutils Pygments failed with exit code 1:
Traceback (most recent call last):
  File "/opt/bookkeeper/.nox/lint_setup_py/bin/pip", line 8, in <module>
    sys.exit(main())
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
    module = importlib.import_module(module_path)
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module>
    from pip._internal.cli.req_command import RequirementCommand
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
    from pip._internal.operations.prepare import RequirementPreparer
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module>
    from pip._internal.distributions import (
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module>
    from pip._internal.distributions.source import SourceDistribution
ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py)
Session lint_setup_py failed.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
Command pip install mock pytest pytest-cov failed with exit code 1:
Traceback (most recent call last):
  File "/opt/bookkeeper/.nox/unit-3-7/bin/pip", line 8, in <module>
    sys.exit(main())
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
    module = importlib.import_module(module_path)
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module>
    from pip._internal.cli.req_command import RequirementCommand
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
    from pip._internal.operations.prepare import RequirementPreparer
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module>
    from pip._internal.distributions import (
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module>
    from pip._internal.distributions.source import SourceDistribution
ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py)
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: failed
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #466

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/466/display/redirect>

Changes:


------------------------------------------
[...truncated 176.17 KB...]
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/jenkins1385041244306881547.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4363746806230685316.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1502015113374693247.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
f99c95492c1b: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5008798708728259058.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9007498541685411777.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/45/d8/f1e05f399573d2b4723dae1c1f1487dd2e7871c79ed32da741f49faaa226/zipp-2.0.0-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, colorlog, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.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 0x7f482c560b10>
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.59s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #465

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/465/display/redirect>

Changes:


------------------------------------------
[...truncated 38.92 KB...]
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/jenkins3750179769054419629.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
0d43f60045d6: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6037685827488638147.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3568879103167181843.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
3aa5767a1ba2: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1199998723057051366.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2848601698977159720.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f167cd5b810>
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.52s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #464

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/464/display/redirect?page=changes>

Changes:

[eolivelli] [bookie-server] add support of client auto cert refresh


------------------------------------------
[...truncated 40.84 KB...]
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/jenkins620544294730802738.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
0d43f60045d6: Waiting
61cf1e8f9385: Waiting
27622921edb2: Waiting
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9061263078755700876.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6455988630158855942.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7866323548400536635.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2011404364507112559.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: virtualenv, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.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/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/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 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 0x7fb83067f090>
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.32s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #463

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/463/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H29 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        remote: Counting objects:  50% (2/4)        remote: Counting objects:  75% (3/4)        remote: Counting objects: 100% (4/4)        remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects:  25% (1/4)        remote: Compressing objects:  50% (2/4)        remote: Compressing objects:  75% (3/4)        remote: Compressing objects: 100% (4/4)        remote: Compressing objects: 100% (4/4), done.        
Receiving objects:   0% (1/126120)   Receiving objects:   1% (1262/126120)   Receiving objects:   2% (2523/126120)   Receiving objects:   3% (3784/126120)   Receiving objects:   4% (5045/126120)   Receiving objects:   5% (6306/126120)   Receiving objects:   6% (7568/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:   7% (8829/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:   8% (10090/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:   9% (11351/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  10% (12612/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  11% (13874/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  12% (15135/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  13% (16396/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  14% (17657/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  14% (18904/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  15% (18918/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  16% (20180/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  17% (21441/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  18% (22702/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  19% (23963/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  20% (25224/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  21% (26486/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  22% (27747/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  23% (29008/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  24% (30269/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  25% (31530/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  26% (32792/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  27% (34053/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  28% (35314/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  29% (36575/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  30% (37836/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  31% (39098/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  32% (40359/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  33% (41620/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  34% (42881/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  35% (44142/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  36% (45404/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  37% (46665/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  38% (47926/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  39% (49187/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  40% (50448/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  41% (51710/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  42% (52971/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  43% (54232/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  44% (55493/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  45% (56754/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  46% (58016/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  47% (59277/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  48% (60538/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  48% (61671/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  49% (61799/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  50% (63060/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  51% (64322/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  52% (65583/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  53% (66844/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  54% (68105/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  55% (69366/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  56% (70628/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  57% (71889/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  58% (73150/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  59% (74411/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  60% (75672/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  61% (76934/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  62% (78195/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  63% (79456/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  64% (80717/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  65% (81978/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  66% (83240/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  67% (84501/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  68% (85762/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  69% (87023/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  70% (88284/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  71% (89546/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  72% (90807/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  73% (92068/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  74% (93329/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  75% (94590/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  76% (95852/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  77% (97113/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  78% (98374/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  79% (99635/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  80% (100896/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  81% (102158/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  82% (103419/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  83% (104680/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  84% (105941/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  85% (107202/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  86% (108464/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  86% (109177/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  87% (109725/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  88% (110986/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  89% (112247/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  90% (113508/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  91% (114770/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  92% (116031/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  93% (117292/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  94% (118553/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  95% (119814/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  96% (121076/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  97% (122337/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  98% (123598/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  99% (124859/126120), 41.61 MiB | 13.87 MiB/s   remote: Total 126120 (delta 0), reused 0 (delta 0), pack-reused 126116        
Receiving objects: 100% (126120/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects: 100% (126120/126120), 45.65 MiB | 13.74 MiB/s, done.
Resolving deltas:   0% (0/76191)   fatal: unable to create thread: Resource temporarily unavailable
fatal: index-pack failed

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor1081.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy152.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        remote: Counting objects:  50% (2/4)        remote: Counting objects:  75% (3/4)        remote: Counting objects: 100% (4/4)        remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects:  25% (1/4)        remote: Compressing objects:  50% (2/4)        remote: Compressing objects:  75% (3/4)        remote: Compressing objects: 100% (4/4)        remote: Compressing objects: 100% (4/4), done.        
Receiving objects:   0% (1/126120)   Receiving objects:   1% (1262/126120)   Receiving objects:   2% (2523/126120)   Receiving objects:   3% (3784/126120)   Receiving objects:   4% (5045/126120)   Receiving objects:   5% (6306/126120)   Receiving objects:   6% (7568/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:   7% (8829/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:   8% (10090/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:   9% (11351/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  10% (12612/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  11% (13874/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  12% (15135/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  13% (16396/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  14% (17657/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  15% (18918/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  15% (19852/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  16% (20180/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  17% (21441/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  18% (22702/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  19% (23963/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  20% (25224/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  21% (26486/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  22% (27747/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  23% (29008/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  24% (30269/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  25% (31530/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  26% (32792/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  27% (34053/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  28% (35314/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  29% (36575/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  30% (37836/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  31% (39098/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  32% (40359/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  33% (41620/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  34% (42881/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  35% (44142/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  36% (45404/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  37% (46665/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  38% (47926/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  39% (49187/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  40% (50448/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  41% (51710/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  42% (52971/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  43% (54232/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  44% (55493/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  45% (56754/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  46% (58016/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  47% (59277/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  48% (60538/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  49% (61799/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  50% (63060/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  50% (63504/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  51% (64322/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  52% (65583/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  53% (66844/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  54% (68105/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  55% (69366/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  56% (70628/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  57% (71889/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  58% (73150/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  59% (74411/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  60% (75672/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  61% (76934/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  62% (78195/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  63% (79456/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  64% (80717/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  65% (81978/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  66% (83240/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  67% (84501/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  68% (85762/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  69% (87023/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  70% (88284/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  71% (89546/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  72% (90807/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  73% (92068/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  74% (93329/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  75% (94590/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  76% (95852/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  77% (97113/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  78% (98374/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  79% (99635/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  80% (100896/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  81% (102158/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  82% (103419/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  83% (104680/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  84% (105941/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  85% (107202/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  86% (108464/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  87% (109725/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  87% (110903/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  88% (110986/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  89% (112247/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  90% (113508/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  91% (114770/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  92% (116031/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  93% (117292/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  94% (118553/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  95% (119814/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  96% (121076/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  97% (122337/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  98% (123598/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  99% (124859/126120), 42.00 MiB | 14.00 MiB/s   remote: Total 126120 (delta 0), reused 0 (delta 0), pack-reused 126116        
Receiving objects: 100% (126120/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects: 100% (126120/126120), 45.65 MiB | 13.87 MiB/s, done.
Resolving deltas:   0% (0/76191)   fatal: unable to create thread: Resource temporarily unavailable
fatal: index-pack failed

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor1081.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy136.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        remote: Counting objects:  50% (2/4)        remote: Counting objects:  75% (3/4)        remote: Counting objects: 100% (4/4)        remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects:  25% (1/4)        remote: Compressing objects:  50% (2/4)        remote: Compressing objects:  75% (3/4)        remote: Compressing objects: 100% (4/4)        remote: Compressing objects: 100% (4/4), done.        
Receiving objects:   0% (1/126120)   Receiving objects:   1% (1262/126120)   Receiving objects:   2% (2523/126120)   Receiving objects:   3% (3784/126120)   Receiving objects:   4% (5045/126120)   Receiving objects:   5% (6306/126120)   Receiving objects:   6% (7568/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:   7% (8829/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:   8% (10090/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:   9% (11351/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  10% (12612/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  11% (13874/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  12% (15135/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  13% (16396/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  14% (17657/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  14% (18903/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  15% (18918/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  16% (20180/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  17% (21441/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  18% (22702/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  19% (23963/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  20% (25224/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  21% (26486/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  22% (27747/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  23% (29008/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  24% (30269/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  25% (31530/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  26% (32792/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  27% (34053/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  28% (35314/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  29% (36575/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  30% (37836/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  31% (39098/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  32% (40359/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  33% (41620/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  34% (42881/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  35% (44142/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  36% (45404/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  37% (46665/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  38% (47926/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  39% (49187/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  40% (50448/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  41% (51710/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  42% (52971/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  43% (54232/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  44% (55493/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  45% (56754/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  46% (58016/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  47% (59277/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  48% (60538/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  48% (60880/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  49% (61799/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  50% (63060/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  51% (64322/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  52% (65583/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  53% (66844/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  54% (68105/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  55% (69366/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  56% (70628/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  57% (71889/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  58% (73150/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  59% (74411/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  60% (75672/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  61% (76934/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  62% (78195/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  63% (79456/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  64% (80717/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  65% (81978/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  66% (83240/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  67% (84501/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  68% (85762/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  69% (87023/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  70% (88284/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  71% (89546/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  72% (90807/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  73% (92068/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  74% (93329/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  75% (94590/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  76% (95852/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  77% (97113/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  78% (98374/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  79% (99635/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  80% (100896/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  81% (102158/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  82% (103419/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  83% (104680/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  84% (105941/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  85% (107202/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  85% (107304/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  86% (108464/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  87% (109725/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  88% (110986/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  89% (112247/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  90% (113508/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  91% (114770/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  92% (116031/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  93% (117292/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  94% (118553/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  95% (119814/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  96% (121076/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  97% (122337/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  98% (123598/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  99% (124859/126120), 41.27 MiB | 13.75 MiB/s   remote: Total 126120 (delta 0), reused 0 (delta 0), pack-reused 126116
Receiving objects: 100% (126120/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects: 100% (126120/126120), 45.65 MiB | 13.64 MiB/s, done.
Resolving deltas:   0% (0/76191)   fatal: unable to create thread: Resource temporarily unavailable
fatal: index-pack failed

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor1081.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy136.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #462

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/462/display/redirect>

Changes:


------------------------------------------
[...truncated 45.94 KB...]
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/jenkins2212060269170874242.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
a79fc60597da: Waiting
27622921edb2: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5448735516716497775.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8121019376433923052.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2340315443062708189.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1939173629124345775.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
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)
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 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 0x7fb2a0258990>
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.32s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #461

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/461/display/redirect>

Changes:


------------------------------------------
[...truncated 46.71 KB...]
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins4043572243843463621.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
0d43f60045d6: Waiting
420e7f932707: Waiting
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Download complete
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2644975800298903687.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6958759921927258787.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3154701066948564205.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8928349791941503702.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.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 0x7f881f7f3790>
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 4.69s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #460

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/460/display/redirect>

Changes:


------------------------------------------
[...truncated 183.52 KB...]
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/jenkins7945912885951778079.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
a79fc60597da: Waiting
420e7f932707: Waiting
dcfa0aa1ae2c: Waiting
0d43f60045d6: Waiting
61cf1e8f9385: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6530322049075575369.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6804739416301548270.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8524328977604703804.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8117674886451972369.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, virtualenv, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.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/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 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 0x7ffb52432d10>
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 4.53s
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #459

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/459/display/redirect>

Changes:


------------------------------------------
[...truncated 169.28 KB...]
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/jenkins4521843109179057136.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1472285996180356147.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3187444536794247743.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5608847920771719933.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6288844853696349416.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: virtualenv, colorlog, py, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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 0x7ff762bf06d0>
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.53s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #458

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/458/display/redirect>

Changes:


------------------------------------------
[...truncated 823.52 KB...]
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
0d21c3944fd034b5a9cd32fd994d11b1337db6cb87c845704a8d712a7553e202
8007b5fc1b09a97240bf2124b5ef523338e71eb6c16d1c3df3918ff90e6885a5

Total reclaimed space: 225.9MB
+ docker network prune -f --filter until=12h
+ echo 11888
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins648598513842982966.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4749260198621659573.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8133263254555503313.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7307104999546698809.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8183598357039529019.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, virtualenv, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 0x7f93123fe090>
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 4.83s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #457

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/457/display/redirect>

Changes:


------------------------------------------
[...truncated 36.71 KB...]
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/jenkins9028363180286918411.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
0d43f60045d6: Waiting
61cf1e8f9385: Waiting
420e7f932707: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7979927046948892194.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1166441651919464772.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
f99c95492c1b: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2581152823775654044.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Pull complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5952101576590625260.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, py, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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/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/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 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 0x7fd345cc1c50>
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.31s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #456

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/456/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H23 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot create thread: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off sideband demultiplexer

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H23
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot create thread: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off sideband demultiplexer

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H23
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy137.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot create thread: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off sideband demultiplexer

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H23
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy137.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #455

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/455/display/redirect>

Changes:


------------------------------------------
[...truncated 602.30 KB...]
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/jenkins1779398021443598208.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
a79fc60597da: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7891051749045852067.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5097806350692001314.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2740012627672389935.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4764049237171914310.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 0x7fdc77a2c7d0>
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 4.67s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #454

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/454/display/redirect>

Changes:


------------------------------------------
[...truncated 68.47 KB...]
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/jenkins4040376790863393185.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
420e7f932707: Waiting
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
0d43f60045d6: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5258933488677961290.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Download complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6475563322885973469.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1861982643039495148.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2555487834211199672.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, py, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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/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 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 0x7f80bb372310>
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.39s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #453

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/453/display/redirect?page=changes>

Changes:

[zhaijia] ISSUE #2224: Config ServerConfiguration with setAllowLoopback(true) for


------------------------------------------
[...truncated 194.17 KB...]
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/jenkins3708435459425928100.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
27622921edb2: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8098147630516437247.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1389868374092216720.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6831983529638315139.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6716329231981844376.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, py, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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 0x7fadb018d510>
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.59s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #452

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/452/display/redirect?page=changes>

Changes:

[github] Remove Twitter Libraries


------------------------------------------
[...truncated 517.77 KB...]
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/jenkins8348310617197166246.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
a79fc60597da: Waiting
61cf1e8f9385: Waiting
dcfa0aa1ae2c: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
27622921edb2: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4617551431511390432.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1079283319571765328.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4497196534492544802.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8325291106098805848.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7fe03eefe550>
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #451

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/451/display/redirect?page=changes>

Changes:

[github] Account Apache Thrift and Http Client files in LICENSE files - Fix build


------------------------------------------
[...truncated 157.22 KB...]
  Paused: 0
  Stopped: 3
 Images: 43
 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-72-generic
 Operating System: Ubuntu 18.04.3 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:
ddc9af4aab46b7268609f03ce8877bb2bf0cdb7a348f6dcc5b6a70d0dc024917
d4a89c82a593626ebc27d889cc6237dbebc253c2b0877d3e0da1da60f8e8bc6f
c89165e84aa0fbad953d2e0d664f678bc29a46a89546ad4e258a6e90787d5581

Total reclaimed space: 448.1MB
+ docker network prune -f --filter until=12h
+ echo 21762
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
bdf0201b3a05: Pull 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/jenkins1741665545808308577.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3099564801888395647.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1017305304432173646.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9025728321955449410.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8413966834837621301.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: py, colorlog, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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 0x7f77ec649c90>
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.31s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #450

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/450/display/redirect>

Changes:


------------------------------------------
[...truncated 159.31 KB...]
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/jenkins53563796515398388.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
27622921edb2: Waiting
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4687719419183018175.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4682980166880307468.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Download complete
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4097763345829892316.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins880268465500202959.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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 0x7f47b27a2450>
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.33s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #449

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/449/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H30 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H30
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1753)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:329)
	at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:232)
	at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 20 more
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:916)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:708)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H30
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:914)
	... 11 more
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 15 more
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1753)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:329)
	at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:232)
	at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 20 more
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:916)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:708)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H30
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:914)
	... 11 more
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 15 more
ERROR: Error cloning remote repo 'origin'
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #448

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/448/display/redirect>

Changes:


------------------------------------------
[...truncated 160.87 KB...]

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
3952769af07f7e2c1d9409321485ece1a6f7099a2a32aad4e7aaec6ed6a9a2e6
46c7c2344e47ced054175f1643712e18908f24e2f67b148a3bf6b1f25a29de5e
4ca926092863f8225c3ce411a56d3fd5768dd90880f2f74572834deac71b7b76
b5cc802f39f79a7fb60e39f21081c5dbb55a70b284922b1be3d69a942ad9cd8b
eb8f6ab1bbd310b6bc3d24b9d01f052b06945aa4da9a0291d147353f4f1e5a4f
251506f0d617b77c0929d2728d64ba6040cd39a91380de8debd9f930320553b2

Total reclaimed space: 872.6MB
+ docker network prune -f --filter until=12h
+ echo 2681
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins2509651702616000483.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7817974121704795684.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
19c1a74b577a: Verifying Checksum
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
190933fd4f3c: Verifying Checksum
190933fd4f3c: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4002028468300841436.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
05a09ad199ee: Download complete
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1594028661936563449.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3013067288634037366.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, py, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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 0x7f6a536272d0>
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.34s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #447

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/447/display/redirect>

Changes:


------------------------------------------
[...truncated 161.79 KB...]
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/jenkins7831685571541414427.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
bf6840af9e70: Pulling fs layer
167665d59281: Pulling fs layer
ffc544588c7f: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
4ebe99df65fe: Pulling fs layer
167665d59281: Waiting
bf6840af9e70: Waiting
ffc544588c7f: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
bf6840af9e70: Verifying Checksum
bf6840af9e70: Download complete
ffc544588c7f: Verifying Checksum
ffc544588c7f: Download complete
167665d59281: Verifying Checksum
167665d59281: Download complete
4ebe99df65fe: Verifying Checksum
4ebe99df65fe: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
bf6840af9e70: Pull complete
167665d59281: Pull complete
ffc544588c7f: Pull complete
4ebe99df65fe: Pull complete
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5866038275761287085.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
190933fd4f3c: Verifying Checksum
190933fd4f3c: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6524452330484752978.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Download complete
84effbe3c265: Verifying Checksum
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3357770117013334102.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3854959104696177770.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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 0x7f2374057f90>
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.34s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #446

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/446/display/redirect>

Changes:


------------------------------------------
[...truncated 48.49 KB...]
deleted: sha256:c59bb3c5f3079b1225ffeeada70dfff0ed6f0e0d9f62b1a750aec6b85645aa12
deleted: sha256:26be3767efaa9e80f108cba9e2245be53b80ca0b8276129a670a175179140ee0
deleted: sha256:dae394d7dd4abb39aa24b6e1f93ac4da8628d47c8a01af23e7a73448c48764c8
deleted: sha256:da765f9fe3884c344112639df69b56ea1ef68c74464bec1385d56527ee25046b
deleted: sha256:cd26d043cbc08ae5fccf22856530ab778f0cb7ac255124a94157e8e5aad87c93
deleted: sha256:8cb09481e4a72fa531d7876113d7fd99ed4bd6990ec86046c5bfcddb7838e98f
deleted: sha256:34053b419ac27d97c53880ee1a6ff987bbe918e2ad827da511830e028f84ee96
deleted: sha256:a70b7aa6983b9bba9f4ad1c2db441c61f06203e224601e43a73572cea1c7a860
deleted: sha256:134d231ae767d35bb3353404f9d81407b80e70ba8adb16268e7c74739860c576
deleted: sha256:4d824fe5c04b6d40f8013fa8e9b54a36e135d40542c7e7bfb69c385f271f6827
deleted: sha256:ecb40ed9b9acc6a4329675d0fb17689aafb0e3246160f3a58e23acaba70d1972
deleted: sha256:9cd8bd4b6496357a093737a4c0276c2a9dcdf97162049c26c5aa3ff8df676da6

Total reclaimed space: 6.634GB
+ docker network prune -f --filter until=12h
+ echo 7835
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins4907914688210019770.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3508484506786214495.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
19c1a74b577a: Verifying Checksum
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Download complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7160544229554968718.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5571887244092855476.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7990304991255833255.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, py, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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/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 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 0x7fd388900790>
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.42s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #445

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/445/display/redirect>

Changes:


------------------------------------------
[...truncated 27.96 KB...]
root     30136     2     0 13:09:10  0.0  0.0 [kworker/7:1]
root     30177  7851  7851   Nov 21  0.0  0.0 /usr/bin/unpigz -d -c
root     30229  7851  7851   Nov 28  0.0  0.0 /usr/bin/unpigz -d -c
root     30601  7851  7851   Nov 28  0.0  0.0 /usr/bin/unpigz -d -c
root     30624  7851  7851   Nov 29  0.0  0.0 /usr/bin/unpigz -d -c
root     30679  7851  7851   Nov 26  0.0  0.0 /usr/bin/unpigz -d -c
root     30723  7851  7851   Dec 17  0.0  0.0 /usr/bin/unpigz -d -c
root     30896  7851  7851   Nov 22  0.0  0.0 /usr/bin/unpigz -d -c
root     31207  7851  7851   Dec 05  0.0  0.0 /usr/bin/unpigz -d -c
root     31274     2     0   Nov 05  0.0  0.0 [loop2]
root     31524  7851  7851   Dec 13  0.0  0.0 /usr/bin/unpigz -d -c
root     31776     2     0 12:09:05  0.0  0.0 [kworker/8:1]
root     31949     2     0 14:09:05  0.0  0.0 [kworker/u50:1]
root     31953  7851  7851   Dec 03  0.0  0.0 /usr/bin/unpigz -d -c
root     31961     2     0 14:09:05  0.0  0.0 [kworker/10:1]
root     32263     2     0 14:10:04  0.0  0.0 [kworker/4:0]
root     32419     1 32418   Oct 24  0.0  0.0 /usr/bin/python kif.py --daemonize
root     32450  7851  7851   Nov 23  0.0  0.0 /usr/bin/unpigz -d -c
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 156
 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-66-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 47.15GiB
 Name: asf944.gq1.ygridcore.net
 ID: Q6WX:6H3Q:7AAB:CI6K:BESV:7AQT:FWNT:E2DB:WA3P:PUI2:XICE:Q3W6
 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
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 7609
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
0c79b341c8ed: 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/jenkins2924360300347963461.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6964583522300838905.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2438528631698795059.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1262572818615319229.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4745997881180182602.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: py, colorlog, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7ff6c9ca3890>
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.62s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #444

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/444/display/redirect>

Changes:


------------------------------------------
[...truncated 24.86 KB...]
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/jenkins1076067389052772656.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
bf6840af9e70: Pulling fs layer
167665d59281: Pulling fs layer
ffc544588c7f: Pulling fs layer
4ebe99df65fe: Pulling fs layer
bf6840af9e70: Waiting
dcfa0aa1ae2c: Waiting
167665d59281: Waiting
ffc544588c7f: Waiting
4ebe99df65fe: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
bf6840af9e70: Verifying Checksum
bf6840af9e70: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
ffc544588c7f: Verifying Checksum
ffc544588c7f: Download complete
167665d59281: Verifying Checksum
167665d59281: Download complete
4ebe99df65fe: Verifying Checksum
4ebe99df65fe: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
bf6840af9e70: Pull complete
167665d59281: Pull complete
ffc544588c7f: Pull complete
4ebe99df65fe: Pull complete
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1889108638975219033.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
190933fd4f3c: Verifying Checksum
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4186027952587755193.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
05a09ad199ee: Download complete
84effbe3c265: Verifying Checksum
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins666632972553494111.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins70492463398262927.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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 0x7f7fdf7c94d0>
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.33s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #443

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/443/display/redirect>

Changes:


------------------------------------------
[...truncated 31.07 KB...]
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/jenkins5395921608380619540.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
bf6840af9e70: Pulling fs layer
167665d59281: Pulling fs layer
ffc544588c7f: Pulling fs layer
4ebe99df65fe: Pulling fs layer
dcfa0aa1ae2c: Waiting
ffc544588c7f: Waiting
4ebe99df65fe: Waiting
bf6840af9e70: Waiting
27622921edb2: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Download complete
bf6840af9e70: Verifying Checksum
bf6840af9e70: Download complete
27622921edb2: Download complete
ffc544588c7f: Download complete
167665d59281: Verifying Checksum
167665d59281: Download complete
4ebe99df65fe: Verifying Checksum
4ebe99df65fe: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
bf6840af9e70: Pull complete
167665d59281: Pull complete
ffc544588c7f: Pull complete
4ebe99df65fe: Pull complete
Digest: sha256:61d9223e5ec34cb0e4d56bed4e60266a2b8dcfd79d438dfa1e2c3b07ac867be5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1313038817839181299.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
19c1a74b577a: Verifying Checksum
19c1a74b577a: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Verifying Checksum
190933fd4f3c: Download complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:961f5c1e76266eaa0e6fdf086f4691e6660ba4a472321590ecea6851822e8dfb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8151210883920654281.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
05a09ad199ee: Download complete
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:ea41e0f707d27855b7c9d5254b68980eb4738101ce1232ec7d7eabd70cbde4d6
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7452728179687938478.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:c3c609b4e9113ed9a27056c6e3ff20035b84a277befc53644310490596f0f453
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7488949379898262151.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7ff18e887b90>
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.54s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #442

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/442/display/redirect>

Changes:


------------------------------------------
[...truncated 38.76 KB...]
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/jenkins4969243018524631605.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
8659dae93050: Waiting
c8208a94eb32: Waiting
465b26a31c40: Waiting
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
84af071ddf6f: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
465b26a31c40: Verifying Checksum
465b26a31c40: Download complete
84af071ddf6f: Verifying Checksum
84af071ddf6f: Download complete
c8208a94eb32: Verifying Checksum
c8208a94eb32: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8567934683652375340.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
e74d16bb3da5: Download complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
49a8841b38a3: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6360121678431941689.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
7f9543eceb89: Verifying Checksum
7f9543eceb89: Download complete
a51b3a6a7ae1: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7769412336837412851.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3391007003084167894.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: py, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f3d2c4aa090>
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.69s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #441

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/441/display/redirect>

Changes:


------------------------------------------
[...truncated 495.60 KB...]
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/jenkins4776263229706656778.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
465b26a31c40: Waiting
c8208a94eb32: Waiting
84af071ddf6f: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
465b26a31c40: Verifying Checksum
465b26a31c40: Download complete
84af071ddf6f: Verifying Checksum
84af071ddf6f: Download complete
c8208a94eb32: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2499959807396770038.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
e74d16bb3da5: Verifying Checksum
e74d16bb3da5: Download complete
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
49a8841b38a3: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6282042934743721506.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
a51b3a6a7ae1: Verifying Checksum
a51b3a6a7ae1: Download complete
7f9543eceb89: Verifying Checksum
7f9543eceb89: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7365072844925914466.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4556527391469628883.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 0x7fc9bcdcac50>
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 4.70s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #440

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/440/display/redirect>

Changes:


------------------------------------------
Failed to access build log

Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at hudson.FilePath.act(FilePath.java:1072)
		at hudson.FilePath.act(FilePath.java:1061)
		at hudson.FilePath.toURI(FilePath.java:1206)
		at hudson.tasks.MailSender.createFailureMail(MailSender.java:321)
		at hudson.tasks.MailSender.createMail(MailSender.java:181)
		at hudson.tasks.MailSender.run(MailSender.java:111)
		at hudson.tasks.Mailer.perform(Mailer.java:175)
		at hudson.tasks.Mailer.perform(Mailer.java:138)
		at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
		at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
		at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
		at hudson.model.Build$BuildExecution.post2(Build.java:186)
		at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
		at hudson.model.Run.execute(Run.java:1840)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at hudson.remoting.DelegatingExecutorService.submit(DelegatingExecutorService.java:42)
	at hudson.remoting.InterceptingExecutorService.submit(InterceptingExecutorService.java:46)
	at hudson.remoting.InterceptingExecutorService.submit(InterceptingExecutorService.java:41)
	at org.jenkinsci.remoting.util.AnonymousClassWarnings.check(AnonymousClassWarnings.java:65)
	at org.jenkinsci.remoting.util.AnonymousClassWarnings$1.annotateClass(AnonymousClassWarnings.java:121)
	at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1290)
	at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1231)
	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1322)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
	at hudson.remoting.Command.writeTo(Command.java:109)
	at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:43)
	at hudson.remoting.Channel.send(Channel.java:723)
	at hudson.remoting.Request.call(Request.java:160)
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:286)
	at com.sun.proxy.$Proxy5.fetch3(Unknown Source)
	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:209)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredField(Class.java:2068)
	at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1857)
	at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:79)
	at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:506)
	at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:494)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:494)
	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:391)
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:681)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at hudson.remoting.UserRequest.deserialize(UserRequest.java:291)
	at hudson.remoting.UserRequest.perform(UserRequest.java:190)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused: java.io.IOException: Remote call on H26 failed
	at hudson.remoting.Channel.call(Channel.java:963)
	at hudson.FilePath.act(FilePath.java:1072)
	at hudson.FilePath.act(FilePath.java:1061)
	at hudson.FilePath.toURI(FilePath.java:1206)
	at hudson.tasks.MailSender.createFailureMail(MailSender.java:321)
	at hudson.tasks.MailSender.createMail(MailSender.java:181)
	at hudson.tasks.MailSender.run(MailSender.java:111)
	at hudson.tasks.Mailer.perform(Mailer.java:175)
	at hudson.tasks.Mailer.perform(Mailer.java:138)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
	at hudson.model.Run.execute(Run.java:1840)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)

Build failed in Jenkins: bookkeeper_postcommit_master_python #439

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/439/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H26 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy146.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy142.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy142.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #438

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/438/display/redirect?page=changes>

Changes:

[eolivelli] Fixed bin/bookkeeper shell readjournal


------------------------------------------
[...truncated 479.61 KB...]
root     26363 22034 22034   Dec 17  0.0  0.0 /usr/bin/unpigz -d -c
root     26708     2     0   Nov 05  0.0  0.0 [loop5]
root     27152     2     0 09:40:02  0.0  0.0 [kworker/3:2]
root     27182     2     0   Dec 21  0.0  0.0 [kworker/2:0]
root     27251 22034 22034   Dec 18  0.0  0.0 /usr/bin/unpigz -d -c
root     28745     2     0   Dec 21  0.0  0.0 [kworker/13:2]
root     29031 22034 22034   Dec 17  0.0  0.0 /usr/bin/unpigz -d -c
root     29309 22034 22034   Dec 03  0.0  0.0 /usr/bin/unpigz -d -c
root     29347 22034 22034   Nov 27  0.0  0.0 /usr/bin/unpigz -d -c
root     29999     2     0   Dec 22  0.0  0.0 [kworker/9:2]
root     30053     2     0 03:09:33  0.0  0.0 [kworker/14:1]
root     30141 22034 22034   Nov 29  0.0  0.0 /usr/bin/unpigz -d -c
root     30235     2     0   Dec 21  0.0  0.0 [kworker/23:0]
root     30376     2     0 17:18:27  0.0  0.0 [kworker/6:1]
root     30669     2     0   Dec 04  0.0  0.0 [loop4]
root     30885     2     0   Dec 04  0.0  0.0 [loop8]
jenkins  30942     1 30942   Dec 13  0.0  0.0 gpg-agent --homedir /home/jenkins/jenkins-slave/workspace/ase_Nightly_HBASE-22114-branch-1/.gpg --use-standard-socket --daemon
root     31807 22034 22034   Dec 20  0.0  0.0 /usr/bin/unpigz -d -c
root     32195 22034 22034   Dec 16  0.0  0.0 /usr/bin/unpigz -d -c
root     32295     2     0 12:39:20  0.0  0.0 [kworker/22:1]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 132
 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-66-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.39GiB
 Name: asf935.gq1.ygridcore.net
 ID: IGQ4:MYOD:IV7X:JQ43:NRWL:7NPX:6EHA:ZAZK:Q25R:D6JA:PDWF:V7KV
 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:
8ae7036623b2848ed375f986d47499926da34dd629c2f00c63f54c0d62d70cac

Total reclaimed space: 22.64MB
+ docker network prune -f --filter until=12h
+ echo 21826
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins3318778259727244018.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7305406659521970320.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1615915746374234742.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4682806940876832336.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2500057878980094767.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 0x7fceb7cd2510>
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 4.72s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #437

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/437/display/redirect>

Changes:


------------------------------------------
[...truncated 486.35 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins4131262215235142125.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
8659dae93050: Waiting
465b26a31c40: Waiting
c8208a94eb32: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
465b26a31c40: Download complete
c8208a94eb32: Verifying Checksum
c8208a94eb32: Download complete
84af071ddf6f: Verifying Checksum
84af071ddf6f: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1447765360606099541.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
e74d16bb3da5: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5400240716185929086.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
a51b3a6a7ae1: Verifying Checksum
a51b3a6a7ae1: Download complete
7f9543eceb89: Verifying Checksum
7f9543eceb89: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8156514548790704408.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9027290770658903467.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 0x7f54c2aeb550>
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 4.64s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #436

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/436/display/redirect>

Changes:


------------------------------------------
[...truncated 30.34 KB...]
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins116410657506349474.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
465b26a31c40: Waiting
84af071ddf6f: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
c8208a94eb32: Verifying Checksum
c8208a94eb32: Download complete
465b26a31c40: Verifying Checksum
465b26a31c40: Download complete
84af071ddf6f: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5283828508605699451.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
e74d16bb3da5: Verifying Checksum
e74d16bb3da5: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4748074017278329962.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
a51b3a6a7ae1: Verifying Checksum
a51b3a6a7ae1: Download complete
7f9543eceb89: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5764163736413004233.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5497773174222701215.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f1a95770290>
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.58s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #435

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/435/display/redirect>

Changes:


------------------------------------------
[...truncated 521.83 KB...]
deleted: sha256:3a8118d7bb8881265718d45f47c1373e40228b9d90093428cf7b16578cc9419d
deleted: sha256:f969383e7776c4b4f1679fb9f5cc273f2a6be07fe5ba09e0e0a3efe4f5cb74ce
deleted: sha256:e7ed101590155715ea282a9621d446bdb4b2352eeae7ba47fbca04e96cbaf4b2
deleted: sha256:61d085a8079121d66ef36469e7afb12b89ac8df6b34cd843b33483bebcd3c3be
deleted: sha256:8f961dc819c34632b7b018b59efd65cc29bc5317b6753c25819d4493eb30b967
deleted: sha256:89ce4c1a135cf9466a4f013db4309d5fcf20b4d36aa6e7969345c985fedcf5e6
deleted: sha256:1dd43c0b71f9f5f94c13824fed84e7326fcf73a5fb107234f8af2d2db7a8752d
deleted: sha256:b53111dc89837b54920021116fc07da0f9ccbb67cca031bdf7d02ea045e9ce44
deleted: sha256:1e25c40b4c1bd2b847e41d51057a507b097ec593135aa64f32759b2860a4a9d8
deleted: sha256:6a7d411e4f7401ea219fcd57cc3be172cd0ecd77ba80f2af4ab8b77fc6368a76
deleted: sha256:a24583e937104bb4982030a1b81fae38ac086f039ebb92f5c0a4900f4e659d1c
deleted: sha256:3efa631e498cfa84bcbc0caa28076445298bbf7d4033df38ebb98384d93b9cfe
deleted: sha256:e9ea0805ab2a97bfba1a691db70d3de157384fb0a43c6e0da38b9ce8133b4281
deleted: sha256:8874db6054c44e87e6233de16fdacefbacb7dd1c91b0647089276491a2e41a6c

Total reclaimed space: 7.314GB
+ docker network prune -f --filter until=12h
+ echo 3820
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins406243399155826745.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8418321016590696066.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2295676175272670500.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6780554382642985423.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4969929520733556231.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f6f10abb750>
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.86s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #434

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/434/display/redirect>

Changes:


------------------------------------------
[...truncated 529.97 KB...]
bdf0201b3a05: Pull 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/jenkins6308239290889710896.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
c648cb7fc575: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2941877942991355618.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5111891052364674648.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins224681243111548025.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2223048511132438201.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f618b08ed50>
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.42s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #433

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/433/display/redirect>

Changes:


------------------------------------------
[...truncated 48.04 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins4522116890462457528.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
1da0ab556051: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3620047807737547527.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
3e19e7d95a0c: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1423140384931959623.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7776386032642212538.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8114711880140094795.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
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/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 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 0x7f5c4118d3d0>
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.32s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #432

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/432/display/redirect>

Changes:


------------------------------------------
[...truncated 43.15 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins6279097567201264850.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7271827462767124691.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2682908687681601032.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8164447870848830252.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins470851907076060568.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
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 0x7f13b4818e90>
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.75s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #431

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/431/display/redirect>

Changes:


------------------------------------------
[...truncated 161.10 KB...]
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins7923333287844923774.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3997881513531881931.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4398512430378526599.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4712768381402110814.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5977921352801232427.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
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 0x7f53d99a1610>
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.50s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #430

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/430/display/redirect>

Changes:


------------------------------------------
[...truncated 27.92 KB...]
 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:
eaa0554c169d3070533d2f8b691fa6da5396f78d8d950b6d6ffec65c6f83cc2f

Total reclaimed space: 23.15MB
+ docker network prune -f --filter until=12h
+ echo 9162
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
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/jenkins5155205721379309472.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1397493454478210647.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3162902844377037086.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7388730261111752590.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5615958251886502280.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7f9df9e58650>
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.43s
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 noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #429

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/429/display/redirect>

Changes:


------------------------------------------
[...truncated 29.38 KB...]
deleted: sha256:19a91cad491ae2bbc9c2c60503e85c9607ea36b074ed7d2372bd9bfeba3493b7
deleted: sha256:3f7a88167a0f8cc37fa7691978645bd0471b290045934d363ef92966d6dda403
deleted: sha256:1dd51309a1fd1870ee125bf3c7df88cd15ae74c2fe1e71a86a925813b9e66703
deleted: sha256:942d147d36094923aa206ad0c3caef4c7e54976a00ea3dd5b28bf0dd4e9259c7
deleted: sha256:60a6a1eac4ecc9720f8c9e9ef4fdb8efe38674a557a7cbd765150563d1b1d213
deleted: sha256:afd43705ad0fb9f10c8c100f853b1542705aaa1fc79a67198bf2a050c5e2c0a8
deleted: sha256:8fa636c28777dd0b1619f64c356fcdf0e89d51ae71eef37a4352ca538f8e2d28
deleted: sha256:71583381002777d958dfb05a0ba1260f90a31f05fc558b1674c48474782a8553
deleted: sha256:f2563b14b38eb50fe239363a00bf82be59775f5742fa15ac4fe8d84f4d6fd80c
deleted: sha256:229eed761be8b1ca3b224c287b9524220573f58d0d9c1edb7b30e3d0b33e5185
deleted: sha256:99fd9d00170adc996843f922dc0e34b2a5bd4c56afe29df544e70118f5fa8248
deleted: sha256:134fce5a942f24fd38d9bbf68afc6afa5f1ccd2fce2d2bcf32274db88e900bb5
deleted: sha256:45c692144f4a5b417e57ac67e10ff0ab93c751929aa3f6690b48a76dac54cd75
deleted: sha256:b534869c81f05ce6fbbdd3a3293e64fd032e059ab4b28a0e0d5b485cf904be4b
deleted: sha256:eac247cb7af5edc34d3620e8bce653d4af7d4e3a0427d487a97530c7fac0b841

Total reclaimed space: 1.514GB
+ docker network prune -f --filter until=12h
+ echo 3295
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins670767346975999954.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9005878263449266078.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1212131669395226692.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1550267365443422469.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5363204270988038542.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7f7dfbf37a10>
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.45s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #428

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/428/display/redirect>

Changes:


------------------------------------------
[...truncated 46.06 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins7770005632694615106.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4099275578546065958.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5694079387670577885.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8558173273340463542.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins592111313393550302.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, argcomplete, virtualenv, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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/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 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 0x7f598d1b7a10>
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.37s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #427

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/427/display/redirect>

Changes:


------------------------------------------
[...truncated 31.29 KB...]
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
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/jenkins2743647704014794830.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5584500760644019449.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1917195127998382444.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3812092178371494202.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6993623151840095639.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7fa08e2cda10>
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.39s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #426

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/426/display/redirect>

Changes:


------------------------------------------
[...truncated 511.38 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins730604311749619728.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
8659dae93050: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5152449038447542320.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4328767145911888625.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8712391905834163579.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6198975448213787324.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f81a2b6ca10>
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.40s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #425

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/425/display/redirect>

Changes:


------------------------------------------
[...truncated 193.34 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins8594510994548693280.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
16ea0e8c8879: Pull complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1099984007262296200.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7047959616223637445.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2302212481012195349.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Download complete
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7742003977984505404.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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/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/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 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 0x7f996aa15950>
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.53s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #424

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/424/display/redirect?page=changes>

Changes:

[guosijie] [DOCS] Modify “Using Autoecovery”,recover does not support the specified


------------------------------------------
[...truncated 330.07 KB...]
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins2436824233582538479.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
8659dae93050: Waiting
29c4fb388fdf: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6147347726334041933.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1261833125922121104.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2391066601093657102.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins309228258281826904.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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/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 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 0x7f94f015e9d0>
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.42s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #423

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/423/display/redirect>

Changes:


------------------------------------------
[...truncated 28.35 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins1728162885364714314.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4564734389815251941.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4778987666862852312.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Download complete
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1542719548470075592.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins732809172346057126.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7f485234fa10>
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.37s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #422

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/422/display/redirect>

Changes:


------------------------------------------
[...truncated 33.21 KB...]
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/jenkins1230168372784061719.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Pulling fs layer
8659dae93050: Waiting
c648cb7fc575: Pulling fs layer
29c4fb388fdf: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1794708345422129227.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins306777571517115001.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4393140172783673848.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9075831055166910111.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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/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/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 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 0x7fe77b32d910>
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #421

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/421/display/redirect>

Changes:


------------------------------------------
[...truncated 33.15 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins1898562779484051455.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
c648cb7fc575: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
29c4fb388fdf: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5522760411692075843.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5075051465944690041.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7449786100602183871.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1766921693801116681.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7fe1f5a7ea10>
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.51s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #420

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/420/display/redirect>

Changes:


------------------------------------------
[...truncated 37.83 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins2604453332474109793.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
8659dae93050: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins347453724410496495.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2835697697736374902.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8337559490389047452.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Download complete
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8857853019731848582.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, argcomplete, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7f790cb159d0>
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.37s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #419

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/419/display/redirect>

Changes:


------------------------------------------
[...truncated 36.94 KB...]
5c94f9cbba07: Download 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/jenkins7114118327337253989.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
29c4fb388fdf: Waiting
8659dae93050: Waiting
c648cb7fc575: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7387636601302491405.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1965162509140602500.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4567224081604661423.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3915479961586721715.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: colorlog, py, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7ff1fc48e7d0>
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.60s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #418

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/418/display/redirect>

Changes:


------------------------------------------
[...truncated 36.24 KB...]
deleted: sha256:4e37cea2f40890f89a10920d797d45539f6044874eae84032271a22deac52ff6
deleted: sha256:445bd2fb9416e8656f7b43f385ca01af62f2c1d6599533eb504443b90e56ae06
deleted: sha256:bba7986a94bfbefa44285e9f7f1b333dd427ac5e3a38c590800d72844a1166ff
deleted: sha256:8a0e463c31475644b9c1b23ec4bd1db2f43b0ac02b9288270574d3d954590342
deleted: sha256:a9dab303ca07348a33ac3aa5d3b2f77688f65a211621baeb0b3d82f91749c5f3
deleted: sha256:aff3129926cbbd0cd129e669d1245ae1d55cb6c644508f21df4d51854f8da026
deleted: sha256:6bccc93e2941560e3bdad0574d3b85a164aaf55f14809cd122726a56aca43590
deleted: sha256:b343afe1ee2ce9c7432a6af3e2d72fcdf9b183938b4932772f0252e55fd81e53
deleted: sha256:dcb0a2685db26431af7bd6683d4af0f95ee95e98adb4433148b1a985d545ae2e
deleted: sha256:fce1ff32e78142df2382bd339490beba8fa1025a603bdbcbd097fbff5fe9c420
deleted: sha256:a3a0439fa6133dfcae4d5fc1ea2fec44c3183c8f3407900dc0093341660ac65b
deleted: sha256:1c92dcd8c77d1d46c88791820abaae45c6ed852d50981c99cdb235297e1ae2f7

Total reclaimed space: 6.487GB
+ docker network prune -f --filter until=12h
+ echo 18847
+ 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
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Download 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/jenkins1758458200493858372.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4465921585801444609.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2796972437809145469.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3769172207566643925.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3260142285823593994.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f2b42c809d0>
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.69s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #417

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/417/display/redirect>

Changes:


------------------------------------------
[...truncated 40.02 KB...]
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/jenkins5910790628031569943.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3302275301989468974.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1750754304863842327.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5021966411404055734.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5973548372718407471.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f85da8779d0>
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 4.01s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #416

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/416/display/redirect>

Changes:


------------------------------------------
[...truncated 37.07 KB...]
5c94f9cbba07: Download 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/jenkins4759424542413321778.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
8659dae93050: Waiting
29c4fb388fdf: Waiting
1da0ab556051: Waiting
c648cb7fc575: Waiting
e92ae9350d4a: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
16ea0e8c8879: Pull complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5594066818499474844.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5193130745384964819.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6428625947289421367.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5937504132242008157.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, colorlog, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f7465156810>
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.56s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #415

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/415/display/redirect>

Changes:


------------------------------------------
[...truncated 42.41 KB...]
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins7303176664948958550.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8870710593517923835.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7523285294865317830.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6098850145714002875.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1084716386888587994.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: colorlog, py, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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/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 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 0x7f8079fcd1d0>
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.47s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #414

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/414/display/redirect>

Changes:


------------------------------------------
[...truncated 60.17 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins7829796597386315346.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5172388186377324365.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3276959737146298303.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8111664669431884761.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8323727491251312367.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7f16ba129c10>
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.74s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #413

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/413/display/redirect>

Changes:


------------------------------------------
[...truncated 29.70 KB...]
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
0b0fc63bd05612ff592039d783e63fd5502f351d37d0c78639cac2b69884c42c

Total reclaimed space: 23.14MB
+ docker network prune -f --filter until=12h
+ echo 13084
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull 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/jenkins5158571235186743439.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5525276692243701160.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins70575124396317785.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4340784165290223613.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4596025794446066425.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f360c5aab90>
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.65s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #412

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/412/display/redirect>

Changes:


------------------------------------------
[...truncated 31.90 KB...]
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/jenkins3133883556174616540.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2143756603208070212.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8378192599509578312.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3475101429106800028.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8447324308662164946.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7fef7aa9dd50>
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 4.77s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #411

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/411/display/redirect>

Changes:


------------------------------------------
[...truncated 41.90 KB...]
root     54998     2     0   Nov 21  0.0  0.0 [kworker/19:0]
root     55227     2     0 12:27:49  0.0  0.0 [kworker/u130:1]
root     55271     2     0   Nov 22  0.0  0.0 [kworker/23:0]
root     55799     2     0 11:08:38  0.0  0.0 [kworker/8:2]
root     56226     2     0   Nov 20  0.0  0.0 [kworker/21:0]
root     57022     2     0 18:41:07  0.0  0.0 [kworker/4:1]
root     57270     2     0 11:08:48  0.0  0.0 [kworker/0:1]
root     57457     2     0   Nov 25  0.0  0.0 [kworker/14:0]
root     58904     2     0   Oct 28  0.0  0.0 [loop6]
root     59240     2     0 11:12:37  0.0  0.0 [kworker/2:2]
root     59286     2     0 11:12:37  0.0  0.0 [kworker/u128:1]
root     59496     1 59496   Nov 14  0.2  0.0 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     59531     2     0   Nov 22  0.0  0.0 [kworker/7:2]
root     59682     2     0 11:30:38  0.0  0.0 [kworker/u130:0]
root     60580     2     0 11:12:44  0.0  0.0 [kworker/4:0]
root     63601     2     0   Nov 24  0.0  0.0 [kworker/5:2]
root     64155     2     0   Nov 12  0.0  0.0 [kworker/u128:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 66
 Server Version: 19.03.5
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 85
  Dirperm1 Supported: 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.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
d84cd74186eac5aadedaaba1cf9c911159d820250824bd60d617612ed41b47d2

Total reclaimed space: 23.14MB
+ docker network prune -f --filter until=12h
+ echo 41428
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins3733679083759935111.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8903506526095201131.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2496710598327915390.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7272508497977241962.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6767898688280136385.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7f2fc73a7690>
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.75s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #410

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/410/display/redirect>

Changes:


------------------------------------------
[...truncated 26.64 KB...]
root     48169     2     0 07:48:56  0.0  0.0 [kworker/3:1]
root     48422     2     0   Nov 18  0.0  0.0 [kworker/20:0]
root     49007     2     0 03:25:50  0.0  0.0 [kworker/9:2]
root     49358     2     0   Nov 23  0.0  0.0 [kworker/11:0]
root     49845     2     0 06:08:54  0.0  0.0 [kworker/5:1]
root     50538     2     0   Nov 23  0.0  0.0 [kworker/10:0]
postfix  50952  3283  3283   Nov 05  0.0  0.0 tlsmgr -l -t unix -u
root     52059     2     0   Nov 18  0.0  0.0 [kworker/17:2]
root     53174     2     0   Nov 21  0.0  0.0 [kworker/22:0]
root     54751     2     0   Nov 22  0.0  0.0 [kworker/13:2]
root     54998     2     0   Nov 21  0.0  0.0 [kworker/19:0]
root     55271     2     0   Nov 22  0.0  0.0 [kworker/23:0]
root     55373     2     0   Nov 22  0.0  0.0 [kworker/18:2]
root     56226     2     0   Nov 20  0.0  0.0 [kworker/21:0]
root     57457     2     0 03:34:21  0.0  0.0 [kworker/14:0]
root     58132     2     0   Nov 16  0.0  0.0 [kworker/13:1]
root     58904     2     0   Oct 28  0.0  0.0 [loop6]
root     59496     1 59496   Nov 14  0.3  0.0 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     59531     2     0   Nov 22  0.0  0.0 [kworker/7:2]
root     63601     2     0 15:44:43  0.0  0.0 [kworker/5:2]
root     64155     2     0   Nov 12  0.0  0.0 [kworker/u128:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 34
 Server Version: 19.03.5
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 61
  Dirperm1 Supported: 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.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
fc1c24403bf58e5c51f46959bf7c788bbf043f72c707200868b0f9387daf4ed0

Total reclaimed space: 22.55MB
+ docker network prune -f --filter until=12h
+ echo 44066
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull 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/jenkins6044048011245687517.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3191492955805907087.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins371910867782064886.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4821792268204588831.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3496707548192777127.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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 0x7fccacd0a250>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.56s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #409

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/409/display/redirect>

Changes:


------------------------------------------
[...truncated 27.03 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins3272000486031638202.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
c648cb7fc575: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3650122507600183455.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8051955375423908604.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7016767958152703357.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7305588368164545810.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
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 0x7faae780c550>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.36s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #408

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/408/display/redirect>

Changes:


------------------------------------------
[...truncated 34.76 KB...]
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: 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/jenkins7154833182696994363.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
1da0ab556051: Waiting
29c4fb388fdf: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:07a9630ae551eb7f2aed212bd21ad6909bd4015b49b81bbb42be23d44956809f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1363318777413731906.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:c34cbd890d73220129f4963055f19c01df51aeec7edb33c26df7a0556696c989
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins418303746883600692.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:15b894bfbb86e8908a37d4d5f0024c388ce02605ad3d793419c88a39cd1147fb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4320217134274644242.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:4a52632b1569916fe564322e7f1bbc503920a6b3f6c234866888cf8da4da0ca8
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1520901599363188092.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:484: 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 0x7f914431e050>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.60s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #407

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/407/display/redirect>

Changes:


------------------------------------------
[...truncated 33.78 KB...]
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Images:
deleted: sha256:f1b01d6fdd512c42b4479d6f45a99ddb98b575eac61d6fa22889b2c4baf9953e
deleted: sha256:8bc1e2f115bb0fcb887bf09ab1601f6704e4abb9a75f6465a4df2664885f28f7
deleted: sha256:cb4061aa3c71b5818285ca9beda142f6a215e4c1362ed5111ad095f08dd81cc6
deleted: sha256:895c81ec3e9741207726af6c094de92c0d49f90b318a12fca87d247e86cd55a0
deleted: sha256:3002ad45d8c1da82057d231f1a4e019570bf5034083c5daad1295fc4863325c0
deleted: sha256:9185a7a38147d126b2da639cfba2e67fc14107e08fd0c61ec0d0339b380b379e
deleted: sha256:946b66b26fb15ed81b3e1bf29442c23687587f15faa7e1e317c49a4f991c5d9d
deleted: sha256:938d65591c8fa6ce36b6d634fdb3035868640ab2483c8bb71e67b4dfe7ae601d

Total reclaimed space: 14.34MB
+ docker network prune -f --filter until=12h
+ echo 36492
+ 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
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins5015006128858682904.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1741242819529426799.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3889988994099158449.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8504845796144660951.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
f4683267d169: Verifying Checksum
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1819767495291150423.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:484: 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 0x7f5a1481efd0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.66s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #406

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/406/display/redirect>

Changes:


------------------------------------------
[...truncated 23.56 KB...]
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/jenkins8149272553415594315.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Waiting
bed4ecf88e6a: Waiting
8a8c75f3996a: Waiting
6b809fc1d40e: Waiting
aa9356e83b15: Waiting
667692510b70: Waiting
1128949d0793: Verifying Checksum
1128949d0793: Download complete
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5702002655171324352.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins103294608730792803.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
92471acd0333: Verifying Checksum
92471acd0333: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5961783657912073851.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
d1794cae6bfb: Pull complete
f4683267d169: Verifying Checksum
f4683267d169: Download complete
305bd4bdcbc4: Download complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8224036127986168773.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
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:484: 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 0x7f15f9ea5690>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.61s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #405

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/405/display/redirect>

Changes:


------------------------------------------
[...truncated 33.56 KB...]
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins1282909983692158552.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Waiting
aa9356e83b15: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7442211591098899552.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Download complete
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2262283995854991370.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Download complete
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins91215320056559184.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
f4683267d169: Verifying Checksum
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2523222377104270883.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:484: 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 0x7f802c570110>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #404

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/404/display/redirect?page=changes>

Changes:

[guosijie] Make 4.9.2 as stable

[guosijie] [DOCUMENTATION] Add doc for decommissioning bookie process


------------------------------------------
[...truncated 185.82 KB...]
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download 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/jenkins1847353439343221789.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
667692510b70: Waiting
8a8c75f3996a: Waiting
bed4ecf88e6a: Waiting
6b809fc1d40e: Waiting
aa9356e83b15: Waiting
9aab0a84bd4a: Waiting
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
1128949d0793: Verifying Checksum
1128949d0793: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
9aab0a84bd4a: Download complete
6b809fc1d40e: Download complete
aa9356e83b15: Verifying Checksum
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7272480926024303329.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6256488414917666472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Download complete
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8178841666557639103.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Download complete
f4683267d169: Verifying Checksum
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins332734351883704690.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
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/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/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 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:484: 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 0x7fb0439cc7d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.27s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #403

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/403/display/redirect>

Changes:


------------------------------------------
[...truncated 29.98 KB...]
root     50785     2     0 13:22:31  0.0  0.0 [kworker/1:1]
postfix  50952  3283  3283   Nov 05  0.0  0.0 tlsmgr -l -t unix -u
root     52059     2     0 09:37:13  0.0  0.0 [kworker/17:2]
root     52854     2     0   Nov 16  0.0  0.0 [kworker/15:1]
root     54264     2     0   Nov 16  0.0  0.0 [kworker/23:2]
root     54517     2     0   Nov 17  0.0  0.0 [kworker/15:2]
root     58132     2     0   Nov 16  0.0  0.0 [kworker/13:1]
root     58904     2     0   Oct 28  0.0  0.0 [loop6]
root     59294     2     0   Nov 14  0.0  0.0 [kworker/21:1]
root     59496     1 59496   Nov 14  0.2  0.0 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     59726     2     0   Nov 16  0.0  0.0 [kworker/2:2]
root     63257  3159  3132   Nov 16  0.4  0.0 nessusd -q
root     63740     2     0   Nov 16  0.0  0.0 [kworker/23:1]
root     64155     2     0   Nov 12  0.0  0.0 [kworker/u128:2]
root     64257     2     0   Nov 17  0.0  0.0 [kworker/2:0]
root     65311     2     0 11:01:11  0.0  0.0 [kworker/0:1]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 49
 Server Version: 19.03.5
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 86
  Dirperm1 Supported: 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.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
80626b262a11483e27ccebbdeb299eb5fe21f6bc8a74fd9ec4584b16dd5a8da0
5d1f2be27869f5061eb2f820b86308f31be81ee66fa0a8b1db27b42f5cbd401e
400157bc1fca12933afeafe8b24c36d03942c8f5c1129437f1f3068d0770bf7a

Total reclaimed space: 533MB
+ docker network prune -f --filter until=12h
+ echo 46194
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins7780216151711729332.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins737435028409956217.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins988624593250452309.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3533199516411824952.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7416093748486137080.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:484: 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 0x7fc31c115fd0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.47s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #402

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/402/display/redirect>

Changes:


------------------------------------------
[...truncated 22.97 KB...]
root     25305     2     0 11:41:54  0.0  0.0 [kworker/3:1]
root     25420     2     0   Nov 15  0.0  0.0 [kworker/18:1]
root     25835     2     0 14:09:06  0.0  0.0 [kworker/13:0]
root     25914     2     0 00:39:19  0.0  0.0 [kworker/14:1]
root     26153     2     0   Nov 15  0.0  0.0 [kworker/17:2]
root     27189     2     0   Sep 09  0.0  0.0 [dio/sda3]
root     27246     2     0 07:43:24  0.0  0.0 [kworker/23:0]
systemd+ 27333     1 27333   Oct 10  0.0  0.0 /lib/systemd/systemd-networkd
systemd+ 27380     1 27380   Oct 10  0.0  0.0 /lib/systemd/systemd-resolved
root     27403     2     0   Nov 15  0.0  0.0 [kworker/8:2]
root     27429     1 27429   Oct 10  0.0  0.0 /lib/systemd/systemd-journald
root     28660     2     0   Nov 06  0.0  0.0 [loop3]
root     29600     1 29600   Nov 06  0.0  0.0 /usr/lib/snapd/snapd
root     29907     1 29907   Oct 19  0.0  0.0 /usr/bin/containerd
root     30187     2     0   Nov 15  0.0  0.0 [kworker/7:0]
root     30211     2     0 09:09:07  0.0  0.0 [kworker/22:0]
root     30989     2     0   Nov 15  0.0  0.0 [kworker/3:0]
postfix  31036  2143  2143   Sep 12  0.0  0.0 tlsmgr -l -t unix -u -c
root     31285     1 31285   Oct 05  0.0  0.0 /usr/sbin/sshd -D
root     31338     2     0   Nov 15  0.0  0.0 [kworker/19:0]
root     31403     2     0   Nov 15  0.0  0.0 [kworker/2:1]
root     31692     2     0 05:45:39  0.0  0.0 [kworker/7:1]
root     31850     2     0 15:51:24  0.0  0.0 [kworker/4:0]
_chrony  32667     1 32666   Oct 05  0.0  0.0 /usr/sbin/chronyd
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 68
 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-60-generic
 Operating System: Ubuntu 18.04.3 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
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 10478
+ 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
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins1422158011234405000.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1257486765619386678.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6209182568251748766.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2468964026354125095.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1154814450090622708.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/1e/5d/777a2c0532ffce40dfb7cdee850c8b39955af604330a64824951ca6c353c/argcomplete-1.10.1-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.1 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
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:484: 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 0x7fc54a974290>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.93s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #401

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/401/display/redirect>

Changes:


------------------------------------------
[...truncated 29.87 KB...]
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download 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/jenkins8395384657986073133.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Waiting
aa9356e83b15: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
aa9356e83b15: Verifying Checksum
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8781806255916377639.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2971719913083240969.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8345739579091699867.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3084217655618720923.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:484: 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 0x7fdf990a5450>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.15s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #400

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/400/display/redirect>

Changes:


------------------------------------------
[...truncated 35.59 KB...]
+ echo 11509
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: 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
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
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/jenkins749830097755715977.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
8a8c75f3996a: Already exists
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
aa9356e83b15: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7045231727055510327.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5513565307149567050.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5285210698690342028.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1521413428959410067.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, colorlog, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
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:484: 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 0x7f898fd036d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.92s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #399

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/399/display/redirect>

Changes:


------------------------------------------
[...truncated 34.12 KB...]
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
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull 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/jenkins7276060000139286881.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
984b0e9d1433: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8272823826141479509.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2255762340746944907.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3057129238662198141.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8556248369586729622.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, argcomplete, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 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:484: 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 0x7fd6a890b4d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.41s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #398

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/398/display/redirect>

Changes:


------------------------------------------
[...truncated 37.10 KB...]
deleted: sha256:8682f09aec175feb3b6a46b108f844c0ef3a7ca78c5596cdd79d78de579eb0f1
deleted: sha256:54c470b5999fa7cb7ae9e5f005070cd4761e406853b355bc32e39dc980ac5fef
deleted: sha256:7e098e68ec7340c4a20fb663814e69cef945c014b794bc82d3bf754e7e4b53e7
deleted: sha256:cb758d5299057b293e593650f5c2f95bcd1757ece8ea4d2eaf6268b3d3915df7
deleted: sha256:ced32324725ab53096e56abe5f6f3da2c0e1a9a5558e6c509e550e9a13085af7
deleted: sha256:da033812af34073e1f0822bb20e81fad0a65766aad205c2bcdf791eb526e7ce1
deleted: sha256:4da25ed766c61392ea719b63a8cc3d92e111eaca1f426c99fa33c5f53c74cb01
deleted: sha256:8b5578814d083b10c0f965fef64da255aedd03ff6de3c761ac167e08611b8e0c
deleted: sha256:8ba0391485cccf8856b2d31dd7ee151b2cc195b3fd103b95e259384febb15a34
deleted: sha256:caad702afa35a1a834fd52ba36d7c99ecc99664df58b3afdb622923d8c7ae557
deleted: sha256:714cee4202dfef9c7a51f0921a75f68ce9d371a6c95a7c6b217a3aaca7ec83f0
deleted: sha256:95c003a7b4453484c1e61ff0b50ca09f0a83fb1a8a261341a1cdfff65b794104
deleted: sha256:923ba1ea01fa9bcc04e8d1c88dd6edf7227b58285edeabc06315f2671036e464

Total reclaimed space: 6.128GB
+ docker network prune -f --filter until=12h
+ echo 7257
+ 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
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: 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/jenkins2108460727247710188.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7636789148598527653.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1552930410749766134.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3974763807906383352.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3652042371320094261.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
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:484: 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 0x7f9913b9ac50>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.15s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #397

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/397/display/redirect?page=changes>

Changes:

[eolivelli] Bump Python client version


------------------------------------------
[...truncated 45.28 KB...]
deleted: sha256:b552418630d136be3a0a1dbecdfa3a42d50f45531b3a85afac93d1b9b5095cd8
deleted: sha256:845c76ed9dce10874e143a618c3532598cfb78facb5709878a6a7f2262eec62e
deleted: sha256:91f8b56190f2105c245e6f1f6eb523016e19d150bf497eab55193e807d449bc0
deleted: sha256:ceade3bcdcc5d8d8620087492a0bfd2bc95b6c907499298aa77b231a74ff3c05
deleted: sha256:90c9f2f80ff0dde32451fe75f4a01ee460115c48906a55e1bcd1ef83fe61d3f3
deleted: sha256:e2d0a60cd19f775b81581bad30e3b280a976b189d71314ceb90f7b6eb9567bc1
deleted: sha256:0810abca9fbb06ff75235ccced9225c5268367553afb2478248630fcef91cbf7
deleted: sha256:d11db5495727d12acaa6c197b044da4102f3dca30fd682a6ca745068a3faf02d
deleted: sha256:4ac35bd408b319fbdc130fbf039a343cc70adfe2cc3b290bc71aef5cb0c3a79c
deleted: sha256:0ba76424a10f5b28e2006d1f7b913851c8d2eaca51821764f0b7f8d212dcff88
deleted: sha256:74edc7dd6b535c7a94e95ecff1571d58754d745a347405325afade5798cb1ff1
deleted: sha256:ccb5a2959e2bf85b92f8f4f24bd377b3229cc5748485e9225539d49051f4c7b9
deleted: sha256:e9a61d92a2e84551dfe480ffd98a7f954ba8d11a57fff435e0910d4ed90e766a
deleted: sha256:c57fe9ef0d009853460d1f14875439cc2b5c1b916e12886e030e950bca21e30e
deleted: sha256:ed1bb0f4f1f80887d982b2877efc23983c98c3e74ff38c4b18dcbe1e2baccb8b
deleted: sha256:88daf646351fac71e08c7b9c830a57142277048b1fec7b0bbe6721cd3cdcce16
deleted: sha256:8eaffcff65db9c64a7bb999a43276ae4e06fca80ed7473abd9823bb1b7ed69f6

Total reclaimed space: 6.128GB
+ docker network prune -f --filter until=12h
+ echo 23326
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
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/jenkins6624483037083110529.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6627474369969073388.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6143229712580486263.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins298081424761872368.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2259564055927468343.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
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/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 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:484: 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 0x7f78ed3074d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.39s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #396

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/396/display/redirect?page=changes>

Changes:

[github] Release notes for 4.10


------------------------------------------
[...truncated 31.75 KB...]
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
b06b4996f5626745a2d3c5a0090c43ada61989a6cdac6ca8da27c6c0c8dc8766
255ae5533c79f713e06ae2cebb97a8dca6fc62b4e2b46905a509dcb187ca43bc

Total reclaimed space: 277.9MB
+ docker network prune -f --filter until=12h
+ echo 23143
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins2156862752071008623.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins826454727939642241.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2399635063860262357.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4239147647948132678.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9045405820594798963.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, py, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f0af8f3e4d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.23s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #395

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/395/display/redirect>

Changes:


------------------------------------------
[...truncated 27.20 KB...]
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
77217c16ae2f91a8f3fc489201e0b7cc07d3025bd8f3e5a2508babb55ff59a3d

Total reclaimed space: 23.09MB
+ docker network prune -f --filter until=12h
+ echo 26260
+ 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
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
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/jenkins153736897265371200.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6623069044666038413.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1063058181526379622.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5528346919899370504.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3029160903006005525.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7fe3827ff450>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.75s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #394

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/394/display/redirect>

Changes:


------------------------------------------
[...truncated 36.46 KB...]
deleted: sha256:d910c52e899f02714f60a57e6358c520b82c90d9edb3df42cbf8f05304e61c29
deleted: sha256:bb9057475bba947fbf0c06cf9dcaf98dac08f704d869242bb320553405526b18
deleted: sha256:02722b7f5dbb4d2747a585d318ccb233d0c3663cb7ee953dba52e931652cc937
deleted: sha256:b6c6fe99e2929ca838427ea4cc079ce6589508d9fe560db6a9c317e1e66bc7ab
deleted: sha256:4d1bca3761710770d7b98dea2119242ac80c01a95eed98fb9d7c8849a64d9f45
deleted: sha256:007c87b1bda8b0d96ec1ad24d03a44418e7bb5ec2a661db9cb31abf5bf1bff2e
deleted: sha256:8bb331e75732e325c45bd89ad88cc6d8a62d48957ffbec74474a7578c3e73614
deleted: sha256:bb4caa4143e2016ebd02eb09beaa958e886c3912a9c419cbf8308f7230cae041
deleted: sha256:cb443fb4b2046d9a8d52b8ab303ca47ec6db902d2fb542bd7fc385c59e8491ed
deleted: sha256:0f977d68f4be478492b9763db0b7b0711b0fd13faa0da2dc6c96b2eeb21e5cbf
deleted: sha256:c6605775dcb48d52a72dcdd3065d44ff50372dea823eb910138e7ff4c5f3905f
deleted: sha256:2f4b212c774e389d43049609af23729a6469a7f9ad0e33995775799c5cf90016
deleted: sha256:8c48a42a4d5ec3310b8eb63b08f7bef99b4efd6de701ee9d0052754da94bb032
deleted: sha256:5a1e29b776e0b36507710b64fa50ab1ee674797b1115f03670fc1b0ea0f3fb77

Total reclaimed space: 6.126GB
+ docker network prune -f --filter until=12h
+ echo 2185
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins8564557648942670615.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2901739627344366424.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6821204492600918814.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7035987785174865388.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1270230280762795437.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f5a3c687090>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.87s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #393

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/393/display/redirect>

Changes:


------------------------------------------
[...truncated 26.57 KB...]
  Backing Filesystem: extfs
  Dirs: 75
  Dirperm1 Supported: 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.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 12758
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins5208734318844369474.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4174684832430844458.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Download complete
6513a2441bbb: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5003745153317431619.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1236077352631056853.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5385111402201925068.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f50da3ac5d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.24s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #392

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/392/display/redirect?page=changes>

Changes:

[guosijie] Fix the log level of not support Sse42Crc32C


------------------------------------------
[...truncated 27.48 KB...]
WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
7853f5488d5ef37d9ad8cd84bc384781e7ad448450511713e022b827cea1b70f
de923f74c112bd594a8f66cd268b2dc7ba70222e28bf1d2284eaae7ddd4b7b50
6134590de5cc297f5a4f0c722de4dfa58bbefabee84715d38ec818cb974fc3a7

Deleted Images:
deleted: sha256:06b7df59023ecf854a54f561ee9166835e5b9510d3e01622c31439a9c2578736
deleted: sha256:0ea47e9d83d4d3dde1fbe4755ca74649d394bd931ab336600bacc1ae42032b6d
deleted: sha256:0d132b1b51f8b1655c52bd9eb2fe8029bbb5e9854ae22fdcc1393d484d30c013
deleted: sha256:4719ec06fedf2f2bc39438919888c7fa33cb759ce41bac8c95bb8fbcf9f41703
deleted: sha256:ab96addeb0c0a84ccab1c388662a81df797c61d6b73ed34ab85a457077a8ae3b
deleted: sha256:b31b492f3348e0b156a470cd3664f3282de469c070e915569541187ce1d2303b
deleted: sha256:1c84b811b30e1be68edabc2f84500829f543cd4d59a7c5b3d37854336b9408d9
deleted: sha256:985a132718328a270291535173523ffaee73ebdb2513d7df096a4962c9922db4
deleted: sha256:b7738fd5d2127325d16b61a783b025155a711dcb1d2bdebc535e68ea4effbe8d
deleted: sha256:257d83614c29561ba3b66d438d04645021986626742158d4cdd272bfb315917a
deleted: sha256:99180af8b5ab2cc0fd2254bc1a02d28545ae8eda502f2d563e15024c7e2eb1a2
deleted: sha256:c9afe4017ac0c4d6f0ca4fa9471e715362aedd1411261f0c3eb983d7c0f7b0ea
deleted: sha256:321798b1d68c6d98e2d7f19715af762a6e395c3c89020f201d42fc4754dca0b4
deleted: sha256:4af2cd94552ddcbb23879a0e2322722886f401991efd61ffebefda6db597f775
deleted: sha256:b6b1a1c27c541be0b2a254884c0d72fb2ae2bd118acb7df3ff52c50a2bfed4ef
deleted: sha256:98d960ceb264c038ebde684f6d60f2b98a99158f474ebd0e12d79bc5a8f26df3
deleted: sha256:ba7ed44cf1c14589781fdc86b5bfe15f31b424cbd098a31727fb57e7dbf9356d
deleted: sha256:143f0dfd943bc16db72a628c2ee9cccbd484df1a1eceaa2c573872173a82ac95
deleted: sha256:b256c7d8ae0b7dc954757beacf231fd975be2298bad126f744e141eef5e4dd9a
deleted: sha256:a2f496f988cb81b7607b9d0a917a2e6bab5f28eb737c210c6ea23360eea7645e
deleted: sha256:cffd1334767ce35eb8d70918953a8b5a89168a5e3c6472fcd29d95e7cfaff9a5
deleted: sha256:3cd2604e72d84a6df3d2f2c3bcd1420692eb5c6aa9d20beedca7da30ed568b67
deleted: sha256:2830db18d5e399a66f115dd4dccc815666d6c4d22c8f5467a555c82a73eab60b
deleted: sha256:38b986f5bf63e26cbe61836fe621289bf4ff00ebc8c8d495b1db48ae645f1770
deleted: sha256:d8e981b127a5378920ca8c98adb6f02b2730f7aa71a638023212d1b9534a4c68
deleted: sha256:62c6c1acbef4a54e5feb1a7ad14f22da5b717eba36b05e8cea0188a819749ecc
deleted: sha256:0e8dd1d355666a94eb368a2b3df1054adf7e9afb24a35b65f1a1ca4abbc17e09
deleted: sha256:1e88ecd629da13ff6395ed2364362f6dfc789f61b86577f736338e2014aa0d18
deleted: sha256:b1a22f869e632f04475760b597688568ebd92b6cc89d4514f2436deace5b971f
deleted: sha256:020584afccce44678ec82676db80f68d50ea5c766b6e9d9601f7b5fc86dfb96d
deleted: sha256:1da8e4c8d30765bea127dc2f11a17bc723b59480f4ab5292edb00eb8eb1d96b1

Total reclaimed space: 1.7GB
+ docker network prune -f --filter until=12h
+ echo 11913
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins7526135250190426485.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2225887386440799867.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Verifying Checksum
792e28117005: Download complete
6513a2441bbb: Download complete
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8831730416356503265.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3420873170676894396.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6317858942433425617.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f8b24115410>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.08s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #391

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/391/display/redirect?page=changes>

Changes:

[guosijie] [DOCS] Update coding_guide.md


------------------------------------------
[...truncated 28.05 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins4738605962425898529.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6622084162958570565.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
94d1c1cbf347: Pull complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1997638263576152572.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins941985128578705834.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1606446679343906205.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f19aae41510>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.19s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #390

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/390/display/redirect>

Changes:


------------------------------------------
[...truncated 27.13 KB...]
 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:
01c986ca81000ef0d0a7b7467b5c1a73d876d41a79a83b3caa60758e79a4b295
f1ecee2cf51fda42dd19e9d9eee64b4f74843a1cf603ab7c0e1794050b03b2a0
9fadf3ff858194f68496cb5a49271ecea93a9f6ea559a8def8c13d6c4de07597

Total reclaimed space: 439.8MB
+ docker network prune -f --filter until=12h
+ echo 23699
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
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/jenkins4123654917929543523.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5693642619148724613.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2268443582309317249.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8336456375710489854.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2234999473068305871.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f483c4e8990>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #389

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/389/display/redirect>

Changes:


------------------------------------------
[...truncated 26.38 KB...]
 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-60-generic
 Operating System: Ubuntu 18.04.3 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:
85f4aec47a871aa36ac55b831966662ad2e204339223026e885e329fcb2fe883

Total reclaimed space: 22.59MB
+ docker network prune -f --filter until=12h
+ echo 13840
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins6487757783245633779.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins847045320757554410.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8070861608142789075.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7643016578636034456.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8524310120990966790.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f69fc757910>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #388

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/388/display/redirect?page=changes>

Changes:

[github] Add -Dtwitter to fix auto-build


------------------------------------------
[...truncated 29.00 KB...]
 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-60-generic
 Operating System: Ubuntu 18.04.3 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:
42614f4d2eab00a88550353125edbd5fc7e5b64015b0871f08ebe4afbf306fc7
e1b0b782ff2f081226d2c324709b31da25ff3e462f21741acfd509ea93196a24

Total reclaimed space: 22.59MB
+ docker network prune -f --filter until=12h
+ echo 20053
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins6687717771236443042.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4130080058553569176.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3701024796184146664.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4422930707797146369.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8370224357448077361.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  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
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f57849ec8d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.81s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #387

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/387/display/redirect>

Changes:


------------------------------------------
[...truncated 38.11 KB...]
deleted: sha256:a90db76daa09b2f088f5404bd56f8821b8dde4ea5a3d50c0973f8ad39f135cfe
deleted: sha256:17632eac7e91d65c9175563b4d23646db399c9c8cf19114e662196d77804a976
deleted: sha256:fd585bee00d7a2762bf908c6625792f5a1bc1fe7d54b5ab0bf20d075fdb44c41
deleted: sha256:16e699f92f9b7d35836b60d8fa4b041242be40e4f684c80c168b4a5b153c78c5
deleted: sha256:c0f5600d2cca15070aef5a89e77658b39b0beb4fa17d4bd568c4f7d53b730601
deleted: sha256:f22fbec010bfee8f5ea08e921c8cf242176c14107f6c0bfa2342f012752dd32f
deleted: sha256:c97b35b17d0a49e8e558742977bab376536901f854019dc5579e669fce6a3b28
deleted: sha256:64957da7937c251d9c8e57d8233d020237fa42fb60b46d8492af5858e0b234f3
deleted: sha256:14d44dde7cddcd86e437912b674548d19c4a9c4ee23580e3d37b3307f0f17442
deleted: sha256:5593cbea6f3e8bb360f3be88b8aed6814dc0baca0d0de6cf416419b3fc14a332
deleted: sha256:e87e62a2bb0a1928b915a20e52ddd27ac34b626a445fc21601930d05f059940f
deleted: sha256:df48e167dfcf7f18d6a17c329702790fc672f78cb73291c40b41fdb8fcd3f2f0
deleted: sha256:ec678e769500a54e0937912ed2905399e68b50f651ab93f1a27bd7b185fa26fd
deleted: sha256:fb9aa9af64d90f5045e85a1ce55aa43b4a4c090da926e5d4f8b6e6ac6ffd3973
deleted: sha256:d1ef67f0693249b8b6a2d32490c9c9895d15c6177070cc7dd0eea85820efa561

Total reclaimed space: 7.026GB
+ docker network prune -f --filter until=12h
+ echo 28155
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins2956815773359570970.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4063392233488748495.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3291046978546507756.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
765d0dc09bbf: Pulling fs layer
65bf6e648924: Pulling fs layer
66c62c8268bd: Pulling fs layer
65bf6e648924: Verifying Checksum
65bf6e648924: Download complete
66c62c8268bd: Verifying Checksum
66c62c8268bd: Download complete
765d0dc09bbf: Verifying Checksum
765d0dc09bbf: Download complete
765d0dc09bbf: Pull complete
65bf6e648924: Pull complete
66c62c8268bd: Pull complete
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2796409792513201978.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4522656984134140389.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f56be6c00d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.86s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #386

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/386/display/redirect>

Changes:


------------------------------------------
[...truncated 27.93 KB...]
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins8532065814222613232.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8308635751555658892.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3205257695594125142.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
765d0dc09bbf: Pulling fs layer
65bf6e648924: Pulling fs layer
66c62c8268bd: Pulling fs layer
65bf6e648924: Verifying Checksum
65bf6e648924: Download complete
66c62c8268bd: Verifying Checksum
66c62c8268bd: Download complete
765d0dc09bbf: Verifying Checksum
765d0dc09bbf: Download complete
765d0dc09bbf: Pull complete
65bf6e648924: Pull complete
66c62c8268bd: Pull complete
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4261132734461344553.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins828748452946303494.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7fd746897fd0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.13s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #385

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/385/display/redirect?page=changes>

Changes:

[github] Add -Dtwitter to release scripts in order to build Twitter stats

[eolivelli] Removed mutex contention on BufferedChannel


------------------------------------------
[...truncated 507.44 KB...]
 Total Memory: 94.37GiB
 Name: asf925.gq1.ygridcore.net
 ID: HBD6:AGHI:OEF3:D4E3:P3EU:K7IM:GYOS:TEF7:ZXYS:6LEQ:654F:SZHY
 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
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 21390
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins6868171375057506964.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3849313362120349443.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5934867711700893871.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4681506515759910109.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2522046470913652088.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f148aa38510>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.81s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #384

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/384/display/redirect?page=changes>

Changes:

[zhaijia] Issue #2145: Make ledgerDirs in Cookie consistent across generating a…

[zhaijia] Fix firstStoredEntryId logic in LedgerFragment

[eolivelli] [maven-release-plugin] prepare branch branch-4.10

[eolivelli] [maven-release-plugin] prepare for next development iteration

[eolivelli] Fix version in modules that are not active by default


------------------------------------------
[...truncated 26.69 KB...]
deleted: sha256:d840f49d296001e45b9b441a63e26303995b3a81a3ec4e36884e5b23cfa67a60
deleted: sha256:360f24bf6e258b034ac86213761793f04be125e63c6feeb40802174629d43f92
deleted: sha256:49ad95e3959f2569f60079d8b49e457dd00c52c9947829655bc9df4d0543e816
deleted: sha256:852705401fada2e62dfb9c864f32f96c770a6bf716acd8db7622c089ec4caac7
deleted: sha256:047b47ea688e49e540c311261bd8cf065898ad9841309c98b48375b678dce7fb
deleted: sha256:892278e96513736d8aed27d434ac717437d1546e4596e7ade33d932e1a314563
deleted: sha256:7d9573ffcf75427e552f6015cb7f295295f2ff0235aad7dbe6eeeaaa68912304
deleted: sha256:ed968cc24fe2060d20b5e2ebf39ac80125b9f69850b89cb1241a816a622824f7
deleted: sha256:c4f37f5f5740907c168c8d0d39fbfc69b5db6f41973bf1efeb3032fff3bc3dda
deleted: sha256:17f31ee8b55148c52affd45d491b51da5c3a857a33c9c2a43b69447a60a7b692
deleted: sha256:95507714e0c98978f9057b61d2f3ed5108c9a51c58240127de6e88f923a33ba9
deleted: sha256:78fb3f67472294991d97bd0623530b56ca7c344467000b2bd04d164150d1afb5
deleted: sha256:62bc6c101a6812302691f910a8683f8dc661848f25ad0a33290706ef3ecba6ae
deleted: sha256:19485c79a9bbdca205fce4f791efeaa2a103e23431434696cc54fdd939e9198d
deleted: sha256:6c0ea40aef9d2795f922f4e8642f0cd9ffb9404e6f3214693a1fd45489f38b44

Total reclaimed space: 2.002GB
+ docker network prune -f --filter until=12h
+ echo 12978
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download 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/jenkins931000245504717651.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7026811571647795000.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5582598874677518312.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6311464417881029956.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6229621341403696284.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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
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 0x7fc1d2418050>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.96s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #383

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/383/display/redirect>

Changes:


------------------------------------------
[...truncated 26.85 KB...]
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
3f6dce707b8234d86217c63a586a0277d0d6e3c330b6f640a7d26ece74c5b261
5c5d3065f14645ce08315739c350ec74535e3de2efe02cca65e48398636c25be
c804c602a490e3a194e4dc57dc5812bd12bb7b6a42caa003828af31b5a2c4f3c
fba8a4f8680bbcf9e8e8133ac0479e8d63ca815938088559b2866dfecca4b9b2
c223f50daa3f07feb21dcfa48be106c47bbf8254d4caa1e9373ec3d15f8853af
d02eb77370dd0f449281e3e3929f94ae792d7cb320b43da70b7ed4af96460544
b3119c64277c4aa28e68ae44a1180357512f38eca969aa0908ca441bcde52aad
76fe3fadad471056514a35832d640a69e8371edcaf17bf4ae7b2fcc033b2b5a1
998a2f5d2b6452c1d2bd213922d7863ae2c7853dde2206aa6d24a69c6e467de2

Total reclaimed space: 1.594GB
+ docker network prune -f --filter until=12h
+ echo 13268
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
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/jenkins2201633403543056855.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1806357210117468119.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4442851387714572370.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2680725592614639892.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8195562389728355226.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f0b31bb67d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #382

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/382/display/redirect>

Changes:


------------------------------------------
[...truncated 26.56 KB...]
 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:
b6cbbe1e48dc1bd3ed9808be74e982d145db5852122dc567a66ec57f0eae1cf9

Total reclaimed space: 22.01MB
+ docker network prune -f --filter until=12h
+ echo 21447
+ 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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download 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/jenkins692613185859081535.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7536087173096372123.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3902542437855054488.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7929094254789422634.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2418522807847215176.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f803fde2090>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.80s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #381

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/381/display/redirect>

Changes:


------------------------------------------
[...truncated 26.47 KB...]
 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
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 17396
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins1562291686131412959.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
d930e1ce5d4a: Waiting
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8459675662569892617.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3380681634248940068.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins796500210125332572.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4570199092893895343.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f3b4925d910>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.85s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #380

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/380/display/redirect?page=changes>

Changes:

[guosijie] [DOC] Improve the Manual deployment document.


------------------------------------------
[...truncated 26.43 KB...]
 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:
e656703aa157b115ceb4f9b229bfcc4e4e3c23c1974e44b65902d0b6ca02e270
d66227f76e9f2a7601a1c9ecdb59403e30223628b4e0bc800e98fa44de7d3b19

Total reclaimed space: 415.4MB
+ docker network prune -f --filter until=12h
+ echo 9363
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download 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/jenkins4134269554344703656.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4721507490057865167.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3175460472884771950.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins18815875387173670.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9157639394773700447.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  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
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
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
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 0x7f0726cc2a50>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.19s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #379

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/379/display/redirect?page=changes>

Changes:

[github] Fix logic of areEntriesOfLedgerStoredInTheBookie

[reddycharan18] Journal scan should throw IOException when it reads negative length

[guosijie] Upgrade Apache Parent Pom to 19


------------------------------------------
[...truncated 30.31 KB...]
+ docker network prune -f --filter until=12h
+ echo 18925
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: 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/jenkins8582883152477829664.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
d930e1ce5d4a: Download complete
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7602025926164335096.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8871961789935888085.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
556620bd1286: Verifying Checksum
556620bd1286: Download complete
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8937102055648784427.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4356693259961306750.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f96949cb790>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.99s
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 reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #378

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/378/display/redirect>

Changes:


------------------------------------------
[...truncated 41.79 KB...]
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.39GiB
 Name: asf934.gq1.ygridcore.net
 ID: KAC3:FAXB:HZ5T:2BSP:75LA:TVDV:RXG7:OM5O:KSP5:GINM:SOQ3:AABN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 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:
7df019f363272da152a9c0a0d4d42b783f5fef1f61dc6531eb01f4f4e6245ea7

Total reclaimed space: 2.729MB
+ docker network prune -f --filter until=12h
+ echo 5209
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: 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/jenkins4305503332104819444.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4449457568147414803.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5659555367032936150.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins238623892659854627.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5408536284615268054.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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
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 0x7f475efe91d0>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.32s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #377

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/377/display/redirect?page=changes>

Changes:

[github] [DLOG] LogReader shouldn't be added to pending if not locking


------------------------------------------
[...truncated 506.65 KB...]
deleted: sha256:82070001c3328e59eb1a583c938b8d5eca963845186aa759e3c8ac76f13caf64
deleted: sha256:99f38c6bd39759f1a027eb2a7d38f2ec8c0741ca3f4120ca76d05385af74fd3d
deleted: sha256:b451efacc10be90bced1d2c9f21f9cee15234c24075f8251f2db3e9fd1f63088
deleted: sha256:82cfbc4b7f0ecdd95c56e98ed1b4c0c3dea3a77e8881fac461a8ee7552df0cb5
deleted: sha256:9936bd5a2c76f70c5387ca693e7c71446fe57c36a81a63790f8b037190ef5d45
deleted: sha256:ddc79a567d81ab4eba2042318707b3d3cef3b023c7cf60a9738723973fce6bf8
deleted: sha256:34dfe90dd2f91ca948e2d85cf87d60c4540c09e6296ae35324431e5c6f21753b
deleted: sha256:266a9b2dec46eacf410f9fc3c0d0bbcbb367bba557127c1cde9a64269b271521
deleted: sha256:9ff19244d67170ae21a04492f901eb0e42d55f7a3d8f7f056ac0af1266d15528
deleted: sha256:c6fbc0fc7f0271163c0bd62ed507da0c0d4887f2074d76a6871d9f3d7a01947d
deleted: sha256:24942972ae011fd75e4681c0d6ba099cab22dae753e4f34751a124e4d15d2589
deleted: sha256:a46c2ea82a0ff71e555f2ad36604aca795f4cf2c85e01b8869d90d6c6e0f785a
deleted: sha256:5f05d02680d00f947880261ad2d3146adba53abef7b52e0b107450a6cbfb8dc0
deleted: sha256:ed8b55fd06d9f3df47e3f122049975df11105bfeeeab02b9cc0cee92a12755d0
deleted: sha256:7bdc6fccdfe4671f6468ed2fed5a9c28bf953bb3ef076c9e2b4d0c155068d9ac
deleted: sha256:a46ac7a7f0a35c7b842b53258fb3acde7bfe7f4f0c30b374c23f87820a961f02
deleted: sha256:09edf942282631b4d929aa7a9f15e4bc4c013e4d275ec44110bfd6f630d91e09
deleted: sha256:0ca5f59fcaa0adbce967698f5d4f6a6e29aa347806c4afcf21a2f6f6e5e52277
deleted: sha256:9689d421841065b7046a66c6fa9e82066343e18f34da009791603c293c27a694

Total reclaimed space: 6.036GB
+ docker network prune -f --filter until=12h
+ echo 9020
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull 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/jenkins776856803728919599.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9054678910375364476.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3589799272158345744.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4158798223575088737.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
531cf132d4f4: Pulling fs layer
b8371b4f3c34: Pulling fs layer
b8371b4f3c34: Waiting
531cf132d4f4: Verifying Checksum
531cf132d4f4: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
b8371b4f3c34: Verifying Checksum
b8371b4f3c34: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
d1794cae6bfb: Pull complete
2fc5ff046661: Pull complete
531cf132d4f4: Pull complete
b8371b4f3c34: Pull complete
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8756589204680398834.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f3a1e44b810>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.26s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #376

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/376/display/redirect>

Changes:


------------------------------------------
[...truncated 162.72 KB...]
root     51901     1 51901   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9dcb04fcb4e543abd2c939bd14e0f1c648701283101c83c9cc7dc4d0c0762e06 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     51921 51901 51921   Oct 11  0.0  0.0 runc init
root     52022     1 52022   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/401dd2192f7681863d662dc6f808633f473bbc3bcfc991aebf57bb72b47a7f06 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52040 52022 52040   Oct 11  0.0  0.0 runc init
root     52134     1 52134   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/30d90a2ff408694faa0e081edbf6206898c45b6a61bb64adc080da7f31d757c6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52152 52134 52152   Oct 10  0.0  0.0 runc init
root     52239     1 52239   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/95f97d2a7deb7b34089a3aba642e29292fe955b5f52d3de09775805e9b34fa62 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52263 52239 52263   Oct 10  0.0  0.0 runc init
root     52273     1 52273   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/61d311b2893b9692b883fa8f7306b2eb1bb7ce09ab91e879b01a01b44d250ece -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52292 52273 52292   Oct 11  0.0  0.0 runc init
root     52352     1 52352   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6a7045589fd4283b8fd8f39a5685c1ba241fdbbdb322ebfb02028284eeea46ff -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52370 52352 52370   Oct 10  0.0  0.0 runc init
root     52404     1 52404   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/54e83a3c916ab2ad1fd6c654064d568658aac0904ea42fdb5a7d5cac25800238 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52423 52404 52423   Oct 11  0.0  0.0 runc init
root     52509     1 52509   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/223e00d64da351b6d092a9f52ee1e60da045b2347f9e9abdd8c8c3e014a48b60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52528     1 52528   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/fe811edd5dda2dce61e2dc8f849e2c35f70388fb83fab6337cafe9a0f31f6459 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52538 52509 52538   Oct 18  0.0  0.0 runc init
root     52548 52528 52548   Oct 11  0.0  0.0 runc init
root     52586     1 52586   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b3eb84cff08e9b0d2a29081fe20e5319e6e8d7aefb34b582ffa4e23af63a6999 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52604 52586 52604   Oct 10  0.0  0.0 runc init
root     52610     2     0 06:14:58  0.0  0.0 [kworker/14:2]
root     52666     1 52666   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4c4f826dcdbe2bcb9d7e2de49ff36dbfb39c5d554fd2b34278dcaa8a3aa4b4da -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52684 52666 52684   Oct 11  0.0  0.0 runc init
root     52779     1 52779   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/927867b6a30b69eacd768de2eb51fea6bf06f247bfdb9a1a4db2d71d384148d9 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52802 52779 52802   Oct 11  0.0  0.0 runc init
root     52964     1 52964   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0dd20bcfb2672d1b2e3f564ecacc413b0c4b1855519742f17ef56986f4bdf405 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52983 52964 52983   Oct 11  0.0  0.0 runc init
root     53021     1 53021   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/506b2da1175c39c6d879a858ef31c15f0d63b8084c507dce805f2416e2f25977 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53052     1 53052   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9cfc931abc4dd9118cbfe0feca729409a0b657f739e244022ee5988d2c016fdc -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53070 53052 53070   Oct 16  0.0  0.0 runc init
root     53083 53021 53083   Oct 10  0.0  0.0 runc init
root     53099     1 53099   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/da2951bf0b2c8c591b11dc00303e55e3cb2a50ce19350e7e8e79a293d5d235d6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53117 53099 53117   Oct 11  0.0  0.0 runc init
root     53197     1 53197   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ec048fc31413141e8ab55838c57628b9d1c1a1fa1a0396d73e5baa590acd331a -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53215 53197 53215   Oct 10  0.0  0.0 runc init
root     53230     1 53230   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/cd44b95f9fa77bf08593c122b725ce26fc08467a44140aa4af31a25ad04c3cae -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53248 53230 53248   Oct 11  0.0  0.0 runc init
root     53347     1 53347   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9e9197770f8e3b730aa1537d87f563c002e422a12e9b4c84cbb90e641983763c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53356     1 53356   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/630be0da3c25d2c48e02ce6fdd612e6075c9fc9889f44df3a56f506572e2d68c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53374 53356 53374   Oct 10  0.0  0.0 runc init
root     53375 53347 53375   Oct 11  0.0  0.0 runc init
root     53463     1 53463   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f3ecc6104f6a2b9956b6b1dafc094b1252959c36a106b4649e9ab9b08cdcdc1e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53465     1 53465   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/19718a1a7abc5d13991e48f37250bdbf92ed054189eafb37b3ca759eeb11887f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53483 53465 53483   Oct 10  0.0  0.0 runc init
root     53491     1 53491   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a031f4e5d45c1d7324026d9d609c351109c69456f57400bc72196459dc7d64b5 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53505 53463 53505   Oct 16  0.0  0.0 runc init
root     53513 53491 53513   Oct 11  0.0  0.0 runc init
root     53580     2     0   Oct 16  0.0  0.0 [kworker/19:0]
root     53589     1 53589   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f9a80286ab41ab819c710a2658794438a9c5df9236361726076740ce795bea42 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53607 53589 53607   Oct 10  0.0  0.0 runc init
root     53634     1 53634   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/7a051e42dc0e27661b1b0e5b47d8578a33844907a9640f5a91ab585e553bcda0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53654 53634 53654   Oct 11  0.0  0.0 runc init
root     53753     1 53753   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4699cca53a8247ed8b966f1db3322d707bed685c89d339efa24f1283d403eea8 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53771 53753 53771   Oct 10  0.0  0.0 runc init
root     53826     1 53826   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/8358f62253abea5c6836bf32c85ead7eb20a4eb283c41f94625bf363985fc3d3 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53844 53826 53844   Oct 11  0.0  0.0 runc init
root     53863     1 53863   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4cf750e4e483280847fd6227c38afaa09affb8bec39671c3539636649c83b7fa -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53881 53863 53881   Oct 10  0.0  0.0 runc init
root     53941     1 53941   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/37ce046ece335d1f1ca42479e140bb09dae873ba39db61b01a86724341552ba0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53959 53941 53959   Oct 15  0.0  0.0 runc init
root     53962     1 53962   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/3fd2bf6be9a7e80290682d6a2c91be3358524f6bf9dbfb46b4abff4ab597af41 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53978     1 53978   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/cafcbede38f5e16895b6f9be9dd4dc55fae986c6b96b6a02b77f6eaeb6cb5aae -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53989 53962 53989   Oct 11  0.0  0.0 runc init
root     53996 53978 53996   Oct 10  0.0  0.0 runc init
root     54087     1 54087   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b4345e27314eed255dadfd421f501f7d18ea956383216df1e71d4eaab8dcf0c1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54101     1 54101   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f5a2cc48916be2061aa8c1f30a61fd9a84934dde993c6186d9ebaecad4ab6c89 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54105 54087 54105   Oct 10  0.0  0.0 runc init
root     54124 54101 54124   Oct 11  0.0  0.0 runc init
root     54125     1 54125   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/74ca944a60874becd844a3f7840333587b5e1a9d113247ab41238f927071b5da -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54149 54125 54149   Oct 15  0.0  0.0 runc init
root     54224     1 54224   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6679b6b0c305bda08709e42bc4e399f0c14b3f2521be64839ab46f0f68dc3188 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54242 54224 54242   Oct 11  0.0  0.0 runc init
root     54270     1 54270   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/367c682a317e0a3d6a47dde02e4fa9619d53242df6562d89acd3f966a4a1535f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54289 54270 54289   Oct 15  0.0  0.0 runc init
root     54314     1 54314   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a220e84df0434157df384ced6ec6d9dbde000422dc219c4faeee077af57c01b0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54334 54314 54334   Oct 10  0.0  0.0 runc init
root     54370     1 54370   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/2402821dbaf2f8603e685b481eb0ab364ee05dbfc16fd5b2f2a928f3b3df09c6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54383     1 54383   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a8428f05f72adc5cf4201b92df5cfcffd2cf8ff17cbb34fd8c6e42ebec2df7d -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54389 54370 54389   Oct 11  0.0  0.0 runc init
root     54406 54383 54406   Oct 16  0.0  0.0 runc init
root     54502     1 54502   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b99c9bcba6ed34934eefba7b0832e8d1ad1d4d44d47ff1366700f2205535c536 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54520 54502 54520   Oct 10  0.0  0.0 runc init
root     54522     1 54522   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f6b79e28988bb090896862d097094b1b22a341e67e0be5eef7057b0bbc4de109 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54545 54522 54545   Oct 16  0.0  0.0 runc init
root     54594     1 54594   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/7c393ffc02edc5ad5de80abc61c701df92435695d04701150fe506231b47bc3a -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54612     1 54612   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/64969441b5b3ae64e087121516cefdb0f575a1b238765edd47b5105082dafd47 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54622 54594 54622   Oct 11  0.0  0.0 runc init
root     54630 54612 54630   Oct 10  0.0  0.0 runc init
root     54678     1 54678   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f34b2693d124491475dcd076e3726e65148977b6454537d91b691b3c81d1d037 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54696 54678 54696   Oct 16  0.0  0.0 runc init
root     54720     1 54720   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0b60357e2bd7fd7b70d1b4f3b013f0acac04fd4d15257f97473c94109addc208 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54738 54720 54738   Oct 10  0.0  0.0 runc init
root     54749     1 54749   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/7e9f9b715c240ce6d46b3c65856762c614dc5142d3ee586338e0c01e46275aaf -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54769 54749 54769   Oct 11  0.0  0.0 runc init
root     55019     1 55019   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/237caa6f331dc0e7c0118493bc8f565dcf6720773a4ab0dbe310954d2f971bed -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55037 55019 55037   Oct 10  0.0  0.0 runc init
root     55318     1 55318   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/3f9516661b545c0cf643b97e7b5ea5a059523c2dfaeb5da24316401ee6570b78 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55336 55318 55336   Oct 10  0.0  0.0 runc init
root     55403     1 55403   Oct 17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a035a80cee3f9042442a0644d421664a80e7b83e57b63a545a0dac71ee1d468 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55422 55403 55422   Oct 17  0.0  0.0 runc init
root     55491     1 55491   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/cf516a4c5313a65c031579053403429fb9e9264c22cd9c2a8e23102bb35452ff -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55509 55491 55509   Oct 10  0.0  0.0 runc init
root     55603     1 55603   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/8d5c2e0da6c9f25c3234604cec13aaa992f13520da4d5979e8a8b66cce12fed1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55621 55603 55621   Oct 10  0.0  0.0 runc init
root     55712     1 55712   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/059793f1817000f55b1f941ccb271460475e78ee30d209e89346ceba27149b36 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55730 55712 55730   Oct 10  0.0  0.0 runc init
root     55876     1 55876   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c38c02ccebed4eef3df14762e3627328b24b74b9c59e01d9f3100393f96d1b64 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55894 55876 55894   Oct 10  0.0  0.0 runc init
root     56095     1 56095   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/63f9af38b00748ebb784351e9b4747322e14223bbc55863e10c727a33eab197b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56113 56095 56113   Oct 16  0.0  0.0 runc init
root     56135     1 56135   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/33a2ce1b1df3f492e4cfa2ba6fc24ef7991ce0ce2f88b3bd70a4ee60182bc9d3 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56153 56135 56153   Oct 15  0.0  0.0 runc init
root     56230     1 56230   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c984df4cec0f48166a79b0e68b412589ddeaca43a610503a58ba71c03218cd6e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56249 56230 56249   Oct 16  0.0  0.0 runc init
root     56266     1 56266   Oct 12  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/8f7bb521addd495135f898ae7b38e5776d789f178ea8573b4616afbbf2d78a04 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56289 56266 56289   Oct 12  0.0  0.0 runc init
root     56320     1 56320   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/d45ac8825d68e893e16376563243a511a9a2ee880ba75f713c00ac93cd623411 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56338 56320 56338   Oct 11  0.0  0.0 runc init
root     56460     1 56460   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/49dac05c1302dba5eb8ec62e6e40408f4f8c3a22460e45ca484e42684bbbc00c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56478 56460 56478   Oct 16  0.0  0.0 runc init
root     56504     1 56504   Oct 14  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f6031b0b641e6a4a776edf9519852db2b7e1f3bd5e344a7fcba7471449854c45 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56519     1 56519   Oct 12  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0b9e3064e787b8333d772beb16d983fe4892174e124a76dbe86c8c19c6ee7ea1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56531 56504 56531   Oct 14  0.0  0.0 runc init
root     56537 56519 56537   Oct 12  0.0  0.0 runc init
root     56628     1 56628   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/71553ef89dcee03d756f849f80489c11332efd459c56eb20002f1c62f5b5f091 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56646 56628 56646   Oct 15  0.0  0.0 runc init
root     56738     2     0   Oct 21  0.0  0.0 [kworker/23:0]
root     56752     1 56752   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/100afb71922a080440b6ae301bf40e0a2410057b47c3d1ef1c138e96c9b13621 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56770 56752 56770   Oct 16  0.0  0.0 runc init
root     56860     2     0   Oct 14  0.0  0.0 [kworker/21:2]
root     56869     1 56869   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bbb2637e04684cbaa5c442fedf5793b95d47cdfb1b7989cffcb0a825d8d9aab6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56888 56869 56888   Oct 16  0.0  0.0 runc init
root     56987     1 56987   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/50df0169bdb1fb1a0b8cb160e48a2c2c9b5e9b7a56abe73ae8fcfb806266d1ce -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57006 56987 57006   Oct 16  0.0  0.0 runc init
root     57217     1 57217   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/92d6269576b0d87387a9593ace6661a517dab2ff354ace2d1afffff014e47753 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57235 57217 57235   Oct 10  0.0  0.0 runc init
root     57383     1 57383   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bb97d07596f44867d3a2a3e9987363cf0799786a253eac933172418afe0dc8e6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57401 57383 57401   Oct 11  0.0  0.0 runc init
root     57500     2     0   Oct 16  0.0  0.0 [loop6]
root     57511     1 57511   Oct 14  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bf5e32c5781a8bc64e8a13c55c7fdb3800a6731f21ee559568080ed8e4cc4fa1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57512     1 57512   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ffff51aef1b34807bebde9ba37c81bd9ae5df129f4b83f3888ecdec2bc5d8f1e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57530 57512 57530   Oct 10  0.0  0.0 runc init
root     57544 57511 57544   Oct 14  0.0  0.0 runc init
root     57791     2     0   Oct 16  0.0  0.0 [kworker/19:2]
root     58360     2     0 08:43:18  0.0  0.0 [kworker/u129:2]
root     58375  1311  1236 21:34:38  0.4  0.0 nessusd -q
root     58607     2     0   Oct 19  0.0  0.0 [kworker/12:0]
root     58612     1 58612   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a8be1ef4cc91c251c45c1da8f5b4becc04b2f03d7d9d6afc1e67965a1a2c1503 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58630 58612 58630   Oct 10  0.0  0.0 runc init
root     58672     2     0   Oct 10  0.0  0.0 [loop3]
root     58707     1 58707   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/65fc5be9155be8a835193dfea23787a36f2e2685bf39d82ae3e82c1118e50838 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58725 58707 58725   Oct 18  0.0  0.0 runc init
root     58825     1 58825   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c86ccdadde8136585613e58b1e85bc6214bb3c26cc6c9431d1c6bea0554b59d9 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58843 58825 58843   Oct 10  0.0  0.0 runc init
root     58993     1 58993   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/93671894a6e7a08d479e530b94db5c862ac07385bb5407a06270d7e84fd28177 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59081 58993 59081   Oct 10  0.0  0.0 runc init
root     59255     1 59255   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/098616fd022c6dcd50741fa1262416013364eb911e8ff1a76d6f1af3d304ee91 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59273 59255 59273   Oct 10  0.0  0.0 runc init
root     59471     1 59471   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ff8f2fe19481c5935d8b1325718702f281069f221f24b1f2a537c8ee62f0065c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59490 59471 59490   Oct 10  0.0  0.0 runc init
root     59576     1 59576   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/51d75928cca48998b63e253d0313725fc326d00cba7fdd9282829fcc03302a60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59594 59576 59594   Oct 10  0.0  0.0 runc init
root     59740     1 59740   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/945059fbba79ad8d2bff2db8e1de31a775d6f82a22d4aa53fa76c00cd7a4ea32 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   59758 59740 59758   Oct 18  0.0  0.0 runc init
root     59898     1 59898   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5901eda1a7bd0203fcfe569b6d1343d29e9da1ccbe025cc0bae01ae9d0c5e493 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59916 59898 59916   Oct 10  0.0  0.0 runc init
root     60008     1 60008   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f7bf199722da0511ff6f137517b458e1015617f0d72684307678c5deb894818b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60015     1 60015   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/e54fd97ce66bd4d7689c6e0aa132fdc3fbd4a9aade429af34875177cdbff4889 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60033 60015 60033   Oct 10  0.0  0.0 runc init
root     60046 60008 60046   Oct 16  0.0  0.0 runc init
root     60051     1 60051   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c07ea6990f30c37c710cad2019708bfad31644dc3403e853ffea072d7602d7ce -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60069 60051 60069   Oct 16  0.0  0.0 runc init
root     60336     1 60336   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/353ac42bf19872fb2191e0afe4e8d8f1c4bde397a58a99d83714c1e1d59b9cd0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60355 60336 60355   Oct 10  0.0  0.0 runc init
root     60450     1 60450   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bed75ccd9db538628016c960d9b463a7e61bed497682dde8d1d2036f2805eaa1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60468 60450 60468   Oct 10  0.0  0.0 runc init
root     60481     1 60481   Oct 17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/dc0a8ce6e82723dde8d29c45121328c56eafeceff06f0370735bb032766daa1f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60506 60481 60506   Oct 17  0.0  0.0 runc init
root     60751     1 60751   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/675a055440a019e1f937bd5fcbcb6aea73c1b8e3856c03096e28e43ef3b53066 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60769 60751 60769   Oct 10  0.0  0.0 runc init
root     60835     1 60835   Oct 19  0.0  0.0 /usr/bin/containerd
root     60956     1 60956   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/86f086e881b8656a3be006d2a6ec24dee4f7d7b581bcc40debf24ff6ac99b668 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60992 60956 60992   Oct 10  0.0  0.0 runc init
root     61091     1 61091   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a1b0ec9f1634aaa68a3888973f9b4bd5cb7005c4cb2d16c4c2bbd8f0ebfbb67 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61110 61091 61110   Oct 10  0.0  0.0 runc init
root     61196     1 61196   Oct 10  0.0  0.0 /usr/lib/snapd/snapd
root     61246     1 61246   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/79e5318baddaf3da6521e3014b1b1febde8a4fb65a8e5b319be8514478259789 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61264 61246 61264   Oct 15  0.0  0.0 runc init
root     61271     1 61271   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/1f416b9714f4282edd02072d6ed82321fd70717f94e91165d1a23dff1be21b20 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61303 61271 61303   Oct 16  0.0  0.0 runc init
root     61330     1 61330   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/91d137735a6f8d56fbf51f100d1b43e594c8d91fff551aa761bbe2c138217f12 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61348 61330 61348   Oct 10  0.0  0.0 runc init
root     61365     1 61365   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/776cb8e3d7da9357973d695c240772d35c0f97ddf2c47d9ddf2bb3e286726d05 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61385 61365 61385   Oct 15  0.0  0.0 runc init
root     61435     1 61435   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9df9770ef8c632a493f6d69a7e9621f951c33d07c1ee8d3f2708447bb8940356 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61453 61435 61453   Oct 10  0.0  0.0 runc init
root     61478     1 61478   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/749e0f5baa33a47b53e501b987643ceca8f92a14399f626f216f668e3c4837a7 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61502 61478 61502   Oct 16  0.0  0.0 runc init
root     61546     1 61546   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/08d8a4ac6cd7c5e3d02d05aeff9277d8dba5d9a18f23d7645d4e39866159bc60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61566 61546 61566   Oct 10  0.0  0.0 runc init
root     61680     1 61680   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6f679e32bba5d08bd5910615e60c25e7496909fcb90ad96044259502a2a54769 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61700 61680 61700   Oct 10  0.0  0.0 runc init
root     61729     1 61729   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4318154b05fda15ac25b887904c3ef2545f1c254b9c71f1fcdff0325794b885c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61748 61729 61748   Oct 16  0.0  0.0 runc init
root     61854     1 61854   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/d4138a90b67402a0e8b4b3af50879176161e687a5179c2bd03588c72aabac7e4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61872 61854 61872   Oct 10  0.0  0.0 runc init
root     61983     1 61983   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/48c638e825544c86752348df8b423d96aad9d0bdbd93ceae30b4052694010cca -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62002 61983 62002   Oct 10  0.0  0.0 runc init
root     62044     1 62044   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/45ba40aba303abf03a07dec75a52f47472b32f38178124418072e6ffab434824 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62056     1 62056   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5912e05c5de1e86011112324f28025887ce44ea33348156a247b63be792d1c3b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62062 62044 62062   Oct 15  0.0  0.0 runc init
root     62079 62056 62079   Oct 16  0.0  0.0 runc init
root     62186     1 62186   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/250950e2efb6595ee2116856a17dbfe8b770f69769b8ba8966465043ab66173f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62204 62186 62204   Oct 16  0.0  0.0 runc init
root     62213     1 62213   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/933f80617a8e458ac306f056eddb0e3cc9e729ab60a96942a7151a3dec6cb966 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62231 62213 62231   Oct 10  0.0  0.0 runc init
root     62258     2     0   Oct 18  0.0  0.0 [kworker/6:1]
root     62277     1 62277   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b3f50d2809aefcdba4d7db017aa4fd87aef2b948e61b1b759066562c00685bf6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   62297 62277 62297   Oct 18  0.0  0.0 runc init
root     62423     1 62423   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/74a5adc16845f9ffd5bc26ffe7558385fdea253fd0f2fd7b86880bdcfabcd8fb -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62443 62423 62443   Oct 16  0.0  0.0 runc init
root     63597     1 63597   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/24d096af61c0d1dfda49a6783ac89b914ccf86838a7f08f700ca48d85705ed41 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63615 63597 63615   Oct 18  0.0  0.0 runc init
root     63621     1 63621   Oct 17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0c163bc8b810f680754fb03fb30633bfdda911dae5809b7973149fe707ec1ba4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63640 63621 63640   Oct 17  0.0  0.0 runc init
root     63911     2     0 06:16:06  0.0  0.0 [kworker/u129:0]
root     63986     2     0   Oct 21  0.0  0.0 [kworker/10:2]
root     64342     1 64342   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ce35778aaabfd7d3e1c9a4341868e0ea9d96dd45b9d17f64f7a1f38937d352e8 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64360 64342 64360   Oct 11  0.0  0.0 runc init
root     64461     1 64461   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4b33d55593b029b11bd52842d0f69416ae3098feba8e11b1f3e0710a6262092d -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64479 64461 64479   Oct 11  0.0  0.0 runc init
root     64713     1 64713   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9aed37521a220ed5073bac6f32de767ca4bc81bfabfd8af1c4ef3d1a32d3b3a6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64732 64713 64732   Oct 18  0.0  0.0 runc init
root     64883     1 64883   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5fcf56f4f3305f8fc5d2174ef21730545d5d30c7cbcd70c370ff310d26627642 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   64902 64883 64902   Oct 11  0.0  0.0 runc init
root     65189     2     0 06:16:10  0.0  0.0 [kworker/9:2]
root     65433     1 65433   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a0ef778c66d614587c2c6883ce188c844adcdfbc85ee7d468f653ff0401c0996 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     65451 65433 65451   Oct 15  0.0  0.0 runc init
+ docker info
Client:
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #375

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/375/display/redirect>

Changes:


------------------------------------------
[...truncated 24.26 KB...]
 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-65-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.39GiB
 Name: asf935.gq1.ygridcore.net
 ID: IGQ4:MYOD:IV7X:JQ43:NRWL:7NPX:6EHA:ZAZK:Q25R:D6JA:PDWF:V7KV
 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
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 11146
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Already exists
ab017ee82de8: Already exists
973721b7fcb1: Already exists
0c79b341c8ed: Already exists
1b304faacdc3: Already exists
5c94f9cbba07: Already exists
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Image is up to date 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/jenkins8939448758211463948.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5803472245761389318.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins19402434098476429.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8463462851425913602.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
531cf132d4f4: Pulling fs layer
b8371b4f3c34: Pulling fs layer
b8371b4f3c34: Waiting
531cf132d4f4: Verifying Checksum
531cf132d4f4: Download complete
d1794cae6bfb: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
b8371b4f3c34: Verifying Checksum
b8371b4f3c34: Download complete
d1794cae6bfb: Pull complete
2fc5ff046661: Pull complete
531cf132d4f4: Pull complete
b8371b4f3c34: Pull complete
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4850869009716170108.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  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
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: argcomplete, virtualenv, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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
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 0x7fbd6cb13490>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.17s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #374

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/374/display/redirect>

Changes:


------------------------------------------
[...truncated 23.21 KB...]
root     27429     1 27429   Oct 10  0.0  0.1 /lib/systemd/systemd-journald
jenkins  27513 18524 18524 12:31:18  0.0  0.0 /bin/bash -xe /tmp/jenkins7852062774486172203.sh
jenkins  27515 27513 18524 12:31:18  0.0  0.0 bash .test-infra/scripts/pre-docker-tests.sh
jenkins  27518 27515 18524 12:31:18  0.0  0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
root     27978     2     0 11:09:00  0.0  0.0 [kworker/18:1]
root     28661     2     0   Oct 12  0.0  0.0 [loop2]
root     29170     2     0 10:39:15  0.0  0.0 [kworker/16:0]
root     29212     2     0 09:41:00  0.0  0.0 [kworker/9:2]
root     29749     2     0 10:39:38  0.0  0.0 [kworker/6:2]
root     29907     1 29907   Oct 19  0.0  0.0 /usr/bin/containerd
root     29908     1 29908   Oct 19  0.2  0.1 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     30045     2     0 10:09:59  0.0  0.0 [kworker/15:0]
root     30145     2     0 04:45:58  0.0  0.0 [kworker/18:0]
postfix  31036  2143  2143   Sep 12  0.0  0.0 tlsmgr -l -t unix -u -c
root     31285     1 31285   Oct 05  0.0  0.0 /usr/sbin/sshd -D
root     31383     2     0 11:13:31  0.0  0.0 [kworker/11:0]
root     31422     2     0 11:13:32  0.0  0.0 [kworker/1:0]
root     31609     2     0 08:43:48  0.0  0.0 [kworker/22:2]
_chrony  32667     1 32666   Oct 05  0.0  0.0 /usr/sbin/chronyd
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 209
 Server Version: 19.03.4
 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-60-generic
 Operating System: Ubuntu 18.04.3 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:
67c14d78b7b0da18ac05e01065358c9ec72dd6623cbbf463af5407dee468fafa
a990c3b5a1ba0a04e3f3f99e8d107a3ff6dde362b515e354dede5eedbd83c0e9
1b50e6ee6b139fbfa5ab65edf73b1351c2379f1f9dc6dd8c69d9dadd365d98f6

Total reclaimed space: 447.2MB
+ docker network prune -f --filter until=12h
+ echo 27600
+ 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
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins6119841696433085809.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4392263879934499506.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2351379608052355167.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4679327230694165852.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8739806465133827344.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  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
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
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
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 0x7fca8ff07810>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.02s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #373

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/373/display/redirect>

Changes:


------------------------------------------
[...truncated 28.16 KB...]
5c94f9cbba07: 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/jenkins444193033155767563.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
bed4ecf88e6a: Waiting
8a8c75f3996a: Waiting
8c90ed29fb66: Waiting
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
667692510b70: Waiting
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
1128949d0793: Verifying Checksum
1128949d0793: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3492918918395655505.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6183239634278941571.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1300765397302314559.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
531cf132d4f4: Pulling fs layer
b8371b4f3c34: Pulling fs layer
b8371b4f3c34: Waiting
531cf132d4f4: Verifying Checksum
531cf132d4f4: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
d1794cae6bfb: Pull complete
b8371b4f3c34: Verifying Checksum
b8371b4f3c34: Download complete
2fc5ff046661: Pull complete
531cf132d4f4: Pull complete
b8371b4f3c34: Pull complete
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1228430965767794841.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
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
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 0x7fa005c7f990>
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 ===============================
.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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.86s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #372

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/372/display/redirect?page=changes>

Changes:

[reddycharan18] Update maven version to 3.6.2 for Jenkins


------------------------------------------
[...truncated 186.90 KB...]
root     57512  1355 57512   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ffff51aef1b34807bebde9ba37c81bd9ae5df129f4b83f3888ecdec2bc5d8f1e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57530 57512 57530   Oct 10  0.0  0.0 runc init
root     57544 57511 57544   Oct 14  0.0  0.0 runc init
root     57791     2     0   Oct 16  0.0  0.0 [kworker/19:2]
root     58612  1355 58612   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a8be1ef4cc91c251c45c1da8f5b4becc04b2f03d7d9d6afc1e67965a1a2c1503 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58630 58612 58630   Oct 10  0.0  0.0 runc init
root     58672     2     0   Oct 10  0.0  0.0 [loop3]
root     58825  1355 58825   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c86ccdadde8136585613e58b1e85bc6214bb3c26cc6c9431d1c6bea0554b59d9 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58843 58825 58843   Oct 10  0.0  0.0 runc init
root     58993  1355 58993   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/93671894a6e7a08d479e530b94db5c862ac07385bb5407a06270d7e84fd28177 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59081 58993 59081   Oct 10  0.0  0.0 runc init
root     59255  1355 59255   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/098616fd022c6dcd50741fa1262416013364eb911e8ff1a76d6f1af3d304ee91 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59273 59255 59273   Oct 10  0.0  0.0 runc init
root     59471  1355 59471   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ff8f2fe19481c5935d8b1325718702f281069f221f24b1f2a537c8ee62f0065c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59490 59471 59490   Oct 10  0.0  0.0 runc init
root     59576  1355 59576   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/51d75928cca48998b63e253d0313725fc326d00cba7fdd9282829fcc03302a60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59594 59576 59594   Oct 10  0.0  0.0 runc init
root     59723     2     0 07:24:53  0.0  0.0 [kworker/3:1]
root     59740  1355 59740 07:24:53  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/945059fbba79ad8d2bff2db8e1de31a775d6f82a22d4aa53fa76c00cd7a4ea32 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   59758 59740 59758 07:24:53  0.0  0.0 runc init
root     59898  1355 59898   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5901eda1a7bd0203fcfe569b6d1343d29e9da1ccbe025cc0bae01ae9d0c5e493 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59916 59898 59916   Oct 10  0.0  0.0 runc init
jenkins  60003  6319  6319 12:28:22 41.3  0.7 /usr/local/asfpackages/java/jdk1.8.0_191/bin/java -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dorg.gradle.native=false -Xms256m -Xmx2048m -Dfile.encoding=ISO-8859-1 -Duser.country=US -Duser.language=en -Duser.variant -ea -cp /home/jenkins/.gradle/caches/5.6.2/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 19'
root     60008  1355 60008   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f7bf199722da0511ff6f137517b458e1015617f0d72684307678c5deb894818b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60015  1355 60015   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/e54fd97ce66bd4d7689c6e0aa132fdc3fbd4a9aade429af34875177cdbff4889 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60033 60015 60033   Oct 10  0.0  0.0 runc init
root     60046 60008 60046   Oct 16  0.0  0.0 runc init
root     60051  1355 60051   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c07ea6990f30c37c710cad2019708bfad31644dc3403e853ffea072d7602d7ce -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60069 60051 60069   Oct 16  0.0  0.0 runc init
root     60230     2     0 12:28:25  0.0  0.0 [kworker/u130:2]
root     60336  1355 60336   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/353ac42bf19872fb2191e0afe4e8d8f1c4bde397a58a99d83714c1e1d59b9cd0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60355 60336 60355   Oct 10  0.0  0.0 runc init
root     60450  1355 60450   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bed75ccd9db538628016c960d9b463a7e61bed497682dde8d1d2036f2805eaa1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60468 60450 60468   Oct 10  0.0  0.0 runc init
root     60481  1355 60481 15:57:18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/dc0a8ce6e82723dde8d29c45121328c56eafeceff06f0370735bb032766daa1f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60506 60481 60506 15:57:18  0.0  0.0 runc init
root     60751  1355 60751   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/675a055440a019e1f937bd5fcbcb6aea73c1b8e3856c03096e28e43ef3b53066 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60769 60751 60769   Oct 10  0.0  0.0 runc init
root     60956  1355 60956   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/86f086e881b8656a3be006d2a6ec24dee4f7d7b581bcc40debf24ff6ac99b668 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60992 60956 60992   Oct 10  0.0  0.0 runc init
root     61091  1355 61091   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a1b0ec9f1634aaa68a3888973f9b4bd5cb7005c4cb2d16c4c2bbd8f0ebfbb67 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61110 61091 61110   Oct 10  0.0  0.0 runc init
root     61196     1 61196   Oct 10  0.0  0.0 /usr/lib/snapd/snapd
root     61246  1355 61246   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/79e5318baddaf3da6521e3014b1b1febde8a4fb65a8e5b319be8514478259789 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61264 61246 61264   Oct 15  0.0  0.0 runc init
root     61271  1355 61271   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/1f416b9714f4282edd02072d6ed82321fd70717f94e91165d1a23dff1be21b20 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61303 61271 61303   Oct 16  0.0  0.0 runc init
root     61330  1355 61330   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/91d137735a6f8d56fbf51f100d1b43e594c8d91fff551aa761bbe2c138217f12 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61348 61330 61348   Oct 10  0.0  0.0 runc init
root     61365  1355 61365   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/776cb8e3d7da9357973d695c240772d35c0f97ddf2c47d9ddf2bb3e286726d05 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61385 61365 61385   Oct 15  0.0  0.0 runc init
root     61435  1355 61435   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9df9770ef8c632a493f6d69a7e9621f951c33d07c1ee8d3f2708447bb8940356 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61453 61435 61453   Oct 10  0.0  0.0 runc init
root     61478  1355 61478   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/749e0f5baa33a47b53e501b987643ceca8f92a14399f626f216f668e3c4837a7 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61502 61478 61502   Oct 16  0.0  0.0 runc init
root     61546  1355 61546   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/08d8a4ac6cd7c5e3d02d05aeff9277d8dba5d9a18f23d7645d4e39866159bc60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61566 61546 61566   Oct 10  0.0  0.0 runc init
root     61680  1355 61680   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6f679e32bba5d08bd5910615e60c25e7496909fcb90ad96044259502a2a54769 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61700 61680 61700   Oct 10  0.0  0.0 runc init
root     61729  1355 61729   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4318154b05fda15ac25b887904c3ef2545f1c254b9c71f1fcdff0325794b885c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61748 61729 61748   Oct 16  0.0  0.0 runc init
root     61854  1355 61854   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/d4138a90b67402a0e8b4b3af50879176161e687a5179c2bd03588c72aabac7e4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61872 61854 61872   Oct 10  0.0  0.0 runc init
root     61983  1355 61983   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/48c638e825544c86752348df8b423d96aad9d0bdbd93ceae30b4052694010cca -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62002 61983 62002   Oct 10  0.0  0.0 runc init
root     62026     2     0   Oct 16  0.0  0.0 [kworker/3:0]
root     62044  1355 62044   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/45ba40aba303abf03a07dec75a52f47472b32f38178124418072e6ffab434824 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62056  1355 62056   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5912e05c5de1e86011112324f28025887ce44ea33348156a247b63be792d1c3b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62062 62044 62062   Oct 15  0.0  0.0 runc init
root     62079 62056 62079   Oct 16  0.0  0.0 runc init
root     62186  1355 62186   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/250950e2efb6595ee2116856a17dbfe8b770f69769b8ba8966465043ab66173f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62204 62186 62204   Oct 16  0.0  0.0 runc init
root     62213  1355 62213   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/933f80617a8e458ac306f056eddb0e3cc9e729ab60a96942a7151a3dec6cb966 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62222     2     0 09:00:50  0.0  0.0 [kworker/5:1]
root     62223     2     0 09:00:50  0.0  0.0 [kworker/u128:0]
root     62231 62213 62231   Oct 10  0.0  0.0 runc init
root     62258     2     0 07:26:28  0.0  0.0 [kworker/6:1]
root     62277  1355 62277 07:26:29  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b3f50d2809aefcdba4d7db017aa4fd87aef2b948e61b1b759066562c00685bf6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   62297 62277 62297 07:26:29  0.0  0.0 runc init
root     62423  1355 62423   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/74a5adc16845f9ffd5bc26ffe7558385fdea253fd0f2fd7b86880bdcfabcd8fb -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62443 62423 62443   Oct 16  0.0  0.0 runc init
root     63597  1355 63597 07:27:17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/24d096af61c0d1dfda49a6783ac89b914ccf86838a7f08f700ca48d85705ed41 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63615 63597 63615 07:27:17  0.0  0.0 runc init
root     63621  1355 63621 23:31:51  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0c163bc8b810f680754fb03fb30633bfdda911dae5809b7973149fe707ec1ba4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63637     2     0 09:03:21  0.0  0.0 [kworker/0:1]
root     63640 63621 63640 23:31:51  0.0  0.0 runc init
root     64342  1355 64342   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ce35778aaabfd7d3e1c9a4341868e0ea9d96dd45b9d17f64f7a1f38937d352e8 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64360 64342 64360   Oct 11  0.0  0.0 runc init
root     64461  1355 64461   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4b33d55593b029b11bd52842d0f69416ae3098feba8e11b1f3e0710a6262092d -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64479 64461 64479   Oct 11  0.0  0.0 runc init
root     64697     2     0 07:27:50  0.0  0.0 [kworker/8:2]
root     64713  1355 64713 07:27:51  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9aed37521a220ed5073bac6f32de767ca4bc81bfabfd8af1c4ef3d1a32d3b3a6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64732 64713 64732 07:27:51  0.0  0.0 runc init
root     64883  1355 64883   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5fcf56f4f3305f8fc5d2174ef21730545d5d30c7cbcd70c370ff310d26627642 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   64902 64883 64902   Oct 11  0.0  0.0 runc init
root     65433  1355 65433   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a0ef778c66d614587c2c6883ce188c844adcdfbc85ee7d468f653ff0401c0996 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     65451 65433 65451   Oct 15  0.0  0.0 runc init
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 4
  Running: 0
  Paused: 0
  Stopped: 4
 Images: 21
 Server Version: 19.03.3
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 50
  Dirperm1 Supported: 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: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
7ad36bfa0a84f4fb64fb604de055f30e1df44be85395212d8c901f17416067dc
b471847bd2a6a875e3d8d3878a0e9b611dcc9c5d9b84c55ce30ba73a9b9e68b8
9aed37521a220ed5073bac6f32de767ca4bc81bfabfd8af1c4ef3d1a32d3b3a6
24d096af61c0d1dfda49a6783ac89b914ccf86838a7f08f700ca48d85705ed41

Deleted Images:
deleted: sha256:b21d2e059e9e163d983cd50e6d68725f368b4b66d00382e9f53446d700fa257e
deleted: sha256:67fa590cfc1c207c30b837528373f819f6262c884b7e69118d060a0c04d70ab8
deleted: sha256:877b494a9f30e74e61b441ed84bb74b14e66fb9cc321d83f3a8a19c60d078654

Total reclaimed space: 201.9MB
+ docker network prune -f --filter until=12h
+ echo 2994
+ 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
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download 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/jenkins2493642377020019716.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:fc0a398e1987fb1e58909053c11630e06adb3df265fe693391779020b9253f5e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8801880063980801805.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:7c85fb81a41c6fce66cb91878769a5e4aa459390c7f66ca0c92b416f736aa95e
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6365299517959302053.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:bdfac16c16238c15ddc4860c503281bf91816d7996b44ba023b19a93a485bac5
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins984668001208279941.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:2a52adbc1f5fce2d11d07fba6b43a245118e943a6a157a65d4dfd9a0266d7900
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3703246192564714197.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-18T12:31:47Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #371

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/371/display/redirect>

Changes:


------------------------------------------
[...truncated 197.66 KB...]

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 18
 Server Version: 19.03.3
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 24
  Dirperm1 Supported: 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: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
4254a02921b0881d429c2f26ad8b1e2be1daae9cefdf157ae2ac4602a5629e43

Deleted Images:
deleted: sha256:c9b7d72d36f23db03a9acd085c88933c528e8949310e2a5ff7a47999528d0496
deleted: sha256:92623d1ca0e2a8b3ee03fedc0c9742c3b3df681cf5cc98180006065900398f89
deleted: sha256:67fa590cfc1c207c30b837528373f819f6262c884b7e69118d060a0c04d70ab8
deleted: sha256:877b494a9f30e74e61b441ed84bb74b14e66fb9cc321d83f3a8a19c60d078654

Total reclaimed space: 201.9MB
+ docker network prune -f --filter until=12h
+ echo 6988
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins7474620360513157937.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
10b7379e5573: Pulling fs layer
ca1b6fe24628: Pulling fs layer
9a90211ec083: Pulling fs layer
667692510b70: Waiting
bed4ecf88e6a: Waiting
8a8c75f3996a: Waiting
10b7379e5573: Waiting
ca1b6fe24628: Waiting
9a90211ec083: Waiting
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
1128949d0793: Verifying Checksum
1128949d0793: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
ca1b6fe24628: Download complete
10b7379e5573: Verifying Checksum
10b7379e5573: Download complete
9a90211ec083: Verifying Checksum
9a90211ec083: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
10b7379e5573: Pull complete
ca1b6fe24628: Pull complete
9a90211ec083: Pull complete
Digest: sha256:6b0f3071440e6f3218cb4dd829ddff6763b3a028abf64c090b89cec04c99eeec
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7490537969329498298.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
b8dee03529b9: Pulling fs layer
b8dee03529b9: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
b8dee03529b9: Verifying Checksum
b8dee03529b9: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
b8dee03529b9: Pull complete
Digest: sha256:f67587d3be2691a2d1a8776f4e5a61c95bd516d93459e23c6246754c861a92a2
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8759855004143133639.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
b8309abd73a5: Pulling fs layer
e734e9b755df: Download complete
b8309abd73a5: Verifying Checksum
b8309abd73a5: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
b8309abd73a5: Pull complete
Digest: sha256:b06beeeb077ce3d1a46ab9a382718839ecc971243b8fa5411f733caaa91ffaf0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins516139092812426489.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
4a03547767ba: Pulling fs layer
a9c0bbbe543a: Pulling fs layer
a9c0bbbe543a: Waiting
4a03547767ba: Verifying Checksum
4a03547767ba: Download complete
d1794cae6bfb: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
a9c0bbbe543a: Verifying Checksum
a9c0bbbe543a: Download complete
d1794cae6bfb: Pull complete
2fc5ff046661: Pull complete
4a03547767ba: Pull complete
a9c0bbbe543a: Pull complete
Digest: sha256:e2926cc9ceb24e1f35cd117b1d8a06cd73204c9e246fc719cc1f039633be946b
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins252943683040019110.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-17T12:32:36Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #370

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/370/display/redirect>

Changes:


------------------------------------------
[...truncated 26.43 KB...]
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins7359937992184932118.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
1bff7a6537af: Pulling fs layer
6ae475e50652: Waiting
1bff7a6537af: Waiting
ea67eaa7dd42: Waiting
4c55f6f5d7f0: Waiting
6f4152644229: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
1bff7a6537af: Verifying Checksum
1bff7a6537af: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
1bff7a6537af: Pull complete
Digest: sha256:c1e0d9e3c009dfc09c4b7e73ddccaa930264e42ba201c7d2781fd41cb8c10226
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1488928745630918306.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
222a3d65fb3c: Pulling fs layer
222a3d65fb3c: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
222a3d65fb3c: Verifying Checksum
222a3d65fb3c: Download complete
1cafc1648588: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
222a3d65fb3c: Pull complete
Digest: sha256:0dad2efaae6b5e9f89b902820dcf596048f354b9ee9ac16a26db4b71d692b91a
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2839591459898578608.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
2b49c024638a: Pulling fs layer
2462712d3519: Download complete
2b49c024638a: Verifying Checksum
2b49c024638a: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
2b49c024638a: Pull complete
Digest: sha256:5f87a68f2da0101dd4015f3538b65678d215b240ca50d1c9a3f22d3ccfcec0db
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3757580702810472623.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
e556316f9586: Pulling fs layer
b5540ab00950: Pulling fs layer
b5540ab00950: Waiting
e556316f9586: Verifying Checksum
e556316f9586: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
b5540ab00950: Verifying Checksum
b5540ab00950: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
e556316f9586: Pull complete
b5540ab00950: Pull complete
Digest: sha256:9edabaa17c0b017794621bbd3f61c3cf02f6298f466b78351b2519a1c45a9b7a
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8870854409225288205.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  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
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
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
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 0x7f4e9ca7d9d0>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.75s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #369

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/369/display/redirect>

Changes:


------------------------------------------
[...truncated 148.42 KB...]
 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: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
1a9427fe8dd99cc26c9c2b51138b20c61182b4600b27b45bd29a440a4bf69451
95354353004eccab226eda149a3c801b5e6428af627d70a5047f7a7fdf7baf7e
9ed225bb2043bd5c726ca4b12e56a2c8ef1a2a8eefb007328ba617a4f3def672
9059bc1a8ea30311717bb5eb9b19be05bebc1b81ea78f18a166ef33e864cfd06
27220bbccb5c41ba66c200a15178abe0da6467eb51ac4d7bc515ecd45f2067ef
473a8428fca26a7f0a4aca5e93c9744aaf7a2bb5f1b5e8e1add0cd8443023416
f1980f58d3e9528ae77aee049fc7be142555f82aa6597320a34d0d173f9cc6f1
71e8ddd85d54d78c18031622077bcc572b5f543bd68d8e9772f246f154a0961d
f6031b0b641e6a4a776edf9519852db2b7e1f3bd5e344a7fcba7471449854c45
c4df6a7d34e3faf56163c5cfc8023a83fb7c50280f145f22ee4e4860894e3c85
bf5e32c5781a8bc64e8a13c55c7fdb3800a6731f21ee559568080ed8e4cc4fa1
9088bc16b56dac884b1949e17737d7ba2d571d41bb7f4f18dc9bc0fd9d722903

Deleted Images:
deleted: sha256:a9c72c9d095b2585e0d3e395dcfa9cd87a948cf1986cd9fc303858aa70741b06
deleted: sha256:ceab0c07e5fe0b3056b59b4329ff91c72bb492446f8ba06a84c05fd46a3e3d6a
deleted: sha256:d58fb943ec4cd78d01a25d131362882acbe833174a1e0c771319d02ca43c0988
deleted: sha256:5ffbe6977d7bd081c614c9bbd7f25cbe91d6c5e0d19625ff11a9e451c6bad0a9
deleted: sha256:827b9e78f2e8ff706380a4f11a8f728c13654764aae3e415bf8aa0dd908de8e8
deleted: sha256:67fa590cfc1c207c30b837528373f819f6262c884b7e69118d060a0c04d70ab8
deleted: sha256:877b494a9f30e74e61b441ed84bb74b14e66fb9cc321d83f3a8a19c60d078654

Total reclaimed space: 201.9MB
+ docker network prune -f --filter until=12h
+ echo 42162
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: 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/jenkins2494734746344985386.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
ea67eaa7dd42: Waiting
6ae475e50652: Waiting
6f4152644229: Waiting
4c55f6f5d7f0: Waiting
6933d3d46042: Waiting
4d134ac3fe4b: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4a56a430b2ba: Pull complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8886410292588490163.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4575581725657846057.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2866787709911419722.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1747524864761956237.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-15T12:32:29Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #368

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/368/display/redirect>

Changes:


------------------------------------------
[...truncated 32.24 KB...]
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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Download 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/jenkins6764649145338128106.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6f4152644229: Waiting
6933d3d46042: Waiting
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3624216228130720127.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2888519929404137115.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4349362008318525382.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1203629305310494684.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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
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 0x7f9b4c46bb90>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.98s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #367

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/367/display/redirect>

Changes:


------------------------------------------
[...truncated 29.43 KB...]
deleted: sha256:d7738edf339c2d4972f893608245f57466bb74b44b2e78a9395d80343a00e2a0
deleted: sha256:57644d9b7120dc6aeedb6235b831b94d633b571ef58fd2529e0429d6e8b874c7
deleted: sha256:bd2270220ae4de0abd93a8dbb1f1ea245994fddde9fc6cc22d6229ff4a48aad1
deleted: sha256:babc471a32eec5cc24b2920af56eba6dcc54d853d5c5929cc4c774c2bcc22d3f
deleted: sha256:a9d1294400e4f9a2575bafce395a2a2f119e103bf927eb26721e84e1a4541cc4
deleted: sha256:b9403f58dd07ff49e56376575b9d149ea59933412d2e2a053109126f21cf8f02
deleted: sha256:420f1156260b63a9bff3c3605ad07d68da685cfa4515c68e0788b9365868a076
deleted: sha256:7f370a99ac266687655c5fa7ba34b2f2b3a2aade02190d0faae737b7f892a12f
deleted: sha256:b81792bfafb08b61c1a3c9781ef4ecbe4cfe7db9b7830e74071d0b4166f3d26e
deleted: sha256:ee32c06be90a02cc56e3d91c345708a81c26f558e34ca7ba001a225ae2b0ba63
deleted: sha256:cb5d186cce5379395b676365a0d0db1c32b08cfc81370d6c4fba8319dbea6f45
deleted: sha256:6e488b33d0ba65211d940c9aa517f8732b92d0f3fed722b3609f6a2ccd895218
deleted: sha256:86583462c3429b975707edc38d2ac3a27270122e551b3cc42bf9e8f8a2b6b99c
deleted: sha256:c5aaadb3a3b252d0c68ec94f059ad00c32698919ac7052a95a351073abcfd8f0
deleted: sha256:08c3a5a74e482dee31ba94618108bab1775b117bfddce7235117e89a2a811512

Total reclaimed space: 1.548GB
+ docker network prune -f --filter until=12h
+ echo 9654
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins4542126306610814550.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8026493533826238541.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7263924974756845551.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6902299949964764056.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4940518875884959041.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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
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 0x7fa54df1f190>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.90s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #366

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/366/display/redirect?page=changes>

Changes:

[eolivelli] Call exceptionHandler if Bookie.start fails with exception.


------------------------------------------
[...truncated 109.09 KB...]
  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: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 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
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
8f7bb521addd495135f898ae7b38e5776d789f178ea8573b4616afbbf2d78a04
c1d4f0b7358ea1aaecafaae6b7d064a68eebb2bbad14255050d3881496d35c66
d45ac8825d68e893e16376563243a511a9a2ee880ba75f713c00ac93cd623411
e287628b88da65a78ef6972cb1e81656ba86ff8e11cb2a9bd3d7bb7337e57c86

Deleted Images:
deleted: sha256:f09833338cae9815393c075edca8e7b33c889d9ceac02211b5fa86f78a7bd8f7
deleted: sha256:2b83262eacc1d9f42dc45c2dcfcc89b9deff1499ff85dd027e4206bf2e47e8fc
deleted: sha256:feac4304ecd1f6c09d34983d1d6c8d303661f51b860f3c563af619310e5b52cb
deleted: sha256:1b68ff3342b2b25e23d42521a764b13f7594fe2645acc3439c7b869ac9d9fb44
deleted: sha256:a28b4102a37f607894310971a511672267f703e6e0ad3fcd042122609fec0764
deleted: sha256:7989b52aa8e8967488240be59488e78e3ab2af0a20b104fcf71cd5eb9060d9b3
deleted: sha256:a1f35667f5e35af8151cd030d5e18412e06761727a760a53b82a32c46994a118
deleted: sha256:4e194eee324bdbf2e9357ef06d0e1fb3092f911de7c7a5eafc76bcafb611dd44
deleted: sha256:65fb2373b1646e8c3d09fdba3f400921a8483673f75e2bebfbc2b9c1610952ee
deleted: sha256:598227270e0c2cf49cf0cf428fffcdb7ae0ef3d89cf9058b33bc340b8a635eb3
deleted: sha256:f85b851db047a044561d4dce7cf9060dc7a2fc76a4ea27d22cfa3fd410b8e131
deleted: sha256:fe6fdb1fc1064e608856c88dcae5d22ea27423a0f23b12e790bec00946456ade
deleted: sha256:12ec899565f969e794e0f915a6e9b7e60f1cc1b7969b1a94640a1e9f357d6072
deleted: sha256:495986b5af7051a1022da414ebb4222cf696d9bc9b739367d887f2f3c21f9f1b
deleted: sha256:820a044123a32d277f88c5ba7a9681257ef8888e84a2632c480ef4740f755fc7
deleted: sha256:c86361c237fd52849714e65437fe952f6256779edbcf1b6723742d3b44a2680d
deleted: sha256:55e6b89812f369277290d098c1e44c9e85a5ab0286c649f37e66e11074f8ebd1
deleted: sha256:986d1576fa2d21e8e40e091de4ba85b9649ddf98c7b6fd8433ca6f78e725bf3f
deleted: sha256:9f85b454fef43c5d55e8263c3fcc13025c0237fc8d0a5fbe38ae516187602b21

Total reclaimed space: 514.7MB
+ docker network prune -f --filter until=12h
+ echo 55276
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
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/jenkins4403355763606041139.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
ea67eaa7dd42: Waiting
6f4152644229: Waiting
6933d3d46042: Waiting
4c55f6f5d7f0: Waiting
6ae475e50652: Waiting
4d134ac3fe4b: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5184746150925659925.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8099890856896722951.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins307596064922229939.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4002956470449364428.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-12T12:32:27Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #365

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/365/display/redirect?page=changes>

Changes:

[eolivelli] Add documentation for ByteBuffer lifecycle when adding entries


------------------------------------------
[...truncated 35.96 KB...]
deleted: sha256:5510d2e234abc1ef3357247045be746b041dff1b4fda807d0919f62c3c82c035
deleted: sha256:f5594235f32f611076eb154790ddbdef5c1ea49744def7d281777313ca1274ff
deleted: sha256:54bc906f2a0e8d269d285fcb809f187a42d18241981a4cbc62581d60071fb056
deleted: sha256:f30cfb81457d8990353981f0d4b3b8c963b4d47e88bf7d707b1236bb55200771
deleted: sha256:1d440600931a1f1aac7815b8ae0df836cd4e5f6c9c6012f8e2fd32f4d81af534
deleted: sha256:b52daeb154810acac6d4c02b294fc01a5aa320f4a61e4b2f30c8c877b089cee3
deleted: sha256:bf829912670678ec78658d2675d75369dc684d0bc30a45d43eae09d77a1f9a68
deleted: sha256:5fde2a28fffb66850e0ffaa35a56b0afd4ed5dd33db5c4e51a519819259730e9
deleted: sha256:f0137d87fce22f381cb684c6684629412d0068ba52510a7886695aef781f8138
deleted: sha256:6556e47faf6c55124a5007f796cdc7baa3526a8c8a811eee6b5bce87b580c870
deleted: sha256:ed183d66a6e1006fff8cc7b2dd0d0d6339742cf63d80e7ca69427c6e5c80c0f4
deleted: sha256:0ec514fc975c9814cea0e9c7c7501776df69bc6024eb89bb8dd4e1de5b61a13d
deleted: sha256:6f80c87acfa21db30fd65f76f442abd3f31da0f0215206907ce18f3a740dd62e
deleted: sha256:ed8c2c5dfba0458b1f68eae28534819bf13624867dd3205653588dd78885e77f
deleted: sha256:8ff35e0b5d59e7164a66a89195a37785158f98563351d7369fb43ba0ed6591a6
deleted: sha256:bb9f7e5f04d42b56aa43f7c21a22d972c57a11ed8ee6351a48db2bd5d669541f
deleted: sha256:4d0f994acd7c9b318ba1dfe6a9b1c89ee1d8fb5de8125e9030f8b1521aa5280d
deleted: sha256:42ad8b5cebceec4bdc86bac8afa50d6337f7bc1b0c62a7d4e9258daa0f128d3a

Total reclaimed space: 6.544GB
+ docker network prune -f --filter until=12h
+ echo 18206
+ 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
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins2780222340191473555.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5241581459678444904.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5943311921969680585.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4445844751845818538.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3815051591310012264.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.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: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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
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 0x7f798daa1b90>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.06s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #364

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/364/display/redirect>

Changes:


------------------------------------------
[...truncated 507.27 KB...]
deleted: sha256:4e6c1aa8c3b1e59626976c29140c2b95c86c6cbaae36d33239ea3111b9243c82
deleted: sha256:0e603551b56a1b79bd4bcfc36103b5adf3c96c4efc62c0ba4cc90cca1b0e2dbc
deleted: sha256:4d060f8e038ad130b7126db1dfbf9bf59d42913ecbc4c8bb3d3b460fbdb4f829
deleted: sha256:cc73f50aa190c5562823cb752d7ddc03e7899eaf7411e8371904b01d67264ebb
deleted: sha256:a35438be6d9111fcaeedc7818c1f42542056c6c699a644e552d1d9b3e2980685
deleted: sha256:59e7d4064a44b1f709e2761086ec13e7afed09d9586bb753a81e65e48027e0f0
deleted: sha256:689a2140326dd34f8432e6dcd5eba40c926d2496cd2859a6039763f446d82d7e
deleted: sha256:b31accf15c18cdaccfeda68f4dfae442d7340aaec30aec8460c5d8dcb157acc1
deleted: sha256:b708473d996590daa4912029a033564e03fb793c7259e6beb4ad0b3ea3b361d1
deleted: sha256:c56d3c1c98c3f66bd5d3ba3de84a0e2ea7f310e86b4e7cc7e95ae0730e963d2b
deleted: sha256:08e95f26b921d44af7fc8b92f053b71634aeb284c2878b8582fa9eff414c1b4b
deleted: sha256:4a485b05851f3a77729b39c6874b17ec9c9b3d89b5c90af8b40fb7af1a1e1de0
deleted: sha256:aabbbae9fc3343991b77799adc21523b57370edc84d356ece10bebe6be50eeda
deleted: sha256:5cef4cc090e5cd83d2c43e8b8c5952f8c308079c7389376465e686186021d4cc

Total reclaimed space: 6.42GB
+ docker network prune -f --filter until=12h
+ echo 22139
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download 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/jenkins2355422299883439524.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8219867413039515463.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7913632987172114212.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7065991701009922762.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7951529682406574540.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
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 0x7f33e37f2b90>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.01s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #363

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/363/display/redirect>

Changes:


------------------------------------------
[...truncated 167.05 KB...]
deleted: sha256:d90f7efa563c7aec7dffd6026e37775bacaedfa49e906d3c62b5a4b7cbc7244e
deleted: sha256:00ea43cd837b8e1b84d1fbc5a777b2df17345ee3b67fc9e3560e9d18902057d4
deleted: sha256:53c7ded4170d920d2510320ca183e993765f9a8fd31d322c4dffe54a45aee270
deleted: sha256:e82bf8ea50499a1f1e2a3a3d9cfdf1c5fbb35fdde82a079833cf3ec24e8c944f
deleted: sha256:5d4d08da9f3829143784f3695265472ac1b72f94ef4b98dc0993ad5b2e7d1da8
deleted: sha256:7a12ada792db1c76f373005d4f88575d5847b7de0113b2ef96e89cc8fffa446a
deleted: sha256:49fed9b832e324f570253b1bacf54edd3f483bcc41ac678f600facca7e45090f
deleted: sha256:dcaa7200b2fd04f1d8bfd40af8a4f209bf2de59e1966bd0c77d944de06e1112c
deleted: sha256:a3afb5254c7f7635b0316a7143dc0a9bf4e9090785aed56fdc7b4f47ea13b6f0
deleted: sha256:0c4ffd2e5f7f9cca26d59a3de1969c1d6723be289c4187ed368663597eaaab34
deleted: sha256:de3eb3be6190ad101cfad41abcda1b254b17bc274a57479492d4868cc1ccdefc
deleted: sha256:4d56770f5decf2b3e84c517cd1041d71dcf173493877f924988054414ef8ee82
deleted: sha256:c2dda9a7e2da24ee2d935fbb857b279d3cad5541b9941f6effb34fe19da6dde7
deleted: sha256:14cd455d73a940b5c1668cbb10b626f83f24eb8ff22d65f07df3fb111bae64a5
deleted: sha256:fe5b483a8a1bcb7b7304f677bf1f533ec51c6b7e0eb9ce9c82608bbb85496164
deleted: sha256:b3f341acac20fb7cb20b9f8984f50fb2608ea1ff2018827dd1cc2caae996c7be

Total reclaimed space: 6.424GB
+ docker network prune -f --filter until=12h
+ echo 28439
+ 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
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins1678421419670695753.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8785584249011818391.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1821200745620878945.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6440002419440520536.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins862707030703654290.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f1fa092fb10>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.01s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #362

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/362/display/redirect>

Changes:


------------------------------------------
[...truncated 28.49 KB...]
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 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:
4f721f9a642e9a468377ab86e5ee2fdcc9ec9d5482319c0ba0775a8cfa6881e5
af7d60b982d359dcbdb81eec5bf51a4415624feb97892e91f3740d41f989ccc1
a88ec3e0436b8c17c016203d3bcc6045fed9aa2a2c62e822b3c64232bab1d8de

Total reclaimed space: 425.8MB
+ docker network prune -f --filter until=12h
+ echo 3914
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
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
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: 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/jenkins5615370054609164226.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5645129143482664733.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins288037210121480189.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1182963617607689123.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2075998852617596925.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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
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 0x7f4a3755cad0>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.15s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #361

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/361/display/redirect>

Changes:


------------------------------------------
[...truncated 25.20 KB...]
 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:
36e943d1483b04f3be4289088edf2f1ddbcdbc1550e894ed20ae335ada20c917

Total reclaimed space: 22.11MB
+ docker network prune -f --filter until=12h
+ echo 8283
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download 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/jenkins748546456676341151.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7237132188365817376.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5996943016058028840.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
2462712d3519: Verifying Checksum
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins697510651752256749.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5669609549917588958.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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
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 0x7fd1f0bc1990>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.67s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #360

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/360/display/redirect>

Changes:


------------------------------------------
[...truncated 37.21 KB...]
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download 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/jenkins3776734188752120817.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
4d134ac3fe4b: Waiting
4c55f6f5d7f0: Waiting
6ae475e50652: Waiting
6f4152644229: Waiting
ea67eaa7dd42: Waiting
6933d3d46042: Waiting
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4a56a430b2ba: Pull complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1250073735024038438.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1308406136231662857.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
f60ad4796556: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3161960305621836850.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7227614412016819672.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f86d46efa10>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.06s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #359

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/359/display/redirect>

Changes:


------------------------------------------
[...truncated 34.39 KB...]
deleted: sha256:fa0ff57ba64778917fc4111300a23bee56b80bf7b405d0ab0fc20aeb6d2bb58b
deleted: sha256:9cc9050fd2958f81fc771ce288c2391cf7d127259bd03fc4a2ced35971030cd2
deleted: sha256:ef5b0e3c9c4a54fab18a9e2ddec5453aeb0b64291d8d92d1f96eeb2c02e4eea7
deleted: sha256:20873d212612b90eb0443f9df530fa5ca43d4f71f1429ed80ce1b6c810abc491
deleted: sha256:965ec5838974643a35416aa7b1017368c46ac71130378ffeb2592b7b05c73674
deleted: sha256:9b6d398b0d347bd8516719c93dd25daaa02c0c940c927759d750d65754aae9aa
deleted: sha256:63823a27b84a58c7674a54163c74fc4636711149e5eaae9c9162e5d470058fe9
deleted: sha256:e8f19709abdf3bedf3b6128d745f0ef65a3b56c78a6d9770a1cf66650f1d4f4d
deleted: sha256:590aa86890e119236ee7cc1b0fa273d3965f25f410c0241de1783f48fbdc2dba
deleted: sha256:5af3fe9deb8eacb197adf4c45af6aa526fb30f7561ca77a76e7fc6bdba32987e
deleted: sha256:016b3114a5361c61c7ae3f66097622edbe22770036901e231929ad42635a39e7
deleted: sha256:57131659dfd0c39fffbdbf7a36e0f7fb5bff0e0904443eda487733f90067f959
deleted: sha256:bfa619a89fb33edf5b9061c9c26b4c49a5ff60607de34a35ccaa805940a67571
deleted: sha256:9b496ed420c266b07f2d56114bc28d59d558a0ef11c4e119246b78c52d456033

Total reclaimed space: 6.419GB
+ docker network prune -f --filter until=12h
+ echo 12775
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
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
bdf0201b3a05: Verifying Checksum
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins4521292426529626617.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6679552482357372020.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5906106423698176534.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6194265352444841332.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8779198369988935476.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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
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 0x7f1faf8be290>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.71s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #358

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/358/display/redirect>

Changes:


------------------------------------------
[...truncated 35.69 KB...]
 Name: asf948.gq1.ygridcore.net
 ID: 2BGH:GPS6:WI4Q:GXTQ:DVAS:G4SZ:OROA:6OM3:7FQR:XS44:IVQY:AJUS
 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:
6a91bfd84bf3cd501a3a9c0d903c0a2fbcccaae5d47493b2b51678bb8f0dab01
35806701abb123d2517bc4eedf85b071b59977b378499fd3d5fd93c020388e5d

Total reclaimed space: 5.686MB
+ docker network prune -f --filter until=12h
+ echo 14783
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull 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/jenkins3093843109038344926.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins800109533385186472.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3534869521777846969.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins784278459167587516.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7197158872584797919.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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
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 0x7f92eda73190>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.02s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #357

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/357/display/redirect?page=changes>

Changes:

[github] Enhance deferLedgerLockReleaseOfFailedLedger in ReplicationWorker


------------------------------------------
[...truncated 179.95 KB...]
deleted: sha256:482dab5956a8cf3c502c53a7e2f16c5aa24ed109ce09506d072014fdfa143c69
deleted: sha256:8537f22c7af8cc7fda95b221d99533afce7bfcb570ef34ef60b465fb3e95dd1e
deleted: sha256:7fac10164f0c2e87d6886a4dcb594a2d307d38980721723943229d1adacc78ad
deleted: sha256:d8df75cd9867c49f69f429f6e8f342c20997ed1302910856442d0e4158b9fad4
deleted: sha256:8c3a6d95c35385ac910e0b2cdd7e7646a8adaa8e42d70fdd68c709e77df1fe8f
deleted: sha256:b27ad17a65fb52d9824e8564e0f86ae681d4113c56e1e4a037f0f2130d6e71f1
deleted: sha256:0db954effd91ac0e7c59193ad00b97b082745f754282e4fde3272f89beddeb99
deleted: sha256:2ce5e6169625c06d2caee5794142b99adaf7e32fffe07d71c5d01f18fb975cb0
deleted: sha256:f22dc258964c403d5e755e0daea1cecde3e2adb70f3e6892097fb74f2ff5df42
deleted: sha256:e9c2b769163aff8b3e3602845bc4d14ce359c2ed6be7df3e826c966004303887
deleted: sha256:af0228e2001ba2a64cd33a33631d44d0661ceb6d0e93ebe84fa0166cf8ce5d55
deleted: sha256:54f7cb2b9923f12f7031841e680b9781faaf1ece4dfc9c279d871553c74fb9d6
deleted: sha256:04b6c177cff065ca014f36a748ad6c11cc4f829ff45e73fb8c48fb864d9ba43f
deleted: sha256:179399e78a712016e70e1e0a1f2cc9dfbeaf11c445525c6db7f706206fd8df5e
deleted: sha256:af05ee4dd6808d6131226503bd3825eca921dbc1f5938d38400310bbd6351fc3
deleted: sha256:ee9d475d0d3b25c2192a5b3e906e95b74b2ea941b5a5bb2abd28cb17d42c1580
deleted: sha256:aa8c1bf633beab14a10ad054a4833f8323ec794a00f257a5c729b19feec8bec3
deleted: sha256:479514b8a39368d7f57b0252b716b621ba58c975b6ff158a86cea1b45ff3d6a8
deleted: sha256:77a701a8aae0c8f881f2e4c48d3073b5a24248dbcdc83a14f96e9e2b0de22db5

Total reclaimed space: 6.415GB
+ docker network prune -f --filter until=12h
+ echo 6489
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download 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/jenkins2008057545287619425.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6520103147303712118.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6862929365959835553.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8787281418722668690.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4774520193142391129.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7fe7f739dbd0>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.84s
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 noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #356

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/356/display/redirect?page=changes>

Changes:

[github] Update bc tests to include versions up to 4.9.x

[eolivelli] Avoid throwing exception when doing EntryLogger.internalReadEntry


------------------------------------------
[...truncated 29.21 KB...]
deleted: sha256:60b5d73e16c23e36fbe594fd74b96e82c20378607e698277767de6b564e9f3a9
deleted: sha256:79ce00a9421c1e31e7a58fc7181810c125f335c07f0dd0d030aaa532f5ca1384
deleted: sha256:217cb186c4b2cd4f2da08e3fdf82d1cba6b7ac7f66f2cadacf7c3f1ec7cb2566
deleted: sha256:514fc9b704758796de9ed951c68555a28ef459bde8ac82c50a3f585d4bcd7cf0
deleted: sha256:8d4ac3ce4d86301ff8305aca3533d58017c206c5c5f56bcfe66aa70123e6b70d
deleted: sha256:b33fc1d9979ceb938dbb8c45527c698175b93330ca165bac1273f774f62ca366
deleted: sha256:6655692ac8681a889cc20e728bbc45b9f03e2ea1976c265406c82f823db33cdd
deleted: sha256:48d458bf36892666c82d333c537f8e635b0835858612ed93a2ac99a1d5e7cce8
deleted: sha256:0088cfb5a22e6f42da5bc1a41380a6dc18e55aa9db507ab9ed34b34d5f8ec116
deleted: sha256:2aea9f47825eb2772ad9385ff3db8f86772d3a18d9392bfa860a1f36e4c07577
deleted: sha256:d960250ea320fe302b48d13624fa1db4c9fdf83d57dacd55c2bc28ed99ccddce
deleted: sha256:f0203fdd49f6cda9e6a411108a43f72b8bce9a2836081c7b54f258b6aa5e1046
deleted: sha256:19485c79a9bbdca205fce4f791efeaa2a103e23431434696cc54fdd939e9198d
deleted: sha256:6c0ea40aef9d2795f922f4e8642f0cd9ffb9404e6f3214693a1fd45489f38b44

Total reclaimed space: 1.719GB
+ docker network prune -f --filter until=12h
+ echo 13621
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: 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/jenkins2803973956061348186.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1278161205559015525.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6103981223024466480.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins760798957494092005.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4308132888921393509.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7fa6deb4cbd0>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.62s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #355

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/355/display/redirect>

Changes:


------------------------------------------
[...truncated 31.65 KB...]
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins7681121666542410697.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6f4152644229: Waiting
6933d3d46042: Waiting
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6f4152644229: Verifying Checksum
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9148436010018861110.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7910233490895846291.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8010726982631345552.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2185044577356605882.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f9e0ea9e150>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.33s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #354

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/354/display/redirect>

Changes:


------------------------------------------
[...truncated 166.97 KB...]
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: 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/jenkins8021358965525141097.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6933d3d46042: Waiting
6f4152644229: Waiting
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5631700463680880743.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6605605605254624271.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3685017885545492241.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3619508232621156903.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f172d94a9d0>
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 ===============================
.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

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):

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, and in 3.8 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.18s
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 guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com