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/06/09 12:33:51 UTC

Build failed in Jenkins: bookkeeper_postcommit_master_python #607

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

Changes:


------------------------------------------
[...truncated 28.10 KB...]
70d0b3967cd8: Download complete
db8816f44548: Verifying Checksum
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:e7fabb79a554ce1d9d8a1f845c27108d95a03ec32f0a4dec8920533c9709d837
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9200724445564725049.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:6b5e535e58586bc20964050d203e8da15df62290819e9247ac5ee1611ab19c5c
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7509676727901906020.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:351a851cbc43920f6711b6822a6d77ea859575f9a1259a62fd6b892464f2f00a
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2736111131371523732.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
fd4b47407fc3: Waiting
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
39db0bc48c26: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download 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/jenkins2972456202493401904.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.1-py2.py3-none-any.whl (31 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 argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 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)
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=ef69371b2570a5e360db960eaeb040a8427372594b3c994ce91ab2af10d151d6
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, py, colorlog, filelock, six, distlib, appdirs, virtualenv, 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.1 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 0x7f2dbcb27790>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #680

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

Changes:


------------------------------------------
[...truncated 33.07 KB...]
edfe96a4dd20: Verifying Checksum
edfe96a4dd20: Download complete
80931cf68816: Verifying Checksum
80931cf68816: Download complete
a0af5a4f33d6: Verifying Checksum
a0af5a4f33d6: Download complete
7703a05dd304: Download complete
090f2a33a6a4: Verifying Checksum
090f2a33a6a4: Download complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
d6ff36c9ec48: Pull complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
7703a05dd304: Pull complete
a0af5a4f33d6: Pull complete
090f2a33a6a4: Pull complete
Digest: sha256:0bb57c218e452ace5a4d55ee3c56e3c57e29c7f43cf55192acf7289becff4b0e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3158047378839894515.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
fbaca8a5c6b4: Pulling fs layer
00b350c58fd4: Pulling fs layer
4b159b3c8f46: Pulling fs layer
4b159b3c8f46: Waiting
00b350c58fd4: Verifying Checksum
00b350c58fd4: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
fbaca8a5c6b4: Verifying Checksum
fbaca8a5c6b4: Download complete
4b159b3c8f46: Verifying Checksum
4b159b3c8f46: Download complete
6bdbc0af74d9: Pull complete
fbaca8a5c6b4: Pull complete
00b350c58fd4: Pull complete
4b159b3c8f46: Pull complete
Digest: sha256:ed4141f76f901c193856a8946283218c67e8dbfc258480fb6947829982913939
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7619953910302292187.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3416896310651735486.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
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
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/jenkins3063378859731808790.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
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 distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, six, distlib, appdirs, filelock, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.31 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/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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f9ecfdbda50>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.84s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #679

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

Changes:


------------------------------------------
[...truncated 32.97 KB...]
d6ff36c9ec48: Download complete
80931cf68816: Verifying Checksum
80931cf68816: Download complete
edfe96a4dd20: Verifying Checksum
edfe96a4dd20: Download complete
a0af5a4f33d6: Download complete
7703a05dd304: Verifying Checksum
7703a05dd304: Download complete
090f2a33a6a4: Verifying Checksum
090f2a33a6a4: Download complete
d6ff36c9ec48: Pull complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
7703a05dd304: Pull complete
a0af5a4f33d6: Pull complete
090f2a33a6a4: Pull complete
Digest: sha256:0bb57c218e452ace5a4d55ee3c56e3c57e29c7f43cf55192acf7289becff4b0e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5464384073403991706.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
fbaca8a5c6b4: Pulling fs layer
00b350c58fd4: Pulling fs layer
4b159b3c8f46: Pulling fs layer
4b159b3c8f46: Waiting
00b350c58fd4: Verifying Checksum
00b350c58fd4: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
fbaca8a5c6b4: Verifying Checksum
fbaca8a5c6b4: Download complete
4b159b3c8f46: Verifying Checksum
4b159b3c8f46: Download complete
6bdbc0af74d9: Pull complete
fbaca8a5c6b4: Pull complete
00b350c58fd4: Pull complete
4b159b3c8f46: Pull complete
Digest: sha256:ed4141f76f901c193856a8946283218c67e8dbfc258480fb6947829982913939
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4535811867941157582.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins102136790138922682.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
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
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/jenkins4342807399110020602.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Installing collected packages: zipp, importlib-metadata, py, argcomplete, appdirs, six, filelock, distlib, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.31 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f2aae044910>
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/stable/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.49s
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 #678

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

Changes:


------------------------------------------
[...truncated 32.10 KB...]
deleted: sha256:c61830ebaa5cc780ceb8500dd4c8e316f81636be9ad018a1bc259af2287da28e

Total reclaimed space: 838.8MB
+ docker network prune -f --filter until=12h
+ echo 29722
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1454316898568182867.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0bb57c218e452ace5a4d55ee3c56e3c57e29c7f43cf55192acf7289becff4b0e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2042013593450289971.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:ed4141f76f901c193856a8946283218c67e8dbfc258480fb6947829982913939
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins615965673192240469.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3728727708040046407.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
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: 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/jenkins8015498695217066918.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.2.1-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 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 distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, filelock, six, appdirs, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.31 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fb086c6a090>
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/stable/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.83s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #677

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

Changes:


------------------------------------------
[...truncated 30.61 KB...]
80931cf68816: Verifying Checksum
80931cf68816: Download complete
a0af5a4f33d6: Verifying Checksum
a0af5a4f33d6: Download complete
7703a05dd304: Verifying Checksum
7703a05dd304: Download complete
090f2a33a6a4: Verifying Checksum
090f2a33a6a4: Download complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
d6ff36c9ec48: Pull complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
7703a05dd304: Pull complete
a0af5a4f33d6: Pull complete
090f2a33a6a4: Pull complete
Digest: sha256:0bb57c218e452ace5a4d55ee3c56e3c57e29c7f43cf55192acf7289becff4b0e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4611413596009798655.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
fbaca8a5c6b4: Pulling fs layer
00b350c58fd4: Pulling fs layer
4b159b3c8f46: Pulling fs layer
4b159b3c8f46: Waiting
00b350c58fd4: Verifying Checksum
00b350c58fd4: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
fbaca8a5c6b4: Verifying Checksum
fbaca8a5c6b4: Download complete
4b159b3c8f46: Verifying Checksum
4b159b3c8f46: Download complete
6bdbc0af74d9: Pull complete
fbaca8a5c6b4: Pull complete
00b350c58fd4: Pull complete
4b159b3c8f46: Pull complete
Digest: sha256:ed4141f76f901c193856a8946283218c67e8dbfc258480fb6947829982913939
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins317801087106800598.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6422253338858710060.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
acb4a89489fc: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
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/jenkins7128403458294852164.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: py, appdirs, filelock, six, zipp, importlib-metadata, distlib, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.31 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f14e3d8b090>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.68s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #676

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

Changes:


------------------------------------------
[...truncated 25.66 KB...]
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: 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/jenkins7292794618207399108.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6ca82c8d96a24523a71f40bb38f5682b18ca74a7a19586927c79e714b1b906c4
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7128465472145382155.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
34b14a02188e: Pulling fs layer
34b14a02188e: Waiting
3175f9abc051: Verifying Checksum
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
34b14a02188e: Verifying Checksum
34b14a02188e: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
34b14a02188e: Pull complete
Digest: sha256:4ec64894c98dd0de6804e046359be6ae0820699d89a98ed4b2f62ccbea37f044
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6207430073809047389.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1323305349496256368.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
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
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
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/jenkins1907517842484067555.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.2.1-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, appdirs, six, distlib, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f006cd9a0d0>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.36s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #675

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

Changes:


------------------------------------------
[...truncated 26.96 KB...]
c958d65b3090: Pull complete
80931cf68816: Verifying Checksum
80931cf68816: Download complete
6790a6a53a00: Verifying Checksum
6790a6a53a00: Download complete
5870fef1e623: Verifying Checksum
5870fef1e623: Download complete
edaf0a6b092f: Pull complete
601e3df5d08d: Verifying Checksum
601e3df5d08d: Download complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
601e3df5d08d: Pull complete
Digest: sha256:6ca82c8d96a24523a71f40bb38f5682b18ca74a7a19586927c79e714b1b906c4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7298863665882505405.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
34b14a02188e: Pulling fs layer
34b14a02188e: Waiting
3175f9abc051: Download complete
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
34b14a02188e: Verifying Checksum
34b14a02188e: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
34b14a02188e: Pull complete
Digest: sha256:4ec64894c98dd0de6804e046359be6ae0820699d89a98ed4b2f62ccbea37f044
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6313491758404540028.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7456304685071330512.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
b32f6bf7d96d: Waiting
acb4a89489fc: 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
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
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/jenkins6487924691760520550.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: py, zipp, importlib-metadata, argcomplete, colorlog, six, appdirs, filelock, distlib, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fe0008671d0>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.36s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #674

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

Changes:

[eolivelli] Issue 2399 Move CI builds to ci-hadoop.apache.org - rename self job seed


------------------------------------------
[...truncated 26.28 KB...]
 Name: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
725bc743b1acf9c730867bfc0bfd9069d72ee5089aac8355cbe74cd37b692694

Deleted Images:
deleted: sha256:8fcb2bbb37ecbac17e5bd2f7a90f2a6016ac588041f0bffac29171956b6d2d1d
deleted: sha256:431f491f9528c90054ad088146044f4bc6d1ac9095e8791d113224749380e44c
deleted: sha256:ab27ab17a3155d5a4687ad53e050784b00ad73bb95a1b1d28a901b9f3a048c15
deleted: sha256:b7ec02d998c0692fdd8558ee31af3c61038abff641496e8774ef1c860c6f2326
deleted: sha256:83e360cd5ee4e78201cbff5ceb1c8f198dc1e770f2f2b96f71a46726f9cfa189

