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 2020/05/20 12:33:16 UTC

Build failed in Jenkins: bookkeeper_postcommit_master_python #587

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 #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