Total reclaimed space: 76.53MB
+ docker network prune -f --filter until=12h
+ echo 35859
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
bdf0201b3a05: Verifying Checksum
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9058879079198262998.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6ca82c8d96a24523a71f40bb38f5682b18ca74a7a19586927c79e714b1b906c4
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6641996421778994584.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:4ec64894c98dd0de6804e046359be6ae0820699d89a98ed4b2f62ccbea37f044
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5977077990130198721.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1820192233041290163.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
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: 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/jenkins5198127000357410838.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.30-py2.py3-none-any.whl (7.1 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: filelock, appdirs, zipp, importlib-metadata, six, distlib, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f63e02251d0>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.78s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #673

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

Changes:


------------------------------------------
[...truncated 33.59 KB...]
c958d65b3090: Download complete
edfe96a4dd20: Verifying Checksum
edfe96a4dd20: Download complete
80931cf68816: Verifying Checksum
80931cf68816: Download complete
6790a6a53a00: Verifying Checksum
6790a6a53a00: Download complete
5870fef1e623: Verifying Checksum
5870fef1e623: Download complete
601e3df5d08d: Download complete
c958d65b3090: Pull complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
601e3df5d08d: Pull complete
Digest: sha256:6ca82c8d96a24523a71f40bb38f5682b18ca74a7a19586927c79e714b1b906c4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1931437494779807880.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
34b14a02188e: Pulling fs layer
34b14a02188e: Waiting
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
34b14a02188e: Verifying Checksum
34b14a02188e: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
34b14a02188e: Pull complete
Digest: sha256:4ec64894c98dd0de6804e046359be6ae0820699d89a98ed4b2f62ccbea37f044
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6791583493559526784.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6015851610010216802.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
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2907988430424375875.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, argcomplete, py, colorlog, distlib, filelock, appdirs, six, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fd659962710>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.76s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #672

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

Changes:

[github] BP-41 Separate BookieId from Bookie Network Address (#2397)

[github] Issue #2385: NullPointerException in Zookeeper multiple operations

[github] Issue #2197: bkctl binary distribution needs a 'logs' directory

[github] Fix site 'responsbility' typo

[github] The latency of BenchThroughputLatency may be wrong due to Integer

[github] NP check for print BookieSocketAddress and a better format

[github] Active ledgers on entry log file

[github] Bookie Client add quarantine ratio when error count exceed threshold


------------------------------------------
[...truncated 28.55 KB...]
d6ff36c9ec48: Download complete
80931cf68816: Verifying Checksum
80931cf68816: Download complete
edfe96a4dd20: Verifying Checksum
edfe96a4dd20: Download complete
6790a6a53a00: Verifying Checksum
6790a6a53a00: Download complete
5870fef1e623: Verifying Checksum
5870fef1e623: Download complete
601e3df5d08d: Verifying Checksum
601e3df5d08d: Download complete
d6ff36c9ec48: Pull complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
601e3df5d08d: Pull complete
Digest: sha256:6ca82c8d96a24523a71f40bb38f5682b18ca74a7a19586927c79e714b1b906c4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins635226253357103848.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
34b14a02188e: Pulling fs layer
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
34b14a02188e: Verifying Checksum
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
34b14a02188e: Pull complete
Digest: sha256:4ec64894c98dd0de6804e046359be6ae0820699d89a98ed4b2f62ccbea37f044
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7992203907922605907.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7894386312822423745.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
fd4b47407fc3: Waiting
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: 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/jenkins8393983558158454697.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.30-py2.py3-none-any.whl (7.1 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: zipp, importlib-metadata, six, distlib, appdirs, filelock, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fa0a22fca90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.48s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #671

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

Changes:


------------------------------------------
[...truncated 32.65 KB...]
edfe96a4dd20: Verifying Checksum
edfe96a4dd20: Download complete
80931cf68816: Verifying Checksum
6790a6a53a00: Download complete
5870fef1e623: Verifying Checksum
601e3df5d08d: Verifying Checksum
601e3df5d08d: Download complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
d6ff36c9ec48: Pull complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
601e3df5d08d: Pull complete
Digest: sha256:6ca82c8d96a24523a71f40bb38f5682b18ca74a7a19586927c79e714b1b906c4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3506306856960189690.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
34b14a02188e: Pulling fs layer
34b14a02188e: Waiting
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
34b14a02188e: Verifying Checksum
34b14a02188e: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
34b14a02188e: Pull complete
Digest: sha256:4ec64894c98dd0de6804e046359be6ae0820699d89a98ed4b2f62ccbea37f044
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1603558291619519524.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
6b7662008dd5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
6b7662008dd5: Verifying Checksum
6b7662008dd5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
6b7662008dd5: Pull complete
Digest: sha256:d893d843311df3a533f675d6fc367befbb8c36dce93089e2ecf07b1f035116a5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5537767952030112052.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
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/jenkins7429184652914522157.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 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 distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, filelock, appdirs, distlib, six, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f91b9585a90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.45s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #670

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

Changes:


------------------------------------------
[...truncated 29.96 KB...]
edfe96a4dd20: Download complete
6790a6a53a00: Verifying Checksum
6790a6a53a00: Download complete
5870fef1e623: Verifying Checksum
5870fef1e623: Download complete
4700c40d366f: Verifying Checksum
4700c40d366f: Download complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
d6ff36c9ec48: Pull complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
4700c40d366f: Pull complete
Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5836151863078415828.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
07ef8194c8a2: Pulling fs layer
3175f9abc051: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
07ef8194c8a2: Verifying Checksum
07ef8194c8a2: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
07ef8194c8a2: Pull complete
Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4947513531273717653.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
fc2b025653e5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
fc2b025653e5: Verifying Checksum
fc2b025653e5: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
fc2b025653e5: Pull complete
Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8405233547784534675.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
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
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/jenkins7487285933987053737.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, py, distlib, appdirs, six, filelock, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 zipp-3.1.0
WARNING: You are using pip version 20.2.1; however, version 20.2.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fa051f08a90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.74s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #669

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

Changes:


------------------------------------------
[...truncated 28.22 KB...]
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3177486735333307713.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4960520831335251499.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
07ef8194c8a2: Pulling fs layer
07ef8194c8a2: Waiting
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
07ef8194c8a2: Verifying Checksum
07ef8194c8a2: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
07ef8194c8a2: Pull complete
Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1830732406863270535.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
fc2b025653e5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
fc2b025653e5: Verifying Checksum
fc2b025653e5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
fc2b025653e5: Pull complete
Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5253480537583416883.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
acb4a89489fc: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
af4b99ad9ef0: 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
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: 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/jenkins4274573769244429528.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.30-py2.py3-none-any.whl (7.1 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: six, distlib, appdirs, filelock, zipp, importlib-metadata, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f0666e64a90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.56s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #668

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

Changes:


------------------------------------------
[...truncated 29.89 KB...]
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: 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/jenkins7618938072941823276.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5776731299482616503.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
07ef8194c8a2: Pulling fs layer
07ef8194c8a2: Waiting
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
07ef8194c8a2: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
07ef8194c8a2: Pull complete
Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7893758308334744760.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
fc2b025653e5: Pulling fs layer
fc2b025653e5: Verifying Checksum
fc2b025653e5: Download complete
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
fc2b025653e5: Pull complete
Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7280022773015483268.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
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: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
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/jenkins1763479849734869821.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.30-py2.py3-none-any.whl (7.1 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 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)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: zipp, importlib-metadata, appdirs, six, filelock, distlib, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fb51f885710>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.15s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #667

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

Changes:


------------------------------------------
[...truncated 26.83 KB...]
edaf0a6b092f: Verifying Checksum
edaf0a6b092f: Download complete
edfe96a4dd20: Verifying Checksum
edfe96a4dd20: Download complete
80931cf68816: Verifying Checksum
80931cf68816: Download complete
c958d65b3090: Pull complete
6790a6a53a00: Verifying Checksum
6790a6a53a00: Download complete
4700c40d366f: Verifying Checksum
4700c40d366f: Download complete
5870fef1e623: Verifying Checksum
5870fef1e623: Download complete
edaf0a6b092f: Pull complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
4700c40d366f: Pull complete
Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7915322832084074314.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
07ef8194c8a2: Pulling fs layer
07ef8194c8a2: Waiting
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Download complete
f7ef6253c491: Download complete
07ef8194c8a2: Verifying Checksum
07ef8194c8a2: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
07ef8194c8a2: Pull complete
Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7075307831834273681.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
fc2b025653e5: Pulling fs layer
11740b0bcf22: Download complete
fc2b025653e5: Verifying Checksum
fc2b025653e5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
fc2b025653e5: Pull complete
Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3475842628100910780.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
fd4b47407fc3: Waiting
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
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
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/jenkins1988358695326068057.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.2.1-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: colorlog, py, appdirs, distlib, zipp, importlib-metadata, filelock, six, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f7bfaea8a90>
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/stable/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 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 #666

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

Changes:


------------------------------------------
[...truncated 26.34 KB...]

WARNING: No swap limit support
+ docker system prune -f
Deleted Images:
deleted: sha256:675ee5c82257e21bec5b8ed54fe027d4909331cec9b22cdedefd885c032d3563
deleted: sha256:815e7dc7fa940a3ea78f1bd84b5351f46b71de3f4803aefcbbd133b7583af941
deleted: sha256:47769b0bfa33e361c7d38a006c309225f469da23eb4532184e113d491683c221
deleted: sha256:4531a179769399de80c1a99741678c9a884ed5ca54d2a9cf118a2a2e744267d0
deleted: sha256:7fb9192998449959fcbdeaa75428f931db5fd9e6cd02afb24e3b387da9ee0352
deleted: sha256:ad1698f7413bd8d2f0277bd38771867426a4694bce4ff7aa04b83378c5dc9722
deleted: sha256:58639006e579ae77195c0f94f42be9469d8cdb2b1b7c88cd5bc6bd2de5817727
deleted: sha256:75827ec5ea5a4caa858f4c999ffe5c500562ef8b6ad4c085beaf66ed60e4b395
deleted: sha256:db5f3864fe3f91176e135ce70aa454426fb20f473f68f5d117a498188998fcb8
deleted: sha256:cd6a1f21f2eca9a2577a5d3f46317ea4d593f695e0bbd562f9b255ed095fa8e3
deleted: sha256:a7e0030f8e060edcca8a6ddf637269f1aad8a167bb666ba3bd4952ff0b8de794
deleted: sha256:40f9118bd7966fd710822eb78928ad450285fc7f7fbd5c1c3a1ab6acb5238481
deleted: sha256:dda4232b2bd580bbf633be12d62e8d0e00f6b7bd60ea6faee157bad1809c53c4
deleted: sha256:5bdc89d1b74d49c9810e9216f1f597fbce197340c508873aa1a52f930c24e8fa
deleted: sha256:8062de0c076412de16fc35e5e15a1197554d1e9f6182b82f0900faf66663fbf2
deleted: sha256:005fea2878ff3646a58b1f001213ec5ce38d56d4eb2d6d98f5a9b6ba5250bde9
deleted: sha256:25ee45c90eccb987bf7566880b67190663d8a6b0045803c613d0db6b8923119b
deleted: sha256:3e207b409db364b595ba862cdc12be96dcdad8e36c59a03b7b3b61c946a5741a

Total reclaimed space: 569.2MB
+ docker network prune -f --filter until=12h
+ echo 31844
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8804867130491413433.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3243663909440843197.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2111483600633846600.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2946749792865527231.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
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
7e2b2a5af8f6: Pull complete
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/jenkins8906705452847225068.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.30-py2.py3-none-any.whl (7.1 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: six, zipp, importlib-metadata, distlib, appdirs, filelock, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7ff639525a90>
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/stable/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.79s
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 #665

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

Changes:


------------------------------------------
[...truncated 29.83 KB...]
80931cf68816: Verifying Checksum
80931cf68816: Download complete
6790a6a53a00: Verifying Checksum
6790a6a53a00: Download complete
5870fef1e623: Verifying Checksum
5870fef1e623: Download complete
4700c40d366f: Verifying Checksum
4700c40d366f: Download complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
d6ff36c9ec48: Pull complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
4700c40d366f: Pull complete
Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6117464327372211824.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
07ef8194c8a2: Pulling fs layer
07ef8194c8a2: Waiting
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
07ef8194c8a2: Verifying Checksum
07ef8194c8a2: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
07ef8194c8a2: Pull complete
Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7896508743208426617.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
fc2b025653e5: Pulling fs layer
11740b0bcf22: Verifying Checksum
11740b0bcf22: Download complete
fc2b025653e5: Verifying Checksum
fc2b025653e5: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
fc2b025653e5: Pull complete
Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5018881772007720159.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
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/jenkins5156684967466305670.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.30-py2.py3-none-any.whl (7.1 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: appdirs, zipp, importlib-metadata, filelock, six, distlib, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fcc7b9c9a90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.68s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #664

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

Changes:


------------------------------------------
[...truncated 29.57 KB...]
edfe96a4dd20: Download complete
80931cf68816: Verifying Checksum
80931cf68816: Download complete
6790a6a53a00: Verifying Checksum
6790a6a53a00: Download complete
5870fef1e623: Verifying Checksum
5870fef1e623: Download complete
4700c40d366f: Verifying Checksum
4700c40d366f: Download complete
bc1b8aca3825: Verifying Checksum
bc1b8aca3825: Download complete
d6ff36c9ec48: Pull complete
c958d65b3090: Pull complete
edaf0a6b092f: Pull complete
80931cf68816: Pull complete
bc1b8aca3825: Pull complete
edfe96a4dd20: Pull complete
5870fef1e623: Pull complete
6790a6a53a00: Pull complete
4700c40d366f: Pull complete
Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4012824669910399848.sh
+ docker pull python:3.6
3.6: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Pulling fs layer
f7ef6253c491: Pulling fs layer
3175f9abc051: Pulling fs layer
07ef8194c8a2: Pulling fs layer
07ef8194c8a2: Waiting
3175f9abc051: Verifying Checksum
3175f9abc051: Download complete
6bdbc0af74d9: Verifying Checksum
6bdbc0af74d9: Download complete
f7ef6253c491: Verifying Checksum
f7ef6253c491: Download complete
07ef8194c8a2: Verifying Checksum
07ef8194c8a2: Download complete
6bdbc0af74d9: Pull complete
f7ef6253c491: Pull complete
3175f9abc051: Pull complete
07ef8194c8a2: Pull complete
Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6614800904504711466.sh
+ docker pull python:3.5
3.5: Pulling from library/python
d6ff36c9ec48: Already exists
c958d65b3090: Already exists
edaf0a6b092f: Already exists
80931cf68816: Already exists
bc1b8aca3825: Already exists
6bdbc0af74d9: Already exists
e6eb974ca946: Pulling fs layer
11740b0bcf22: Pulling fs layer
fc2b025653e5: Pulling fs layer
fc2b025653e5: Verifying Checksum
fc2b025653e5: Download complete
11740b0bcf22: Download complete
e6eb974ca946: Verifying Checksum
e6eb974ca946: Download complete
e6eb974ca946: Pull complete
11740b0bcf22: Pull complete
fc2b025653e5: Pull complete
Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1041843120568813341.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
6f4489a7e4cf: 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: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
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/jenkins2017991195941660706.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: py, colorlog, six, zipp, importlib-metadata, appdirs, filelock, distlib, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.30 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f5a7f49fa90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #663

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

Changes:


------------------------------------------
[...truncated 27.88 KB...]
31dd5ebca5ef: Download complete
75d93399dc4e: Verifying Checksum
75d93399dc4e: Download complete
ac34a4d7c330: Verifying Checksum
ac34a4d7c330: Download complete
3410ca7853e6: Download complete
7f2f4f9ae6a6: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
7f2f4f9ae6a6: Pull complete
Digest: sha256:b2ed8ca0a075c1134aa3594647895bf194cbf3149029b7d3224c4e71d2db55c8
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5250347018156643021.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
dc0778ea9227: Pulling fs layer
dc0778ea9227: Waiting
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
dc0778ea9227: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
dc0778ea9227: Pull complete
Digest: sha256:30e954b63d64510a9f7d4edb0a6a9d5b13d40c8a656b23f1662383c6d26d8b21
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5980116533212058654.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
8031dc271bf0: Pulling fs layer
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
8031dc271bf0: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
8031dc271bf0: Pull complete
Digest: sha256:39af2b17dce874ba575c2a3d03f42069af05ad86b1a20ec53d4afa976d048127
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6287403611437348713.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
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: 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: 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/jenkins4920088679782409171.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.29-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, appdirs, filelock, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.29 zipp-3.1.0
WARNING: You are using pip version 20.2; however, version 20.2.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f6b9c6a8a90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.82s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #662

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

Changes:


------------------------------------------
[...truncated 29.98 KB...]
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
a7ac3a9acfb35f2a2fe1e531aec5ea43ae35c7df1942b4e6a7e385f928dfffbd

Total reclaimed space: 37.52MB
+ docker network prune -f --filter until=12h
+ echo 51394
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2522333372704104245.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:e5e361e98022e4425b1272888ca59e2bf6fe518a59b43bcfcf206a709f9fc5e6
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5234611302599675374.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:61aaf7a0ae69997cf041c4f41b405ff6365e73f2709cebbaf443902cf2871baa
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2471403125118321390.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:dc5cd748590da257b5ee8f23b1b5cf250f07e0d4468f0d6e130bdc6334e7bc63
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1910119339635871246.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
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: 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/jenkins4625888020655144716.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.29-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: filelock, appdirs, distlib, zipp, importlib-metadata, six, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.29 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f0f99a1ea90>
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/stable/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.79s
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 #661

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

Changes:


------------------------------------------
[...truncated 27.61 KB...]
bcd57146431e: Download complete
31dd5ebca5ef: Verifying Checksum
31dd5ebca5ef: Download complete
75d93399dc4e: Verifying Checksum
75d93399dc4e: Download complete
ac34a4d7c330: Verifying Checksum
ac34a4d7c330: Download complete
3410ca7853e6: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
7f2f4f9ae6a6: Verifying Checksum
7f2f4f9ae6a6: Download complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
7f2f4f9ae6a6: Pull complete
Digest: sha256:e5e361e98022e4425b1272888ca59e2bf6fe518a59b43bcfcf206a709f9fc5e6
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5626272660385752802.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
dc0778ea9227: Pulling fs layer
dc0778ea9227: Waiting
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
dc0778ea9227: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
dc0778ea9227: Pull complete
Digest: sha256:61aaf7a0ae69997cf041c4f41b405ff6365e73f2709cebbaf443902cf2871baa
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5876642375627834315.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
8031dc271bf0: Pulling fs layer
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
8031dc271bf0: Verifying Checksum
8031dc271bf0: Download complete
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
8031dc271bf0: Pull complete
Digest: sha256:dc5cd748590da257b5ee8f23b1b5cf250f07e0d4468f0d6e130bdc6334e7bc63
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8589780356703838735.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: 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: 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/jenkins5041034072867210997.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.2.1-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.29-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: colorlog, distlib, appdirs, zipp, importlib-metadata, filelock, six, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.29 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7eff7f399710>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #660

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

Changes:


------------------------------------------
[...truncated 30.71 KB...]
ac34a4d7c330: Verifying Checksum
ac34a4d7c330: Download complete
3410ca7853e6: Verifying Checksum
3410ca7853e6: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
7f2f4f9ae6a6: Verifying Checksum
7f2f4f9ae6a6: Download complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
7f2f4f9ae6a6: Pull complete
Digest: sha256:e5e361e98022e4425b1272888ca59e2bf6fe518a59b43bcfcf206a709f9fc5e6
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6502763086068250498.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
dc0778ea9227: Pulling fs layer
dc0778ea9227: Waiting
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
dc0778ea9227: Verifying Checksum
dc0778ea9227: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
dc0778ea9227: Pull complete
Digest: sha256:61aaf7a0ae69997cf041c4f41b405ff6365e73f2709cebbaf443902cf2871baa
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7679617809043705333.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
8031dc271bf0: Pulling fs layer
8031dc271bf0: Verifying Checksum
8031dc271bf0: Download complete
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
8031dc271bf0: Pull complete
Digest: sha256:dc5cd748590da257b5ee8f23b1b5cf250f07e0d4468f0d6e130bdc6334e7bc63
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6159191736607192241.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
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: 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
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/jenkins8105818594753835324.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.29-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, appdirs, six, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.29 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f0b8073b650>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.68s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #659

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

Changes:


------------------------------------------
[...truncated 28.60 KB...]
31dd5ebca5ef: Download complete
75d93399dc4e: Verifying Checksum
75d93399dc4e: Download complete
ac34a4d7c330: Verifying Checksum
ac34a4d7c330: Download complete
3410ca7853e6: Verifying Checksum
3410ca7853e6: Download complete
7f2f4f9ae6a6: Verifying Checksum
7f2f4f9ae6a6: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
7f2f4f9ae6a6: Pull complete
Digest: sha256:e5e361e98022e4425b1272888ca59e2bf6fe518a59b43bcfcf206a709f9fc5e6
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8430236081472335436.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
dc0778ea9227: Pulling fs layer
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
dc0778ea9227: Verifying Checksum
dc0778ea9227: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
dc0778ea9227: Pull complete
Digest: sha256:61aaf7a0ae69997cf041c4f41b405ff6365e73f2709cebbaf443902cf2871baa
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4449863870317562493.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
8031dc271bf0: Pulling fs layer
8031dc271bf0: Verifying Checksum
8031dc271bf0: Download complete
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
8031dc271bf0: Pull complete
Digest: sha256:dc5cd748590da257b5ee8f23b1b5cf250f07e0d4468f0d6e130bdc6334e7bc63
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins864357930192464918.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
acb4a89489fc: Waiting
fd4b47407fc3: 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: 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/jenkins4894196810644941472.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.28-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: filelock, six, distlib, zipp, importlib-metadata, appdirs, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f5dcd260ad0>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.72s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #658

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

Changes:


------------------------------------------
[...truncated 29.06 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3985150403129481108.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3864015686265777103.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
249d6c18c9cc: Pulling fs layer
249d6c18c9cc: Waiting
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
249d6c18c9cc: Verifying Checksum
249d6c18c9cc: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
249d6c18c9cc: Pull complete
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8034669521979007296.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
57edbe07cbd6: Pulling fs layer
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
57edbe07cbd6: Verifying Checksum
57edbe07cbd6: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
57edbe07cbd6: Pull complete
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9002038800222755905.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
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/jenkins3985543592929014373.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.28-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: py, six, appdirs, filelock, zipp, importlib-metadata, distlib, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 zipp-3.1.0
WARNING: You are using pip version 20.1.1; however, version 20.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f39c5361710>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.14s
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 #657

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

Changes:


------------------------------------------
[...truncated 31.19 KB...]
ac34a4d7c330: Verifying Checksum
ac34a4d7c330: Download complete
3410ca7853e6: Verifying Checksum
3410ca7853e6: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
af0a6ea54c94: Verifying Checksum
af0a6ea54c94: Download complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
af0a6ea54c94: Pull complete
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3636678088346195589.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
249d6c18c9cc: Pulling fs layer
249d6c18c9cc: Waiting
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Download complete
249d6c18c9cc: Verifying Checksum
249d6c18c9cc: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
249d6c18c9cc: Pull complete
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5433571200167559375.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
57edbe07cbd6: Pulling fs layer
7dca5a1bba60: Download complete
57edbe07cbd6: Verifying Checksum
57edbe07cbd6: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
57edbe07cbd6: Pull complete
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4101726626253155984.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
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
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/jenkins3100459670823926365.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.28-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, six, distlib, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 zipp-3.1.0
WARNING: You are using pip version 20.1.1; however, version 20.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fdca573aa90>
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/stable/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.90s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #656

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

Changes:

[github] Track ZooKeeper errors as causes of ZKException


------------------------------------------
[...truncated 33.70 KB...]
31dd5ebca5ef: Download complete
75d93399dc4e: Verifying Checksum
75d93399dc4e: Download complete
3410ca7853e6: Verifying Checksum
3410ca7853e6: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
af0a6ea54c94: Verifying Checksum
af0a6ea54c94: Download complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
af0a6ea54c94: Pull complete
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4633183473897902745.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
249d6c18c9cc: Pulling fs layer
249d6c18c9cc: Waiting
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
249d6c18c9cc: Verifying Checksum
249d6c18c9cc: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
249d6c18c9cc: Pull complete
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2583314445191926871.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
57edbe07cbd6: Pulling fs layer
7dca5a1bba60: Download complete
57edbe07cbd6: Verifying Checksum
57edbe07cbd6: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
57edbe07cbd6: Pull complete
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4327324529862650689.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: 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
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/jenkins113217947035340097.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.28-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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 distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, filelock, appdirs, distlib, six, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fdd4301ba90>
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 #655

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

Changes:

[github] [SITE] Improve the user experience of the site

[github] fix fillReadAheadCache stat bug


------------------------------------------
[...truncated 27.41 KB...]
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2833062889308916233.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4803174494973949128.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
249d6c18c9cc: Pulling fs layer
249d6c18c9cc: Waiting
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
249d6c18c9cc: Verifying Checksum
249d6c18c9cc: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
249d6c18c9cc: Pull complete
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1872741387958151114.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
57edbe07cbd6: Pulling fs layer
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
57edbe07cbd6: Verifying Checksum
57edbe07cbd6: Download complete
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
57edbe07cbd6: Pull complete
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6720364157948760538.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
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
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/jenkins1496755721543706511.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.28-py2.py3-none-any.whl (4.9 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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, six, appdirs, distlib, filelock, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f2e38a783d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.89s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #654

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

Changes:


------------------------------------------
[...truncated 28.87 KB...]
ac34a4d7c330: Verifying Checksum
75d93399dc4e: Verifying Checksum
75d93399dc4e: Download complete
3410ca7853e6: Download complete
af0a6ea54c94: Verifying Checksum
af0a6ea54c94: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
af0a6ea54c94: Pull complete
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1959020386241623854.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
249d6c18c9cc: Pulling fs layer
249d6c18c9cc: Waiting
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
249d6c18c9cc: Verifying Checksum
249d6c18c9cc: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
249d6c18c9cc: Pull complete
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1625391369905520746.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
57edbe07cbd6: Pulling fs layer
57edbe07cbd6: Verifying Checksum
57edbe07cbd6: Download complete
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
57edbe07cbd6: Pull complete
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6721639318734579836.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
fd4b47407fc3: Waiting
6f4489a7e4cf: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: 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: 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/jenkins8682141352279086618.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.28-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: distlib, appdirs, filelock, six, zipp, importlib-metadata, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f49b1f63f50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.43s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #653

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

Changes:


------------------------------------------
[...truncated 27.84 KB...]
31dd5ebca5ef: Verifying Checksum
31dd5ebca5ef: Download complete
ac34a4d7c330: Verifying Checksum
ac34a4d7c330: Download complete
75d93399dc4e: Verifying Checksum
75d93399dc4e: Download complete
3410ca7853e6: Download complete
af0a6ea54c94: Verifying Checksum
af0a6ea54c94: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
af0a6ea54c94: Pull complete
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8349687127167213376.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
249d6c18c9cc: Pulling fs layer
249d6c18c9cc: Waiting
122eb670adba: Download complete
ebb3a49d6a6e: Download complete
249d6c18c9cc: Verifying Checksum
249d6c18c9cc: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
249d6c18c9cc: Pull complete
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4457921670697365050.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
57edbe07cbd6: Pulling fs layer
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
57edbe07cbd6: Verifying Checksum
57edbe07cbd6: Download complete
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
57edbe07cbd6: Pull complete
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5815920714859301967.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
fd4b47407fc3: Waiting
39db0bc48c26: Pulling fs layer
b32f6bf7d96d: Waiting
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3407551642557832228.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.28-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, appdirs, six, filelock, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f98cf3cda10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.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 #652

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

Changes:

[github] Issue 2264: Bookie cannot perform Garbage Collection in case of


------------------------------------------
[...truncated 30.19 KB...]
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
ec22151eeb30904d2ade2f924447f6fa4f77a6326d90b43a8a1aea5f9cc9ed13

Total reclaimed space: 37.68MB
+ docker network prune -f --filter until=12h
+ echo 963
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download 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/jenkins7943923908404346756.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1157357058545449663.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6339420370520591403.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1024852260912989064.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: 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/jenkins5152233855832450140.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.28-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: appdirs, zipp, importlib-metadata, distlib, six, filelock, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.28 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f689b99c0d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.72s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #651

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

Changes:


------------------------------------------
[...truncated 29.95 KB...]
31dd5ebca5ef: Download complete
75d93399dc4e: Verifying Checksum
75d93399dc4e: Download complete
ac34a4d7c330: Verifying Checksum
ac34a4d7c330: Download complete
3410ca7853e6: Download complete
56c9d8f3837d: Verifying Checksum
56c9d8f3837d: Download complete
af0a6ea54c94: Verifying Checksum
af0a6ea54c94: Download complete
3b0a7e6f20fb: Verifying Checksum
3b0a7e6f20fb: Download complete
31dd5ebca5ef: Pull complete
3ed641c4ae98: Pull complete
bcd57146431e: Pull complete
ac34a4d7c330: Pull complete
3b0a7e6f20fb: Pull complete
75d93399dc4e: Pull complete
56c9d8f3837d: Pull complete
3410ca7853e6: Pull complete
af0a6ea54c94: Pull complete
Digest: sha256:cd08e3c0188c86f7dee6513477f0b3ee0aa9181a5de0940132a80e5b6b13caa4
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3384141750834691327.sh
+ docker pull python:3.6
3.6: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Pulling fs layer
68216b6edce5: Pulling fs layer
122eb670adba: Pulling fs layer
249d6c18c9cc: Pulling fs layer
249d6c18c9cc: Waiting
122eb670adba: Verifying Checksum
122eb670adba: Download complete
ebb3a49d6a6e: Verifying Checksum
ebb3a49d6a6e: Download complete
249d6c18c9cc: Verifying Checksum
249d6c18c9cc: Download complete
68216b6edce5: Verifying Checksum
68216b6edce5: Download complete
ebb3a49d6a6e: Pull complete
68216b6edce5: Pull complete
122eb670adba: Pull complete
249d6c18c9cc: Pull complete
Digest: sha256:88b816b275fad6599690fa7674a52106197d50dfe1cc52e3806b13f1dcfda624
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6748451277002439714.sh
+ docker pull python:3.5
3.5: Pulling from library/python
31dd5ebca5ef: Already exists
3ed641c4ae98: Already exists
bcd57146431e: Already exists
ac34a4d7c330: Already exists
3b0a7e6f20fb: Already exists
ebb3a49d6a6e: Already exists
fd7ccaab487b: Pulling fs layer
7dca5a1bba60: Pulling fs layer
57edbe07cbd6: Pulling fs layer
7dca5a1bba60: Verifying Checksum
7dca5a1bba60: Download complete
57edbe07cbd6: Verifying Checksum
57edbe07cbd6: Download complete
fd7ccaab487b: Verifying Checksum
fd7ccaab487b: Download complete
fd7ccaab487b: Pull complete
7dca5a1bba60: Pull complete
57edbe07cbd6: Pull complete
Digest: sha256:097f71478dd3ba7b7cc29d797985f926d5e734014d998b704bed2b66ca644bd7
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4992234636706616575.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
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7772438325575482073.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.27-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: six, appdirs, filelock, distlib, zipp, importlib-metadata, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fafd101fd50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.74s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #650

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

Changes:


------------------------------------------
[...truncated 33.75 KB...]
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:9644990d901a5567f770c2969f0f4fbb3a3b3158f220fa008d750abfd81b4358
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins906899825181988775.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:2235980b26a571611f3dde9bb8e6627e3631ce4b6348f32d1a7deb64f78f68fd
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1714282495785436834.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:fc802661321eba010491210c069a3bf0e40fff20896c308bfd83e3b7497a7e08
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7389553639150091916.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
fd4b47407fc3: Waiting
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: 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
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2219267322178755091.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.27-py2.py3-none-any.whl (4.9 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.12.0-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
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 appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Installing collected packages: zipp, importlib-metadata, six, appdirs, distlib, filelock, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f4290b2cc50>
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 #649

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

Changes:


------------------------------------------
[...truncated 28.38 KB...]
e9afc4f90ab0: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:322ff8fa9fb1cc6d0cc17e2e2b966ca17cda5d036930496cac1a03810525cbb1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins545834210377208213.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2160528360927217761.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
33180336d878: Verifying Checksum
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins283343307935631049.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
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
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/jenkins8777821872113788194.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.27-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, six, filelock, distlib, appdirs, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f0a93542990>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.65s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #648

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

Changes:


------------------------------------------
[...truncated 28.37 KB...]
973721b7fcb1: Download complete
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8448211044551061728.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:322ff8fa9fb1cc6d0cc17e2e2b966ca17cda5d036930496cac1a03810525cbb1
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1976467842700311441.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7326044742738032797.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2269888753146169984.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7875763834065610355.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.27-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, filelock, distlib, appdirs, six, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f0ef60ee5d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #647

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

Changes:


------------------------------------------
[...truncated 35.95 KB...]
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:322ff8fa9fb1cc6d0cc17e2e2b966ca17cda5d036930496cac1a03810525cbb1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4734260091233847385.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6170426585197917065.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4876841514109323226.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
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: 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/jenkins4681282523114221535.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.27-py2.py3-none-any.whl (4.9 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, distlib, six, appdirs, filelock, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7ff874840250>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.78s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #646

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

Changes:


------------------------------------------
[...truncated 29.31 KB...]
989e6b19a265: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
989e6b19a265: Pull complete
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
af14b6c2f878: Pull complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:322ff8fa9fb1cc6d0cc17e2e2b966ca17cda5d036930496cac1a03810525cbb1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3972699444390119846.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5456079546347419858.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2668511677631256348.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5135247373684764477.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.27-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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 distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, filelock, six, appdirs, distlib, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f5c17e6b310>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.76s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #645

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

Changes:


------------------------------------------
[...truncated 26.48 KB...]
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8135092354370126730.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:322ff8fa9fb1cc6d0cc17e2e2b966ca17cda5d036930496cac1a03810525cbb1
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6790526103901865130.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6969224090346366974.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
33180336d878: Verifying Checksum
33180336d878: Download complete
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6518477278135669653.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
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: 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/jenkins7526235025981885517.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.27-py2.py3-none-any.whl (4.9 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, filelock, six, distlib, appdirs, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f0b67ab1650>
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.80s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #644

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

Changes:


------------------------------------------
[...truncated 26.17 KB...]
973721b7fcb1: Download complete
ab017ee82de8: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7239735007905367253.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:322ff8fa9fb1cc6d0cc17e2e2b966ca17cda5d036930496cac1a03810525cbb1
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1518346058148383067.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2063559421916023205.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8282200564917416321.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
fd4b47407fc3: Waiting
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4492742712987450909.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.27-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.12.0-py2.py3-none-any.whl (38 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: six, zipp, importlib-metadata, distlib, filelock, appdirs, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.27 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fc5e1a3d6d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.44s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #643

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

Changes:


------------------------------------------
[...truncated 26.22 KB...]
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins449458881575095422.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2154464314344721413.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1256306091795529434.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins773815326397324740.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
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
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/jenkins7303055157226327232.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.12.0-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.26-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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.9.0-py2.py3-none-any.whl (99 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, filelock, appdirs, six, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fbcd4fbf450>
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.46s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #642

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

Changes:


------------------------------------------
[...truncated 28.09 KB...]
989e6b19a265: Download complete
af14b6c2f878: Verifying Checksum
af14b6c2f878: Download complete
e9afc4f90ab0: Verifying Checksum
e9afc4f90ab0: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4405149416263486768.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2282223090274046830.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2611110132929345728.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
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
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: 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/jenkins2253317367143832211.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.26-py2.py3-none-any.whl (4.9 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: distlib, zipp, importlib-metadata, appdirs, six, filelock, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7faf55794590>
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.42s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #641

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

Changes:

[github] [bookkeeper-site] fix latest version of bookkeeper website


------------------------------------------
[...truncated 30.87 KB...]
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7116248026041486911.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6074069726755656333.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins831151903270407376.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7762823347172834043.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
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: 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
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: 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/jenkins4049822065827505084.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.26-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting 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.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: filelock, six, distlib, appdirs, zipp, importlib-metadata, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f7c9c24f750>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.72s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #640

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

Changes:


------------------------------------------
[...truncated 27.46 KB...]
11a88e764313: Waiting
989e6b19a265: Verifying Checksum
989e6b19a265: Download complete
af14b6c2f878: Verifying Checksum
af14b6c2f878: Download complete
e9afc4f90ab0: Verifying Checksum
e9afc4f90ab0: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
029629755bc9: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1700311466903050811.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
5fbfb8c90ca7: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4856463571428497319.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Download complete
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins651566863039300839.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
fd4b47407fc3: Waiting
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
6f4489a7e4cf: Waiting
39db0bc48c26: Pulling fs layer
b32f6bf7d96d: Waiting
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: 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
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
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/jenkins1926778593134823661.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.26-py2.py3-none-any.whl (4.9 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.7.0-py2.py3-none-any.whl (31 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: py, distlib, filelock, zipp, importlib-metadata, appdirs, six, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f5c38dcc3d0>
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 #639

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

Changes:


------------------------------------------
[...truncated 28.27 KB...]
af14b6c2f878: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
989e6b19a265: Pull complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
af14b6c2f878: Pull complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5730404869074525658.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3448302255850358043.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7507951678047797297.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
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
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/jenkins4458242255726035415.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.26-py2.py3-none-any.whl (4.9 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.7.0-py2.py3-none-any.whl (31 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: appdirs, distlib, zipp, importlib-metadata, filelock, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fb641fd0d10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.67s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #638

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

Changes:


------------------------------------------
[...truncated 28.51 KB...]
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3497759340695078005.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3156381645969088901.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2806539795524618977.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8063888513608136339.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2596128950004518304.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.26-py2.py3-none-any.whl (4.9 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.7.0-py2.py3-none-any.whl (31 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: appdirs, filelock, distlib, six, zipp, importlib-metadata, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f647d5e8b90>
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.61s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #637

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

Changes:

[github] Create CI jobs for branch-4.11


------------------------------------------
[...truncated 31.89 KB...]
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
a2726e1e2770: Verifying Checksum
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6015563189214966726.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4671208805769840231.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4725405855605088390.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8268228006891624720.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.26-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: filelock, zipp, importlib-metadata, distlib, appdirs, six, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7f42ebd6ba50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #636

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

Changes:

[github] Bump Python client version: 4.12.0-alpha-0

[github] Release note 4.11 note

[github] Add slack-digest script which generates per channel digest emails to …


------------------------------------------
[...truncated 27.60 KB...]
e9afc4f90ab0: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
029629755bc9: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4089894345274176829.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
ad8248c33afb: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1561751470963229142.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4864027705751641314.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
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
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/jenkins3221198851036903970.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.26-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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.9.0-py2.py3-none-any.whl (99 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: distlib, appdirs, six, filelock, zipp, importlib-metadata, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.26 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0'
  warnings.warn(tmpl.format(**locals()))
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 0x7fe8ef7c6c50>
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #635

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

Changes:


------------------------------------------
[...truncated 30.03 KB...]
e9afc4f90ab0: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9171477433889513201.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7704666623262019825.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8504287739808344944.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: 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/jenkins4496169315275804794.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.25-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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.9.0-py2.py3-none-any.whl (99 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: distlib, zipp, importlib-metadata, appdirs, six, filelock, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7facb94a32d0>
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.60s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #634

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

Changes:


------------------------------------------
[...truncated 25.93 KB...]
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6004110508788984281.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6338787194772162199.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4095607570261060452.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5976354061165774628.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
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: 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
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/jenkins8896505497278760607.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.25-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.7.0-py2.py3-none-any.whl (31 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)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: appdirs, six, filelock, zipp, importlib-metadata, distlib, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7f2c042e7310>
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 reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #633

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

Changes:


------------------------------------------
[...truncated 27.96 KB...]
af14b6c2f878: Verifying Checksum
af14b6c2f878: Download complete
e9afc4f90ab0: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6234446010164130903.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4550508090513271763.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6781599492882035565.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
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
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/jenkins2137393322939333990.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.25-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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 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.1-py2.py3-none-any.whl (335 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)
Installing collected packages: colorlog, zipp, importlib-metadata, py, filelock, distlib, six, appdirs, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7fc2203c6a50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #632

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

Changes:


------------------------------------------
[...truncated 26.68 KB...]
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
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/jenkins4443215303003757761.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7506556363872792000.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3219002834181541438.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
33180336d878: Verifying Checksum
33180336d878: Download complete
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins715523782665836990.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
af4b99ad9ef0: Waiting
39db0bc48c26: 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
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: 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/jenkins5992160252005305989.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.25-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: distlib, six, zipp, importlib-metadata, appdirs, filelock, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7f65cc9567d0>
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.51s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #631

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

Changes:


------------------------------------------
[...truncated 26.26 KB...]
deleted: sha256:55cd7faf82cc54d7d26dfafdb9254ccf57f522f2e24571010eae11b3259cae01
deleted: sha256:6568cd738772be2a60a8c68c999547e70da5514559d363b9cb6bc9aa02fdbffe
deleted: sha256:0a67669a81623c01b54966fc2b7596f3e8e399aaec9efb2aab165d0e0488f7fa
deleted: sha256:53f3106a7c2903f05405db9b15eaa3a56dc59f810c2a5a85820d1a237d8b351d

Total reclaimed space: 61.71MB
+ docker network prune -f --filter until=12h
+ echo 7326
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2270391554534407772.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8944472057671964568.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6766016390957276779.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1231935832250403903.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
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
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: Verifying Checksum
39db0bc48c26: 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/jenkins1498306725517721540.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.25-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: zipp, importlib-metadata, distlib, filelock, appdirs, six, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7fd0648d83d0>
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.60s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #630

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

Changes:


------------------------------------------
[...truncated 35.60 KB...]
989e6b19a265: Download complete
e9afc4f90ab0: Verifying Checksum
e9afc4f90ab0: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4456979869493206767.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
ad8248c33afb: Verifying Checksum
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5653293952190650486.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2985214923460181201.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: 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: 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/jenkins6512872626111810073.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.25-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.1-py2.py3-none-any.whl (335 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, six, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f63731462d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.58s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #629

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

Changes:


------------------------------------------
[...truncated 28.08 KB...]
e9afc4f90ab0: Verifying Checksum
e9afc4f90ab0: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
a2726e1e2770: Verifying Checksum
a2726e1e2770: Download complete
0f6c875a5369: Verifying Checksum
0f6c875a5369: Download complete
029629755bc9: Verifying Checksum
029629755bc9: Download complete
e9afc4f90ab0: Pull complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
0f6c875a5369: Pull complete
a2726e1e2770: Pull complete
029629755bc9: Pull complete
Digest: sha256:8c3b90d6eea1159930932592e1d186127cad5df7eb8b297c3cdb0ed65a55b2a2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5259113664937308471.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
75c8e90441d4: Pulling fs layer
efb90023ffe8: Pulling fs layer
ad8248c33afb: Pulling fs layer
ad8248c33afb: Waiting
efb90023ffe8: Verifying Checksum
efb90023ffe8: Download complete
5fbfb8c90ca7: Download complete
ad8248c33afb: Download complete
75c8e90441d4: Verifying Checksum
75c8e90441d4: Download complete
5fbfb8c90ca7: Pull complete
75c8e90441d4: Pull complete
efb90023ffe8: Pull complete
ad8248c33afb: Pull complete
Digest: sha256:a3d3ec8d429ddfeff5303f77049b22e1fca8d945d2a30b68920d67d793bdac89
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1821686210252311874.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
33180336d878: Verifying Checksum
33180336d878: Download complete
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins504529863767823422.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
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2003114176057233547.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 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.25-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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 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.1-py2.py3-none-any.whl (335 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: zipp, importlib-metadata, colorlog, appdirs, filelock, distlib, six, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7f607407f190>
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.52s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #628

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

Changes:


------------------------------------------
[...truncated 28.23 KB...]
ee776f0e36af: Waiting
955a532dd46c: Waiting
af14b6c2f878: Verifying Checksum
af14b6c2f878: Download complete
989e6b19a265: Verifying Checksum
989e6b19a265: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
989e6b19a265: Pull complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
7882db2cc9d4: Verifying Checksum
7882db2cc9d4: Download complete
af14b6c2f878: Pull complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4977105259089943103.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins230898101061377412.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins789834243051607151.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: Download complete
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6367736127115987789.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.25-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; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 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.1-py2.py3-none-any.whl (335 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: py, zipp, importlib-metadata, argcomplete, filelock, appdirs, six, distlib, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7fca55760450>
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.52s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #627

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

Changes:


------------------------------------------
[...truncated 27.96 KB...]
af14b6c2f878: Download complete
e9afc4f90ab0: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
5573c4b30949: Verifying Checksum
5573c4b30949: Download complete
7882db2cc9d4: Verifying Checksum
7882db2cc9d4: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7119583654450565746.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2779937047293865800.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4117228355895952229.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
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
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/jenkins3112331951735435332.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.25-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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.1-py2.py3-none-any.whl (335 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, six, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7fe569328d50>
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.62s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #626

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

Changes:


------------------------------------------
[...truncated 27.18 KB...]
989e6b19a265: Download complete
e9afc4f90ab0: Verifying Checksum
e9afc4f90ab0: Download complete
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
5573c4b30949: Download complete
7882db2cc9d4: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4906559575704571949.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6910926384281764639.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
33180336d878: Verifying Checksum
33180336d878: Download complete
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7700193721938642155.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
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: 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/jenkins1867244520836948550.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.25-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 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)
Installing collected packages: filelock, zipp, importlib-metadata, distlib, appdirs, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7f7d80e0f9d0>
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 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 #625

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

Changes:


------------------------------------------
[...truncated 27.48 KB...]
7882db2cc9d4: Verifying Checksum
7882db2cc9d4: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
af14b6c2f878: Pull complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7301427573249761246.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1301888877948819781.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
33180336d878: Verifying Checksum
33180336d878: Download complete
103e995be0a8: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6003481389547726360.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
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: 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/jenkins6631513976192801988.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.7.0-py2.py3-none-any.whl (31 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.25-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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 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 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=6bb8a69d356c63362485a3b9a5075afddf1b4667d8ccb8c39390a690c3d7522d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, six, filelock, appdirs, virtualenv, 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.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7f6f14701e10>
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 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 #624

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

Changes:


------------------------------------------
[...truncated 27.42 KB...]
7882db2cc9d4: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
e9afc4f90ab0: Pull complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8580916486732531999.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8361819685886478431.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3194558575951851572.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
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/jenkins5013239174656049745.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.1-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.25-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 zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 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)
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=27e7a0512d2749ea158524da1b09f342b16304c1a7ae2e7cd5f851c2216b194b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, py, filelock, appdirs, six, distlib, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.1 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
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 0x7f2a71cb4c90>
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 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 #623

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

Changes:


------------------------------------------
[...truncated 28.44 KB...]
ee776f0e36af: Download complete
7882db2cc9d4: Verifying Checksum
7882db2cc9d4: Download complete
955a532dd46c: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
e9afc4f90ab0: Pull complete
11a88e764313: Download complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins472208809061951374.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3482956187722477172.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4411016194110547386.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
fd4b47407fc3: Waiting
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
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/jenkins7554783085706204027.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.1-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.25-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.9.0-py2.py3-none-any.whl (99 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 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 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=efab7552db3de6ee090b98c8a5aedc12099c32e94961dbefdfa7c1ffa8370629
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, distlib, six, filelock, appdirs, 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.1 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.25 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
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 0x7f948eaf4f50>
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.50s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #622

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

Changes:

[github] Fix distributedlog Maven reactor module


------------------------------------------
[...truncated 27.68 KB...]
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
7882db2cc9d4: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7096976996065781870.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
418c773724ce: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6191568304094978867.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7834254211971285431.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
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
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
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/jenkins5162481974561813387.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.2-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.25-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=ee0c080aaf1f60dc3ea9a8a80d9ffdb34c0b0a1763f5a5dbaa981810a07f1322
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, 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.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.25 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
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 0x7fa317bcfc50>
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 #621

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

Changes:


------------------------------------------
[...truncated 26.47 KB...]
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: 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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5848134132799816583.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5499617874474748348.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9010598101912620261.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7896602550916428946.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
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/jenkins7849927930118814054.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.8.2-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.24-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 importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 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=d0ffc7fb8acbfc7bee2d6305d7ad69d895c748633288de88cd057a666c9074cb
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, distlib, filelock, six, zipp, importlib-metadata, appdirs, virtualenv, 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.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.24 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
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 0x7faea8877c10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.44s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #620

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

Changes:


------------------------------------------
[...truncated 27.78 KB...]
ee776f0e36af: Verifying Checksum
ee776f0e36af: Download complete
7882db2cc9d4: Verifying Checksum
7882db2cc9d4: Download complete
955a532dd46c: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4867150609294713971.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6602961230339673354.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3410494961466862621.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
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
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/jenkins1228929639242301759.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.8.2-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.24-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.1-py2.py3-none-any.whl (31 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.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=4bc739cde110228d2cab047824f845f62f0d71f67dd38a4b30257d2bf4a7db13
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, filelock, distlib, six, appdirs, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.24 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
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 0x7f08e4d31690>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.45s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #619

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

Changes:

[github] Change Python client version to 4.11.0

[rdhabalia] [maven-release-plugin] prepare branch branch-4.11

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


------------------------------------------
[...truncated 27.45 KB...]
5573c4b30949: Download complete
af14b6c2f878: Pull complete
7882db2cc9d4: Verifying Checksum
7882db2cc9d4: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4657372769638239426.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1879392537666807759.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8927365339276335255.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
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: 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/jenkins6985846771284617170.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 virtualenv>=14.0.0
  Downloading virtualenv-20.0.23-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.2-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=0ea237d135253689023debd6f1cd71840c154ebe7042f6cbe01f5dd4c201c718
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, six, appdirs, filelock, distlib, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.23 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
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 0x7f25d37cf090>
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 #618

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

Changes:


------------------------------------------
[...truncated 27.09 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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins274464336570635876.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8950996552233731751.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3116698605740927104.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins232324667811598489.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
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
7e2b2a5af8f6: Pull complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download 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/jenkins5878799773453418453.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.8.2-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.1-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.23-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 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 distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 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=65b85c7c7c54ada14cf669c4ccbb7bb81abff1007c4cf016976e44deaa6bce8e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, appdirs, filelock, distlib, six, virtualenv, 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.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.23 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 0x7ff0fd397250>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.70s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #617

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

Changes:


------------------------------------------
[...truncated 29.77 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2296243444713591729.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9181687867911210579.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2031170330062210291.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7692890784305773495.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
b32f6bf7d96d: Waiting
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: 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/jenkins180659729771365554.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.23-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.1-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.2-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.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=5a6f4dd93b8b9483c6350d3aac9c1c7637b1cf322bf45731775d5a0f0d7820a7
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, appdirs, zipp, importlib-metadata, six, distlib, virtualenv, 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.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.23 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 0x7f4d1944f550>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 4.12s
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 #616

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

Changes:

[github] [BOOKIE-SHELL] Add cmd to change bookie-address into ledger metadata


------------------------------------------
[...truncated 12.32 KB...]
root       194     2     0   Jan 14  0.0  0.0 [edac-poller]
root       195     2     0   Jan 14  0.0  0.0 [devfreq_wq]
root       196     2     0   Jan 14  0.0  0.0 [watchdogd]
root       199     2     0   Jan 14  0.0  0.0 [kswapd0]
root       200     2     0   Jan 14  0.0  0.0 [kswapd1]
root       201     2     0   Jan 14  0.0  0.0 [kworker/u67:0]
root       202     2     0   Jan 14  0.0  0.0 [kworker/u68:0]
root       203     2     0   Jan 14  0.0  0.0 [kworker/u69:0]
root       204     2     0   Jan 14  0.0  0.0 [ecryptfs-kthrea]
root       246     2     0   Jan 14  0.0  0.0 [kthrotld]
root       248     2     0   Jan 14  0.0  0.0 [acpi_thermal_pm]
root       257     2     0   Jan 14  0.0  0.0 [ipv6_addrconf]
root       266     2     0   Jan 14  0.0  0.0 [kstrp]
root       283     2     0   Jan 14  0.0  0.0 [charger_manager]
root       341     2     0   Jan 14  0.0  0.0 [scsi_eh_0]
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       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      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      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      1568     1  1568   May 15  0.0  0.0 /lib/systemd/systemd-logind
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      2530     2     0   Jun 04  0.0  0.0 [loop3]
root      2611     1  2611   Jun 04  0.0  0.0 /usr/lib/snapd/snapd
root      2779     2     0   Feb 04  0.0  0.0 [dio/sda3]
root      3013     2     0 15:01:23  0.0  0.0 [kworker/1:0]
root      3444     2     0 18:14:29  0.0  0.0 [kworker/5:1]
systemd+  3687     1  3687   Jun 04  0.0  0.0 /lib/systemd/systemd-resolved
root      4643     2     0   Jun 17  0.0  0.0 [kworker/4:0]
root      5371     2     0   Jun 17  0.0  0.0 [kworker/14:1]
root      5850     1  5850   May 26  0.0  0.0 /lib/systemd/systemd-udevd
root      6177     2     0 02:39:49  0.0  0.0 [kworker/16:2]
root      6981     2     0 12:16:38  0.0  0.0 [kworker/u65:1]
root      7949     2     0 08:09:37  0.0  0.0 [kworker/0:2]
root      8449     2     0 10:09:57  0.0  0.0 [kworker/16:0]
root      8851     2     0 12:09:18  0.0  0.0 [kworker/22:1]
root      9155     2     0 08:11:25  0.0  0.0 [kworker/8:0]
root      9225     2     0 05:09:36  0.0  0.0 [kworker/3:2]
root     10106     2     0 08:12:59  0.0  0.0 [kworker/15:1]
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     10509     2     0 09:09:35  0.0  0.0 [kworker/18:2]
root     10553     2     0   Jun 17  0.0  0.0 [kworker/21:1]
root     10571     2     0   Jun 17  0.0  0.0 [kworker/15:2]
root     10683     2     0 03:39:32  0.0  0.0 [kworker/13:1]
root     10961     2     0 04:09:39  0.0  0.0 [kworker/7:0]
root     11098     2     0   Jun 09  0.0  0.0 [loop2]
systemd+ 11823     1 11823   May 26  0.0  0.0 /lib/systemd/systemd-networkd
root     11888     1 11888   May 26  0.0  0.1 /lib/systemd/systemd-journald
root     12151     2     0 02:43:59  0.0  0.0 [kworker/0:0]
root     12165     2     0 02:43:59  0.0  0.0 [kworker/6:0]
root     12481     2     0   Jun 17  0.0  0.0 [kworker/22:0]
root     13184     2     0   Apr 23  0.0  0.0 [loop4]
root     14626     2     0 11:39:29  0.0  0.0 [kworker/17:0]
root     14925     2     0 03:09:33  0.0  0.0 [kworker/5:0]
root     16532     2     0 14:40:41  0.0  0.0 [kworker/2:0]
root     16715     2     0 06:39:48  0.0  0.0 [kworker/6:1]
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     17125     2     0 23:39:46  0.0  0.0 [kworker/7:1]
root     17317     2     0 12:05:04  0.0  0.0 [kworker/u66:0]
root     17792     2     0 05:39:47  0.0  0.0 [kworker/20:0]
root     18988     2     0   Jun 17  0.0  0.0 [kworker/3:0]
root     19253     2     0 12:22:00  0.0  0.0 [kworker/u66:1]
root     20059     2     0 12:23:48  0.0  0.0 [kworker/u65:2]
root     20524     2     0 11:07:51  0.0  0.0 [kworker/2:2]
root     21437     2     0   Jun 16  0.0  0.0 [kworker/12:0]
root     21576     2     0 12:27:37  0.0  0.0 [kworker/u66:2]
root     21620     2     0   Jun 17  0.0  0.0 [kworker/23:1]
root     21981     2     0   Jun 17  0.0  0.0 [kworker/19:1]
root     22105     2     0 11:09:33  0.0  0.0 [kworker/21:2]
root     23031     2     0   Jun 17  0.0  0.0 [kworker/9:2]
root     23047     2     0 12:30:09  0.0  0.0 [kworker/u65:0]
root     23419     2     0   Jun 09  0.0  0.0 [loop7]
root     23676     2     0   Apr 30  0.0  0.0 [loop0]
root     24126     2     0   Jun 16  0.0  0.0 [loop1]
root     24240     2     0   Jun 17  0.0  0.0 [kworker/11:1]
root     24604     2     0 19:47:11  0.0  0.0 [kworker/13:0]
root     24903     2     0   Jun 17  0.0  0.0 [kworker/8:2]
jenkins  25030     1 25030   Jun 17  0.0  0.0 gpg-agent --homedir /home/jenkins/.gnupg --use-standard-socket --daemon
jenkins  25125 32387 32387 12:31:14  0.0  0.0 /bin/bash -xe /tmp/jenkins2950150147162861469.sh
jenkins  25127 25125 32387 12:31:14  0.0  0.0 bash .test-infra/scripts/pre-docker-tests.sh
root     25128     2     0 09:39:05  0.0  0.0 [kworker/1:2]
jenkins  25131 25127 32387 12:31:14  0.0  0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
root     25331     2     0 09:39:32  0.0  0.0 [kworker/14:2]
root     25844     2     0 04:39:12  0.0  0.0 [kworker/9:0]
root     27655     2     0 22:46:48  0.0  0.0 [kworker/19:2]
root     27670     2     0 22:46:48  0.0  0.0 [kworker/23:0]
root     27826     2     0 10:39:02  0.0  0.0 [kworker/4:1]
root     27960     2     0 13:12:19  0.0  0.0 [kworker/10:0]
root     27967     2     0 13:12:20  0.0  0.0 [kworker/20:4]
root     28005     1 28005   Jun 01  0.2  0.1 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
dd-agent 28317     1 28317 13:12:35  1.1  0.1 /opt/datadog-agent/bin/agent/agent run -p /opt/datadog-agent/run/agent.pid
dd-agent 28319     1 28319 13:12:35  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     28517     2     0   Jun 16  0.0  0.0 [loop5]
root     28698     1 28698 13:12:40  0.9  0.0 /opt/datadog-agent/embedded/bin/system-probe --config=/etc/datadog-agent/system-probe.yaml --pid=/opt/datadog-agent/run/system-probe.pid
root     28789     2     0 00:39:07  0.0  0.0 [kworker/11:0]
root     29266     2     0 07:40:18  0.0  0.0 [kworker/12:2]
root     30276     2     0 15:30:21  0.0  0.0 [kworker/17:2]
root     30335     2     0   Jun 17  0.0  0.0 [kworker/18:0]
root     31757   742 31757   May 23  0.0  0.0 sshd: jenkins [priv]
jenkins  31817 31757 31757   May 23  0.1  0.0 sshd: jenkins@notty
Debian-+ 31959     1 31959 18:10:03  0.0  0.0 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
root     31996     2     0 18:10:03  0.0  0.0 [kworker/10:1]
jenkins  32387 31817 32387   May 23  3.3  8.8 /home/jenkins/tools/java/latest1.8/bin/java -Xmx16g -Xms512m -jar remoting.jar -workDir /home/jenkins/jenkins-slave -jar-cache /home/jenkins/jenkins-slave/remoting/jarCache
root     32505     1 32505   Jun 16  0.1  0.0 /usr/bin/python kif.py --foreground
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 80
 Server Version: 19.03.11
 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:
1d2c153bec7617cd797420dea33470c3436f9b2e9af76b56597990aeda717130
7ff43e29aa037722a0b7db6a8c16e48ad920033fdb1bc373921bddddb2a2216f
79633a792cfa52098ba84c1322c7c571212cc5fb0ef53e5546ece7de2c921884

Total reclaimed space: 10.3GB
+ docker network prune -f --filter until=12h
+ echo 25298
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
Error response from daemon: Get https://quay.io/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
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 #615

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

Changes:


------------------------------------------
[...truncated 29.63 KB...]
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3582407514627770892.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8637324873268992401.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7070280733381667376.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1678496355105700090.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
39db0bc48c26: 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
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: 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/jenkins452848750703328648.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.1-py2.py3-none-any.whl (31 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.2-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.23-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 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=3daf592d1dabcd3a47f06b73ba7ba42a5212f0eeda73c37e85de61c2554e3061
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, py, colorlog, six, filelock, distlib, appdirs, virtualenv, 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.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.23 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 0x7f4d79fe8e50>
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.61s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #614

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

Changes:


------------------------------------------
[...truncated 26.74 KB...]
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7731870142323421632.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4460962983980971198.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
418c773724ce: Verifying Checksum
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6547702567249361040.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7785598701059542748.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
fd4b47407fc3: Waiting
39db0bc48c26: 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
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/jenkins8356325971951247930.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.23-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.2-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=5188fb74be05816483be4ccf78111602d99ef1ecd68a00c698e65ca11af54104
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, distlib, six, appdirs, 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.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.23 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 0x7fbb7188a890>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.56s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #613

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

Changes:


------------------------------------------
[...truncated 26.14 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1850648598072527746.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1385289700787757318.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7576640717954078676.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2529461893453769434.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
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/jenkins4288962831236010341.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.1-py2.py3-none-any.whl (31 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.2-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.23-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 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 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=4bffe596e7bb7161b65241dd3b7a2f9cf4ad1da45bf0d819cf157e7a649e0732
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, colorlog, argcomplete, py, distlib, six, appdirs, 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.1 nox-2020.5.24 py-1.8.2 six-1.15.0 virtualenv-20.0.23 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 0x7f4fd429a410>
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 #612

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

Changes:


------------------------------------------
[...truncated 26.08 KB...]
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8258632991350988496.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6638807719674960536.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Download complete
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7476087955684726526.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6238614317464121601.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
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
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/jenkins3495603033196257191.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 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.23-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 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=460a1af5ba4da3ebf8f2c92b91c4082189dae804eac627083ff575163fe43730
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, filelock, distlib, zipp, importlib-metadata, six, appdirs, virtualenv, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.1 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.23 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 0x7f6164623150>
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 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 #611

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

Changes:

[github] Remove lock from URManager’s state only if lock znode deletion has

[github] Ledger having a Empty segment is causing ReplicasCheck scrutiny to fail


------------------------------------------
[...truncated 29.06 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7898768085465984503.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7634492695535827756.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins707530025749262349.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7366147447821388745.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8151995703239872969.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.1-py2.py3-none-any.whl (31 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.23-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=097274c1f31169963dfb59825c39bf8cbb75d6a9bb67046fa0011a0289457191
  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.1 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.23 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 0x7f76b74d7650>
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 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 #610

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

Changes:


------------------------------------------
[...truncated 24.95 KB...]
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
a7143a8fa70816e90f7f0d985b74392ad6e435bcab2d5dd32f157ffacca74e2d

Total reclaimed space: 37.33MB
+ docker network prune -f --filter until=12h
+ echo 2500
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: 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
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4145465014828956062.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1033037230617927101.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4950803681922349003.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1216917060280943846.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
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
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/jenkins2361398978994798879.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 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.1-py2.py3-none-any.whl (31 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.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=df0261f7dd468286f9fa79b5a47b524676ca5395ae563be71d62b9b0bd536064
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, filelock, appdirs, distlib, six, virtualenv, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.1 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 0x7f3fc008d050>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user 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 #609

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

Changes:


------------------------------------------
[...truncated 27.59 KB...]
7882db2cc9d4: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
9075e1fb5d17: Verifying Checksum
9075e1fb5d17: Download complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7786811807352616065.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6599622072372519374.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Verifying Checksum
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6668521487278841404.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
39db0bc48c26: Waiting
af4b99ad9ef0: 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
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8472578548750981648.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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.1-py2.py3-none-any.whl (31 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 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 filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7c570cff5a9c9258d332b59382b8e510ab86d4aadc93df1bdfe9db147cb73ce9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, distlib, six, appdirs, filelock, 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.1 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 0x7f69cec75e10>
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 #608

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

Changes:


------------------------------------------
[...truncated 34.55 KB...]
9075e1fb5d17: Download complete
955a532dd46c: Verifying Checksum
955a532dd46c: Download complete
e9afc4f90ab0: Pull complete
11a88e764313: Verifying Checksum
11a88e764313: Download complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
11a88e764313: Pull complete
ee776f0e36af: Pull complete
9075e1fb5d17: Pull complete
7882db2cc9d4: Pull complete
955a532dd46c: Pull complete
Digest: sha256:c1e36afba1c3c230a6846801fb284cf4383a8a0080fcf32c2ec625c066c56361
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8823505554721799120.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Pulling fs layer
c16af6e4f0db: Pulling fs layer
8838231db662: Pulling fs layer
418c773724ce: Pulling fs layer
418c773724ce: Waiting
8838231db662: Verifying Checksum
8838231db662: Download complete
5fbfb8c90ca7: Verifying Checksum
5fbfb8c90ca7: Download complete
418c773724ce: Verifying Checksum
418c773724ce: Download complete
c16af6e4f0db: Verifying Checksum
c16af6e4f0db: Download complete
5fbfb8c90ca7: Pull complete
c16af6e4f0db: Pull complete
8838231db662: Pull complete
418c773724ce: Pull complete
Digest: sha256:6655d57ae9272f09839a25d0ec0d272513663d99a4ad7af8b061c83a76d10295
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8772322102885279074.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e9afc4f90ab0: Already exists
989e6b19a265: Already exists
af14b6c2f878: Already exists
5573c4b30949: Already exists
11a88e764313: Already exists
5fbfb8c90ca7: Already exists
b037f750ed71: Pulling fs layer
103e995be0a8: Pulling fs layer
33180336d878: Pulling fs layer
103e995be0a8: Verifying Checksum
103e995be0a8: Download complete
33180336d878: Verifying Checksum
33180336d878: Download complete
b037f750ed71: Download complete
b037f750ed71: Pull complete
103e995be0a8: Pull complete
33180336d878: Pull complete
Digest: sha256:17ee5577f8c7b119452eff8de16cfadb4c6b07bc51c10f671bc04ec7fbc36814
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3729834562793457202.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
39db0bc48c26: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins712874802996153591.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=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 py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 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 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=b14012a49754845fb641c9296a004042fe1cc5e7f769c6dd26ea6212b7536ed1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, distlib, filelock, six, appdirs, virtualenv, 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.1 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 0x7f546a8047d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

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


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.73s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com