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/02/26 12:33:06 UTC

Build failed in Jenkins: bookkeeper_postcommit_master_python #503

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

Changes:


------------------------------------------
[...truncated 27.79 KB...]
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
27f3323f0a58: Waiting
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:236a197a23e84e4af6fad27d26e440ed64a0cd031f0dd468202f15e413686a8f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3555816449772432678.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:79c7adcd9f863bcf46b59318d1b5fdf3dda50f1c3c61b5a854a0ea6dfbd2f965
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6514490655729723848.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:197565271848f573d8138968ca776ba9a74720f802ce0af1a08a497f72c3bbd8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3558810424828743823.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:71c7647800366d5134ba0e00922b0328b0f75a99954d12e4f425e61863bdd5a1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3608742093532807396.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7a18b5f37cf8488c5eae10e334d481da775462fd61a2503bcfac4323f1c76b14
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, six, zipp, importlib-metadata, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0d02c3ea10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #601

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

Changes:


------------------------------------------
[...truncated 22.61 KB...]
5efaeecfa72a: Pulling fs layer
db8816f44548: Pulling fs layer
5efaeecfa72a: Waiting
db8816f44548: Waiting
bb94ffe72389: Verifying Checksum
bb94ffe72389: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
5efaeecfa72a: Verifying Checksum
5efaeecfa72a: Download complete
db8816f44548: Verifying Checksum
db8816f44548: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7591814696977713861.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4306602278208770874.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Download complete
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6939758351897859075.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins526659766257943279.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=15c12488fa6940cf7b32367dbe586e478dee2e04daf90efd61f7c900132df7a7
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, filelock, appdirs, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd5c53b5510>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #600

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

Changes:

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


------------------------------------------
[...truncated 28.41 KB...]
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4612324992979881147.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4522394957096917164.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1612615950800420427.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8112118626920359091.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6106646300564517719.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ad340481a8320d8cfaa820a038be40c39a70096ef942db31649fa9600bfd0d2c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, filelock, appdirs, six, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f562991a090>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #599

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

Changes:


------------------------------------------
[...truncated 28.29 KB...]
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9217369128765291189.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2981711167281195136.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7146553277001779412.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
1ac796413945: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2002908764455863941.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4963018618410186274.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=14fb300e9df1932641dfc62693163cd23d5b32d96c36edc89dd7492db9fbf9a4
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, distlib, appdirs, six, filelock, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f22145b3490>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #598

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

Changes:

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

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

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

[github] [CLEAN] Fix missing Override annotation


------------------------------------------
[...truncated 28.21 KB...]
5c94f9cbba07: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2784257518767571569.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5694407816214515490.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2728087958812180591.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3897546191742752640.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3270130967725200786.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ba6334ddce8e5fe88e4ff1b225b952713bee5aa8fb41bb51922d771417de7590
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, filelock, six, appdirs, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd585633610>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #597

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

Changes:

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


------------------------------------------
[...truncated 29.51 KB...]
5efaeecfa72a: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
db8816f44548: Download complete
376057ac6fa1: Pull complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8917951385391188463.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8401390880793920521.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7263998909465775161.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8669281743465432515.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1fa89a0bd693271a43eafbf00c2c043b3615b358c30ecada30dea8c27a0bdd58
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, colorlog, six, filelock, distlib, appdirs, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fdab3c9e250>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #596

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

Changes:


------------------------------------------
[...truncated 27.46 KB...]
5efaeecfa72a: Download complete
db8816f44548: Verifying Checksum
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8161883475248092529.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4410966489866531226.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins238699057133217026.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8037951518431170206.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=127a59c6f98d1713b24cbc675a0f921887d54ba4e022655cf8a33b90d57205cc
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, appdirs, six, distlib, filelock, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7652568190>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #595

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

Changes:


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

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 14
 Server Version: 19.03.9
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-74-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf925.gq1.ygridcore.net
 ID: HBD6:AGHI:OEF3:D4E3:P3EU:K7IM:GYOS:TEF7:ZXYS:6LEQ:654F:SZHY
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
e8546d65b7bc1e3cf5b687da944a206d94303e05aa1280740e73b63b821ce2b5
fd50e58aab58badab0316c1b1de5558e582bc9221e4ad18421ae373e52befc39
7f56c9a29beb008084d146496a15c3b948fb34ef5729f23f00305b804607c144

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

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

Build failed in Jenkins: bookkeeper_postcommit_master_python #594

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

Changes:

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

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

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


------------------------------------------
[...truncated 28.66 KB...]
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7420106777177907760.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2940296445417267804.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3572427495090270213.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6665769843597390715.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=c3c86dc433bb0e3eba4301228a4cbcfcbf0c55dbf6de4f2d2e85360cffef0e96
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, six, zipp, importlib-metadata, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f14720acb10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #593

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

Changes:


------------------------------------------
[...truncated 27.31 KB...]
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6765766568603106629.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5405494205516947318.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4788861110893184165.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
39db0bc48c26: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8829330867446294460.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2020.5.24-py3-none-any.whl (42 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1f19626de4f9df3ca94648799673283770aeb9a3031d83a96da2e102a78a481f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, colorlog, appdirs, filelock, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2020.5.24 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe2f3403410>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #592

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

Changes:


------------------------------------------
[...truncated 28.55 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4454659307857137914.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5991824669075466845.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7322019661820219437.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5650931784128466939.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7990227343085775153.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1cf4ff0fa8b250aab65f6b5b36958df5c4b9c9866bebd4399b966f524266f46e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, distlib, appdirs, six, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7feabea20850>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #591

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

Changes:

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

[github] [BUG] Fix flaky testLedgerOpenAfterBKCrashed


------------------------------------------
[...truncated 28.49 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2920025473702567781.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6340218285276797256.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2228448624297541836.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8027171755639700344.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5371544612959645702.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=e310d8eb1f1da08e263e6f2ddcfa6e38bd7273669ae6b0d57d9110a7a29a22b5
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, filelock, zipp, importlib-metadata, distlib, appdirs, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f522392e8d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #590

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

Changes:


------------------------------------------
[...truncated 27.70 KB...]
db8816f44548: Waiting
bb94ffe72389: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
5efaeecfa72a: Download complete
db8816f44548: Verifying Checksum
db8816f44548: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins338116401837121171.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7838487045063816884.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins951677713246802388.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1984766049075596172.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d34544533f669e58fc858a7687c21f362da65c048e6db60b6503ce1915eb612f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, appdirs, six, distlib, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc2e2690410>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #589

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

Changes:


------------------------------------------
[...truncated 30.76 KB...]
5efaeecfa72a: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
db8816f44548: Verifying Checksum
db8816f44548: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3630154740984869045.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5421425589151539149.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8004523064165427649.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6204532385944283281.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=a6e2b67c6c671b140251c62522fc048681d94bb098dc262c62b156fb373e65b8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, distlib, filelock, six, appdirs, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.15.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f94a3e4d710>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #588

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

Changes:


------------------------------------------
[...truncated 25.13 KB...]
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

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

Total reclaimed space: 37.27MB
+ docker network prune -f --filter until=12h
+ echo 31030
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7039620761490560100.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8935939241583910355.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins848534422457566164.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins271613094179010195.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3870958043897148836.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ba1fbd5f68689f4d24b59669b7f0fb48cee990631c8917e9f7642af6e477e3b0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, six, distlib, filelock, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f4bfc9a8550>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #587

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

Changes:


------------------------------------------
[...truncated 38.64 KB...]
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6345546402528127155.sh
+ docker pull python:3.7
3.7: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
bb94ffe72389: Already exists
70d0b3967cd8: Already exists
5efaeecfa72a: Already exists
db8816f44548: Pulling fs layer
db8816f44548: Download complete
db8816f44548: Pull complete
Digest: sha256:00759a433cfec8c420688d4d0f941bc789d84bd248cda8d8ece7c2a93554eac2
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1594461567983778385.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
9ee0bf59b9af: Pulling fs layer
9ee0bf59b9af: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
9ee0bf59b9af: Verifying Checksum
9ee0bf59b9af: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
9ee0bf59b9af: Pull complete
Digest: sha256:5ad282921c5b8d811a8c589f4ee0d52ebfc98b5c88b9e098b8f1543f2ec64cc1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8570091637885955008.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
f7a49f195c3d: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
f7a49f195c3d: Verifying Checksum
f7a49f195c3d: Download complete
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
f7a49f195c3d: Pull complete
Digest: sha256:7f04b2fc6b9dc03d7721a156b30dea45c17bd454bc9d33df9dc5d40ee43099c8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2407775244187553666.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8056074858063549671.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=60d2f9891e24426ffdc684b3ccf4f7a6d12416907de3f5a7a090b08003480707
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, appdirs, filelock, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.21 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1dbf2c1290>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #586

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

Changes:

[github] Fix wrong module artifactId

[github] QuorumCoverage should only count unknown nodes

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

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

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

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


------------------------------------------
[...truncated 39.67 KB...]
5efaeecfa72a: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
3019a0b2f7ee: Verifying Checksum
3019a0b2f7ee: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7341425286939888997.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
577496009285: Waiting
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
577496009285: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7466936932041933420.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
da28730232a9: Download complete
b76996fb94b4: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9087883560804343072.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3631786439494212214.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=0ef6829b0fb2bae27eef19e3230c07e9656e141b1ba017863963856fe354064f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, distlib, six, filelock, appdirs, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
WARNING: You are using pip version 20.1; however, version 20.1.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fce1d230dd0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #585

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

Changes:


------------------------------------------
[...truncated 23.58 KB...]
5efaeecfa72a: Download complete
2adae3950d4d: Verifying Checksum
2adae3950d4d: Download complete
3019a0b2f7ee: Download complete
376057ac6fa1: Pull complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1698858405873019234.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
577496009285: Verifying Checksum
577496009285: Download complete
caceeaa356b1: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2975634708044492826.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
b76996fb94b4: Verifying Checksum
b76996fb94b4: Download complete
da28730232a9: Verifying Checksum
da28730232a9: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1683005948436870130.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1507171394116671643.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d0cf0bbeb40fba605fd74da83dfaa05a27b9a7698ff99c9de6c2e899d85ea089
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, six, appdirs, zipp, importlib-metadata, filelock, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe4ad11a1d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #584

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

Changes:

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

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

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


------------------------------------------
[...truncated 31.83 KB...]
70d0b3967cd8: Download complete
3019a0b2f7ee: Verifying Checksum
3019a0b2f7ee: Download complete
376057ac6fa1: Pull complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6339364543634056205.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
577496009285: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
577496009285: Verifying Checksum
577496009285: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5484360342321432496.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
da28730232a9: Download complete
b76996fb94b4: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7524034217119573919.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8833019438561854636.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1b4acc3ea2c8310e78ad0b35c5061eb73e4db12407d043c0687f6fc51c4c75d4
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, filelock, appdirs, six, distlib, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fbea5031110>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #583

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

Changes:


------------------------------------------
[...truncated 27.68 KB...]
3019a0b2f7ee: Verifying Checksum
3019a0b2f7ee: Download complete
70d0b3967cd8: Verifying Checksum
70d0b3967cd8: Download complete
0ed5a9824906: Verifying Checksum
0ed5a9824906: Download complete
376057ac6fa1: Pull complete
5a63a0a859d8: Pull complete
496548a8c952: Pull complete
2adae3950d4d: Pull complete
0ed5a9824906: Pull complete
bb94ffe72389: Pull complete
70d0b3967cd8: Pull complete
5efaeecfa72a: Pull complete
3019a0b2f7ee: Pull complete
Digest: sha256:9e62ed9c85dd7e4972ae5bde9b6c9cb0e98080292aec2ad1f51556a5d37b4d22
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7711857011834595007.sh
+ docker pull python:3.6
3.6: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Pulling fs layer
caceeaa356b1: Pulling fs layer
3042686705e2: Pulling fs layer
577496009285: Pulling fs layer
577496009285: Waiting
3042686705e2: Verifying Checksum
3042686705e2: Download complete
5b382e7c893f: Verifying Checksum
5b382e7c893f: Download complete
577496009285: Verifying Checksum
577496009285: Download complete
5b382e7c893f: Pull complete
caceeaa356b1: Verifying Checksum
caceeaa356b1: Download complete
caceeaa356b1: Pull complete
3042686705e2: Pull complete
577496009285: Pull complete
Digest: sha256:8cc6c1cc60119b002b28cbfb768ece3a4ae89b86b55f32335d7982d3a74a1166
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3201791496193918201.sh
+ docker pull python:3.5
3.5: Pulling from library/python
376057ac6fa1: Already exists
5a63a0a859d8: Already exists
496548a8c952: Already exists
2adae3950d4d: Already exists
0ed5a9824906: Already exists
5b382e7c893f: Already exists
1ac796413945: Pulling fs layer
da28730232a9: Pulling fs layer
b76996fb94b4: Pulling fs layer
da28730232a9: Verifying Checksum
da28730232a9: Download complete
b76996fb94b4: Verifying Checksum
b76996fb94b4: Download complete
1ac796413945: Verifying Checksum
1ac796413945: Download complete
1ac796413945: Pull complete
da28730232a9: Pull complete
b76996fb94b4: Pull complete
Digest: sha256:483cd9debc08438d1bd77fd57b6c25a89497d8da252062bfe998720cc890a72c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1625775542814681826.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3422938827378921671.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8b6cf492aa66f640bb4a15aa5aee1c382364460806c08cd1c2bea5e4ea3173c6
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, appdirs, six, distlib, filelock, zipp, importlib-metadata, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb2f43aa250>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #582

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

Changes:


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

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

Build failed in Jenkins: bookkeeper_postcommit_master_python #581

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

Changes:


------------------------------------------
[...truncated 31.69 KB...]
74e27dc593d4: Download complete
a8034acd5893: Verifying Checksum
a8034acd5893: Download complete
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:5393a912e2d17cd657149ce5dfeb9675eff8282401ff1da3744be1f2bec7c283
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6928333031985329169.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:a1fa8516d9598bc801e6e7d7a20ef52b1b2e993dbe491d03b538f679979c5647
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5836966520381088006.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:afdcd179c2c03e06dedf4f4a278e5e060ca963d0ffd59c7490d89b6b6940cb5f
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2561135303634763148.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins75214567774751156.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=463e474428a462a1380e7d1d22591f504dacc86f427c5049a5b369bed19a93c2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, six, filelock, zipp, importlib-metadata, distlib, appdirs, virtualenv, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1f58043d50>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #580

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

Changes:


------------------------------------------
[...truncated 31.04 KB...]
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
90fe46dd8199: Pull complete
4352dcff7819: Download complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6530796142699758388.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1445950896918000553.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5707581856607403521.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2450375473043472872.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=851b2244257e8c3c64217bc690d7542cf55bad726148aa8445bcfafb8defb5d5
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, six, appdirs, zipp, importlib-metadata, distlib, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7efd13120ad0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #579

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

Changes:


------------------------------------------
[...truncated 32.74 KB...]
5ae88975c1eb: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins275139163113738166.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8195013153730428626.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4142847903065983266.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2574815191832538094.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=23e50d7e9a074802e888f416e98be2ebe325ed104258bdc2b6a1f835ff313ca8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, appdirs, filelock, distlib, six, virtualenv, py, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa60b817d10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #578

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

Changes:


------------------------------------------
[...truncated 29.93 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins933574123800107427.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins715988353099004717.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3972480586662878165.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7882028968600118293.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4677029006153197777.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2cc52bc76d8eba7ed9ecd9908efe9be8f175f87b883950440672df792d91d49e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, colorlog, appdirs, six, distlib, filelock, virtualenv, nox
Successfully installed appdirs-1.4.4 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ffa26933050>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #577

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

Changes:


------------------------------------------
[...truncated 33.84 KB...]
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3514268397988738815.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4854222028398306650.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4768667465760567285.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7602461018580796819.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=f53bdcc683960c0e767a931e622a72956101bd297286c5f687bfcaf346b8cbf1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, distlib, six, zipp, importlib-metadata, appdirs, filelock, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc88c9d6a10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #576

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

Changes:


------------------------------------------
[...truncated 30.98 KB...]
bbc37f14aded: Pull complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3477699313702993063.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5054523204935635449.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8474872989560581593.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3857961581968132547.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=9521654900750eac3c273d5b8d4699c03a29e11f499826c9191e1b97d5049a9a
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, appdirs, zipp, importlib-metadata, filelock, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f400b4afc50>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #575

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

Changes:


------------------------------------------
[...truncated 31.18 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2176105258436010171.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins437986085215798024.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6654844720976479472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6551132781775510060.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2415787624688746481.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=4401d59b62c94c3182c27d1d8d6dc53f37df3e188fa30d7ca60800b10918c446
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, distlib, appdirs, zipp, importlib-metadata, filelock, six, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9a5bdfbcd0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #574

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

Changes:

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


------------------------------------------
[...truncated 35.74 KB...]
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
a8034acd5893: Verifying Checksum
a8034acd5893: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2056978354422921494.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3699586526895490045.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins885344277178172900.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2337791820087433954.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=6c7dd661cf633e59a9ecb54aa20abc5793eec5b5a3c74fa2395413692c22d73e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: appdirs, distlib, filelock, six, zipp, importlib-metadata, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa2c4a16790>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #573

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

Changes:

[github] Do not download SNAPSHOT during GitHub actions checks


------------------------------------------
[...truncated 31.23 KB...]
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
90fe46dd8199: Pull complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5063443840242267368.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5505680357026770676.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8589868218171141894.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
b32f6bf7d96d: Waiting
af4b99ad9ef0: Waiting
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6379675462273023630.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=14cbdcc0714ae4ef1bfd0028b0022d1bfda7adfe745bf6983e68e0a1eb8e553c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, six, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0e835f0590>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #572

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

Changes:


------------------------------------------
[...truncated 47.41 KB...]
a8034acd5893: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
1aa33568be24: Download complete
90fe46dd8199: Pull complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins329848875993299270.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3596880797388273592.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5344720469012629970.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4820928749160411754.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=19fc846037bdf5bdd2a1696a81eb6be4b640409ab5e89f1fd37ce57af9315d06
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f58816c9a90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #571

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

Changes:

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

[github] Rerun the failed tests by comments


------------------------------------------
[...truncated 24.62 KB...]
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins330144879597476756.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9003605728330912984.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
f77fd7e47fdc: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4470522464257182430.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5276412288067498723.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.20-py2.py3-none-any.whl (4.7 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b8a1bad3d7c60596ff5fc3cfc87fc4766f8a02d273887efba9598a213093c321
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, colorlog, filelock, appdirs, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.20 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f326ba15710>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #570

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

Changes:


------------------------------------------
[...truncated 31.31 KB...]
a8034acd5893: Download complete
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1868243683396091256.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6376025151488735865.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5761832533773229097.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
39db0bc48c26: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6567616479433159755.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=3cf46ab15d9ed73c6547e50616dbc8c949caf7444280ce5bada610828271ce39
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, colorlog, filelock, distlib, six, appdirs, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f72958e0d10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #569

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

Changes:

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

[github] [DOC] SSLContextFactory -> TLSContextFactory


------------------------------------------
[...truncated 29.55 KB...]
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2473484529947776218.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2913944596132874631.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
b2851aedc5c4: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4244058481643308515.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
7e2b2a5af8f6: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7287709710950278474.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2c6ece96ef2636b3124c66b411447dcf66fd10c0395af66ee695937d118e68f2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, appdirs, filelock, six, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f36330562d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #568

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

Changes:


------------------------------------------
[...truncated 28.81 KB...]
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

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

Total reclaimed space: 36.93MB
+ docker network prune -f --filter until=12h
+ echo 27986
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4060805993602432548.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6918079194887616077.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8463741039700201556.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8884552219446771505.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
acb4a89489fc: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5267082545749123568.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=c928011abcb773b1ff40adc15c568da7b54d795f381b68eb7dabce43b9a55266
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, six, filelock, appdirs, distlib, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f523c2616d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #567

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

Changes:


------------------------------------------
[...truncated 30.16 KB...]
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6931641642940993154.sh
+ docker pull python:3.7
3.7: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
deb569b08de6: Already exists
1aa33568be24: Already exists
a8034acd5893: Already exists
5ae88975c1eb: Pulling fs layer
5ae88975c1eb: Verifying Checksum
5ae88975c1eb: Download complete
5ae88975c1eb: Pull complete
Digest: sha256:0032cd9c0542133c8c9dc79fb25992203b6dd2bf4c9ff9f6b5f09298061a867c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6754430061782214432.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
730abf0e8db7: Pulling fs layer
730abf0e8db7: Waiting
423a225c2f8b: Download complete
1847e662e737: Download complete
730abf0e8db7: Verifying Checksum
730abf0e8db7: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
730abf0e8db7: Pull complete
Digest: sha256:6764f8b6c2ff721353de23cbd999206bb1afcb88735c16cb20c97ca92ed075f4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins457839503569836420.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
f77fd7e47fdc: Pulling fs layer
b2851aedc5c4: Download complete
f77fd7e47fdc: Verifying Checksum
f77fd7e47fdc: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
f77fd7e47fdc: Pull complete
Digest: sha256:1a67359fdf62bbd31029a302f5fb305b4f1d4eb394f1cd561eb00b7498f056e9
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1161099563891650262.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
af4b99ad9ef0: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins961390410694604799.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=5180e624097b69d17a1a9bbd8394d2dc1654f9857ea12433d93e4aeabe768592
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, filelock, six, appdirs, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb235f63250>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #566

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

Changes:


------------------------------------------
[...truncated 31.26 KB...]
7dfa9b763153: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2596788234031355184.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7497407240966563794.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7471232507487958066.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
af4b99ad9ef0: Waiting
39db0bc48c26: Waiting
6f4489a7e4cf: Waiting
fd4b47407fc3: Waiting
acb4a89489fc: Waiting
b32f6bf7d96d: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins582958044214974234.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ba4f9c062fa1f2e8871d89e4aa9d7ab03c77dd25e3e6ad24357e62892fb0489b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, appdirs, distlib, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
WARNING: You are using pip version 20.0.2; however, version 20.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f22ea9262d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #565

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

Changes:


------------------------------------------
[...truncated 31.54 KB...]
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4093351898551487008.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9109160552056740483.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
2829336fe587: Verifying Checksum
2829336fe587: Download complete
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3510835935189552577.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
39db0bc48c26: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8429633998849139627.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7819eeded141f2953d6311e7846a80416c50f403d625d396d918b7108e3767dc
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, zipp, importlib-metadata, six, appdirs, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f69b37b3750>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #564

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

Changes:


------------------------------------------
[...truncated 143.68 KB...]
a8034acd5893: Pulling fs layer
7dfa9b763153: Pulling fs layer
a8034acd5893: Waiting
7dfa9b763153: Waiting
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8162174764056274101.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2899909835630220851.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8683778180791822362.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Waiting
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
6f4489a7e4cf: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6571210566997275906.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=00a51d463ac06fff265363ccaa883cccd63d29dfbe08a71be65fa4c8799e1858
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, appdirs, zipp, importlib-metadata, distlib, six, filelock, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fbdd554ec10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #563

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

Changes:


------------------------------------------
[...truncated 28.63 KB...]
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 27897
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3422872534812558504.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4540852313252850632.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2595554100487110907.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1455773840006047045.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Pulling fs layer
09b6f03ffac4: Pulling fs layer
dc3f0c679f0f: Pulling fs layer
fd4b47407fc3: Pulling fs layer
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
6f4489a7e4cf: Waiting
b32f6bf7d96d: Waiting
acb4a89489fc: Waiting
39db0bc48c26: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Download complete
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1769590929821634437.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7ceeeb49ab3867f60e6a1b2e5ec2b8de785ae5668c4a0e38fa088996d648480d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, distlib, six, appdirs, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2953e06f90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #562

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

Changes:


------------------------------------------
[...truncated 31.25 KB...]
7dfa9b763153: Waiting
35a4f1977689: Verifying Checksum
35a4f1977689: Download complete
bbc37f14aded: Verifying Checksum
bbc37f14aded: Download complete
90fe46dd8199: Verifying Checksum
90fe46dd8199: Download complete
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
74e27dc593d4: Verifying Checksum
74e27dc593d4: Download complete
a8034acd5893: Verifying Checksum
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
4352dcff7819: Verifying Checksum
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins402913399639363328.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6262385273787869746.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Verifying Checksum
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8490813716483246160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6360699935546785626.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=59caf92658ed0ecf979bc59d9f5a2d3ef7d3f1d1544d61b1896f9a437e3ddd5f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, filelock, six, distlib, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff86c1a9bd0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #561

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

Changes:


------------------------------------------
[...truncated 30.59 KB...]
74e27dc593d4: Waiting
4352dcff7819: Waiting
deb569b08de6: Waiting
a8034acd5893: Waiting
1aa33568be24: Waiting
35a4f1977689: Verifying Checksum
35a4f1977689: Download complete
bbc37f14aded: Download complete
90fe46dd8199: Verifying Checksum
90fe46dd8199: Download complete
deb569b08de6: Verifying Checksum
deb569b08de6: Download complete
74e27dc593d4: Verifying Checksum
74e27dc593d4: Download complete
a8034acd5893: Download complete
1aa33568be24: Verifying Checksum
1aa33568be24: Download complete
7dfa9b763153: Verifying Checksum
7dfa9b763153: Download complete
4352dcff7819: Download complete
90fe46dd8199: Pull complete
35a4f1977689: Pull complete
bbc37f14aded: Pull complete
74e27dc593d4: Pull complete
4352dcff7819: Pull complete
deb569b08de6: Pull complete
1aa33568be24: Pull complete
a8034acd5893: Pull complete
7dfa9b763153: Pull complete
Digest: sha256:c209d997172c1153038322ee99c59b760d5f7662a4b41a485c6c3ec52d5de6a1
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3132657422221607240.sh
+ docker pull python:3.6
3.6: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Pulling fs layer
11d40aa4a4d0: Pulling fs layer
423a225c2f8b: Pulling fs layer
b3cdb3cfe4ca: Pulling fs layer
b3cdb3cfe4ca: Waiting
423a225c2f8b: Verifying Checksum
423a225c2f8b: Download complete
1847e662e737: Verifying Checksum
1847e662e737: Download complete
b3cdb3cfe4ca: Verifying Checksum
b3cdb3cfe4ca: Download complete
11d40aa4a4d0: Verifying Checksum
11d40aa4a4d0: Download complete
1847e662e737: Pull complete
11d40aa4a4d0: Pull complete
423a225c2f8b: Pull complete
b3cdb3cfe4ca: Pull complete
Digest: sha256:284b4e8f979a5ed0fb08e2c0bdf2578218e3a1a7cc5c176fb9cd0ebb316b9d95
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6987938562901419601.sh
+ docker pull python:3.5
3.5: Pulling from library/python
90fe46dd8199: Already exists
35a4f1977689: Already exists
bbc37f14aded: Already exists
74e27dc593d4: Already exists
4352dcff7819: Already exists
1847e662e737: Already exists
5c85edc8ef84: Pulling fs layer
b2851aedc5c4: Pulling fs layer
2829336fe587: Pulling fs layer
b2851aedc5c4: Verifying Checksum
b2851aedc5c4: Download complete
2829336fe587: Verifying Checksum
2829336fe587: Download complete
5c85edc8ef84: Download complete
5c85edc8ef84: Pull complete
b2851aedc5c4: Pull complete
2829336fe587: Pull complete
Digest: sha256:8816684b6227bd7e0ed76bae1b2feb6afc2aa80b629a7938da5e591ced5ba6af
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5479940060512044896.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2462189431951053992.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=fd975fefa0f443ac57364000adfb0519ff0eac1705bb27c2f0531c3cb41edb3b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: appdirs, six, zipp, importlib-metadata, filelock, distlib, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc4a858d950>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #560

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

Changes:


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

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 68
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-76-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

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

Total reclaimed space: 36.89MB
+ docker network prune -f --filter until=12h
+ echo 46637
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3120676144357240020.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:57a79a87aa1cbbff53191ba877d9fc1d1d7669466f365f1590c31cb569be9ccc
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2118005398162113997.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:0c3e95e962af1bcaa0b945fcaa499de4a152dd1da2860e70f4686dcb759a08f5
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4549814743586186485.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:c29d8442e404ec84f3f73bf09f651f8ff08fb7548112f8314c524006c9872926
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1273103604669725068.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6263283047943685167.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1390f420a1f5a2b0bed191503a4007121aac326b53ff247b4d467337c0632eae
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, appdirs, zipp, importlib-metadata, distlib, six, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f79dc8e8750>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #559

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

Changes:

[github] Force to use Python grpcio less then 1.26.0

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

[github] Add forkCount option to parallelize build and tests

[github] Fix mistakes in documentation

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


------------------------------------------
[...truncated 29.62 KB...]
cb2305d99f70: Waiting
cdb74912a692: Waiting
0d421afb0db0: Waiting
fd4b47407fc3: Waiting
dd31e6a9a00f: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
0d421afb0db0: Verifying Checksum
0d421afb0db0: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
cdb74912a692: Download complete
dd31e6a9a00f: Verifying Checksum
dd31e6a9a00f: Download complete
cb2305d99f70: Verifying Checksum
cb2305d99f70: Download complete
bb7b28578995: Verifying Checksum
bb7b28578995: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
bb7b28578995: Pull complete
0d421afb0db0: Pull complete
dd31e6a9a00f: Pull complete
cdb74912a692: Pull complete
cb2305d99f70: Pull complete
Digest: sha256:d04bfd739021a596a89451260e4ff6e7f250d9a52877f52d391f72e43e54cb58
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4888576259251285855.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
bb7b28578995: Already exists
6ebea4a9a306: Pulling fs layer
22a2327cd1ca: Pulling fs layer
bfbf91c84bbe: Pulling fs layer
f6b29b259c5c: Pulling fs layer
f6b29b259c5c: Waiting
bfbf91c84bbe: Download complete
6ebea4a9a306: Verifying Checksum
6ebea4a9a306: Download complete
f6b29b259c5c: Verifying Checksum
6ebea4a9a306: Pull complete
22a2327cd1ca: Verifying Checksum
22a2327cd1ca: Download complete
22a2327cd1ca: Pull complete
bfbf91c84bbe: Pull complete
f6b29b259c5c: Pull complete
Digest: sha256:d235ef613d6f8f2e313cb2e8bfc281a5680f4f7cb38329abb24815a0350484a7
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7970369573749030208.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
bb7b28578995: Already exists
6ebea4a9a306: Already exists
871d9990e307: Pulling fs layer
c0d9b59741f6: Pulling fs layer
97beb6ee6e1d: Pulling fs layer
c0d9b59741f6: Verifying Checksum
c0d9b59741f6: Download complete
97beb6ee6e1d: Verifying Checksum
97beb6ee6e1d: Download complete
871d9990e307: Verifying Checksum
871d9990e307: Download complete
871d9990e307: Pull complete
c0d9b59741f6: Pull complete
97beb6ee6e1d: Pull complete
Digest: sha256:c5f6a2954682c44e831e54068d5b2f1aeb83a63ea4e1cac6e4448ed4208d22e6
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5551346247968716507.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Pulling fs layer
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
39db0bc48c26: Waiting
acb4a89489fc: Waiting
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
b32f6bf7d96d: Download complete
b32f6bf7d96d: Pull complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins17609041487901854.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=70c255fb9a13e50322176ef5346cf6125ef4c132f81d40467e24e4b0710860e1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, six, distlib, zipp, importlib-metadata, appdirs, filelock, virtualenv, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff1d2efee10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #558

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

Changes:


------------------------------------------
[...truncated 30.62 KB...]
cabba05798b6: Pulling fs layer
abe267d9b00c: Pulling fs layer
b327ce3e08b8: Pulling fs layer
b32f6bf7d96d: Waiting
b327ce3e08b8: Waiting
cabba05798b6: Waiting
abe267d9b00c: Waiting
3940e1b57073: Waiting
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
3940e1b57073: Verifying Checksum
3940e1b57073: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
abe267d9b00c: Download complete
cabba05798b6: Verifying Checksum
cabba05798b6: Download complete
b327ce3e08b8: Verifying Checksum
b327ce3e08b8: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
3940e1b57073: Pull complete
cabba05798b6: Pull complete
abe267d9b00c: Pull complete
b327ce3e08b8: Pull complete
Digest: sha256:8f90a1f400c9ae15c14d0b81d89a8b2667c45e2d84304ae63a5242990bc8da60
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7584148033830278193.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Verifying Checksum
128c8ba918f2: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
32cd559ee9c9: Verifying Checksum
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:1a80ec65cb05795c261598164a1516e8277343ec66e35f51af08ffe79d00f7e0
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4713698617166186973.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
8121095ea7c0: Verifying Checksum
8121095ea7c0: Download complete
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:4290c6894eb09550ff03601b9d3d6e7c59783f9bf861d7f47a705116ecd241ee
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6741799901353611845.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
6f4489a7e4cf: Pulling fs layer
af4b99ad9ef0: Pulling fs layer
39db0bc48c26: Pulling fs layer
acb4a89489fc: Pulling fs layer
acb4a89489fc: Waiting
39db0bc48c26: Verifying Checksum
39db0bc48c26: Download complete
6f4489a7e4cf: Download complete
af4b99ad9ef0: Verifying Checksum
af4b99ad9ef0: Download complete
acb4a89489fc: Verifying Checksum
acb4a89489fc: Download complete
6f4489a7e4cf: Pull complete
af4b99ad9ef0: Pull complete
39db0bc48c26: Pull complete
acb4a89489fc: Pull complete
Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins142465133106361360.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ad8ebf7694ff684a4abc090f975464c4dd935e37d023fa276995c91af520635b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, filelock, appdirs, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fdb0b3dd650>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #557

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

Changes:


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

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

Total reclaimed space: 37.33MB
+ docker network prune -f --filter until=12h
+ echo 7868
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7505715905172910164.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6538090977833071811.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Download complete
32cd559ee9c9: Verifying Checksum
32cd559ee9c9: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2376360716074752061.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
8121095ea7c0: Verifying Checksum
8121095ea7c0: Download complete
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1833839395993187742.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1546749144811163610.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1cf9427ccf7ac9fc77a24a98b636f9917f9ffd4c1cbeb25d52a30860d2caf03c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, appdirs, six, distlib, filelock, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8c99438c50>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #556

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

Changes:


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

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 36
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-76-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

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

Total reclaimed space: 37.33MB
+ docker network prune -f --filter until=12h
+ echo 19150
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2069558882761954079.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2492940605881796192.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6358418831377038486.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6956283916810282909.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1937721559106160203.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=13ed163b4e805e97462f702327323f25c0da1597e031d8d50f10ce67e6461ed5
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, distlib, appdirs, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f32f308b2d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #555

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

Changes:


------------------------------------------
[...truncated 30.28 KB...]
b32f6bf7d96d: Pulling fs layer
3940e1b57073: Pulling fs layer
cabba05798b6: Pulling fs layer
abe267d9b00c: Pulling fs layer
b327ce3e08b8: Pulling fs layer
fd4b47407fc3: Waiting
b32f6bf7d96d: Waiting
b327ce3e08b8: Waiting
3940e1b57073: Waiting
abe267d9b00c: Waiting
cabba05798b6: Waiting
09b6f03ffac4: Download complete
dc3f0c679f0f: Verifying Checksum
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
3940e1b57073: Verifying Checksum
3940e1b57073: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
abe267d9b00c: Verifying Checksum
abe267d9b00c: Download complete
cabba05798b6: Verifying Checksum
b327ce3e08b8: Verifying Checksum
b327ce3e08b8: Download complete
7e2b2a5af8f6: Pull complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
3940e1b57073: Pull complete
cabba05798b6: Pull complete
abe267d9b00c: Pull complete
b327ce3e08b8: Pull complete
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins775160849349138000.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Verifying Checksum
128c8ba918f2: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
32cd559ee9c9: Verifying Checksum
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins465373938426374445.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
8121095ea7c0: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3547610706514892561.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
6f4489a7e4cf: Pulling fs layer
8ccb09bbf0df: Pulling fs layer
9d9d367dd180: Pulling fs layer
a120787b5ce8: Pulling fs layer
6f4489a7e4cf: Verifying Checksum
6f4489a7e4cf: Download complete
9d9d367dd180: Download complete
8ccb09bbf0df: Verifying Checksum
8ccb09bbf0df: Download complete
a120787b5ce8: Verifying Checksum
a120787b5ce8: Download complete
6f4489a7e4cf: Pull complete
8ccb09bbf0df: Pull complete
9d9d367dd180: Pull complete
a120787b5ce8: Pull complete
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5453356667747756162.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b59951e0eb07c9e1bef28c3452f08fc51ffcff6ccf5c55ae452329353fb0c8f6
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, filelock, appdirs, distlib, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f92d1e5b090>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #554

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

Changes:


------------------------------------------
[...truncated 29.66 KB...]
cabba05798b6: Pulling fs layer
abe267d9b00c: Pulling fs layer
b327ce3e08b8: Pulling fs layer
fd4b47407fc3: Waiting
3940e1b57073: Waiting
b32f6bf7d96d: Waiting
cabba05798b6: Waiting
abe267d9b00c: Waiting
b327ce3e08b8: Waiting
09b6f03ffac4: Verifying Checksum
09b6f03ffac4: Download complete
dc3f0c679f0f: Download complete
7e2b2a5af8f6: Verifying Checksum
7e2b2a5af8f6: Download complete
fd4b47407fc3: Verifying Checksum
fd4b47407fc3: Download complete
3940e1b57073: Verifying Checksum
3940e1b57073: Download complete
abe267d9b00c: Download complete
cabba05798b6: Verifying Checksum
cabba05798b6: Download complete
b327ce3e08b8: Verifying Checksum
b327ce3e08b8: Download complete
b32f6bf7d96d: Verifying Checksum
b32f6bf7d96d: Download complete
7e2b2a5af8f6: Pull complete
09b6f03ffac4: Pull complete
dc3f0c679f0f: Pull complete
fd4b47407fc3: Pull complete
b32f6bf7d96d: Pull complete
3940e1b57073: Pull complete
cabba05798b6: Pull complete
abe267d9b00c: Pull complete
b327ce3e08b8: Pull complete
Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6879340064352799611.sh
+ docker pull python:3.6
3.6: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Pulling fs layer
49bf40fd39f2: Pulling fs layer
685d91195d65: Pulling fs layer
32cd559ee9c9: Pulling fs layer
32cd559ee9c9: Waiting
685d91195d65: Verifying Checksum
685d91195d65: Download complete
128c8ba918f2: Verifying Checksum
128c8ba918f2: Download complete
32cd559ee9c9: Verifying Checksum
32cd559ee9c9: Download complete
49bf40fd39f2: Verifying Checksum
49bf40fd39f2: Download complete
128c8ba918f2: Pull complete
49bf40fd39f2: Pull complete
685d91195d65: Pull complete
32cd559ee9c9: Pull complete
Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7201072190673537418.sh
+ docker pull python:3.5
3.5: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
128c8ba918f2: Already exists
fb713448aed2: Pulling fs layer
8121095ea7c0: Pulling fs layer
33b5bdf8d390: Pulling fs layer
8121095ea7c0: Download complete
33b5bdf8d390: Verifying Checksum
33b5bdf8d390: Download complete
fb713448aed2: Verifying Checksum
fb713448aed2: Download complete
fb713448aed2: Pull complete
8121095ea7c0: Pull complete
33b5bdf8d390: Pull complete
Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3116286554867462082.sh
+ docker pull python:2.7
2.7: Pulling from library/python
7e2b2a5af8f6: Already exists
09b6f03ffac4: Already exists
dc3f0c679f0f: Already exists
fd4b47407fc3: Already exists
b32f6bf7d96d: Already exists
6f4489a7e4cf: Pulling fs layer
8ccb09bbf0df: Pulling fs layer
9d9d367dd180: Pulling fs layer
a120787b5ce8: Pulling fs layer
a120787b5ce8: Waiting
6f4489a7e4cf: Download complete
9d9d367dd180: Verifying Checksum
9d9d367dd180: Download complete
8ccb09bbf0df: Verifying Checksum
8ccb09bbf0df: Download complete
a120787b5ce8: Verifying Checksum
a120787b5ce8: Download complete
6f4489a7e4cf: Pull complete
8ccb09bbf0df: Pull complete
9d9d367dd180: Pull complete
a120787b5ce8: Pull complete
Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7852083626912148744.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=dba3427c617898500c4d48914fbb9b7ce437ca42036631e5d8ad2249f17e4267
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, six, filelock, zipp, importlib-metadata, appdirs, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8aefbd22d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #553

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

Changes:


------------------------------------------
[...truncated 31.15 KB...]
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
2447a2c11907: Waiting
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Waiting
fe4ee39b9471: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:521cc815dc19d00c9ece65a6edaecba7e1a6b206eeb118c201b67153b6d3439b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7039247835586614835.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:a97974cc986895042c21cd1dfd493bfa0c74d877f4d86817f646487a3d2a7f45
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins816731172858966282.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:db14d8f6f960582a29f2986ddeb3904db01ea4afefab6f7548e1781b2afd8dd5
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins11517765965823087.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:15dd48896f8879fe2d4bcf00acf89a6bbb7da2cb31c2753cafd22a848e251c2d
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2646971827264690614.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1da6e2972b54f357490d5e52d110002bc3a4725797fa77eb30c41c8e800d1910
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, appdirs, filelock, six, zipp, importlib-metadata, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f16da9d3510>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #552

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

Changes:


------------------------------------------
[...truncated 29.10 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1836660899041800747.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4117768609600809543.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9117436853533281979.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2889153134032929491.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins650472020082172762.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=db4035dd9336ad4efe18557b972226a55f41900c1d53cd7c1c1591867e062ee9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, six, filelock, distlib, appdirs, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1db54f3890>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #551

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

Changes:


------------------------------------------
[...truncated 28.42 KB...]
74ab1130643b: Pulling fs layer
f01ec562c947: Waiting
77e905403eac: Pulling fs layer
2447a2c11907: Waiting
77e905403eac: Waiting
fe4ee39b9471: Waiting
74ab1130643b: Waiting
fdd2d569da3e: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Verifying Checksum
b998346ba308: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2412670544288021937.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4586431673008395738.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9055253107158083179.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9151550828715875987.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=fc06b8ff94c47dac38808e2da1352f34efaf2d8a1e26970653a7bebf9d87f2c8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, distlib, filelock, six, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2fcc054090>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #550

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

Changes:

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


------------------------------------------
[...truncated 29.34 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8863327135177238908.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5592086991667341366.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4655423388816596418.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7657954808342408688.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2464835211852051512.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1891232e8ec6b7d50e0880c32b1b5d114c8761c455fc89c28521d783fba1c3e2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, zipp, importlib-metadata, filelock, appdirs, distlib, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f19f99170d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #549

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

Changes:


------------------------------------------
[...truncated 28.00 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1845989466462329176.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1029105031829570455.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins250624335873915501.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9057576230572268286.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6107239083808036648.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=30506dcdd13b99cb04df20995a4445768eee452b6a6f640294534a6287ed0101
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, appdirs, six, filelock, distlib, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe9bba79a50>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #548

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

Changes:


------------------------------------------
[...truncated 30.50 KB...]
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
f01ec562c947: Waiting
fe4ee39b9471: Waiting
74ab1130643b: Waiting
77e905403eac: Waiting
2447a2c11907: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins145342647776761709.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8394736931572477135.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3263572938880289656.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4741214633449926768.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7851c95b4c86cbe82434a23ebf394cea88faf92cd0b43e8027e494d73ca12bed
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, zipp, importlib-metadata, filelock, appdirs, six, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f6ef3621b10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #547

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

Changes:


------------------------------------------
[...truncated 27.97 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7711608361316692603.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5791350937788190885.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8540934391898330124.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8913661469271901734.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8357837153387248936.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.17-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=86f63ecdca514c300028c6dc16fa0a7cdebb131c4c7137a33b091ecdae7b0573
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, filelock, six, appdirs, zipp, importlib-metadata, distlib, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.17 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb2b12f1b90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #546

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

Changes:


------------------------------------------
[...truncated 29.92 KB...]
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6955240348976334811.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9051991469643414144.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6326597967891605199.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2766458950413615613.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2755682672791752780.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7142babb7f81b9e90b1bad38939bd6f0d006a29974b7e2ae33e2bd068c47908c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, six, appdirs, distlib, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fccfef102d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #545

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

Changes:


------------------------------------------
[...truncated 29.30 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins521187471679594270.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4156340317240441313.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7735317335168166545.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4873764175328935469.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
0bd90bd78729: Pull complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5651755590468827562.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=222c3d62910a41611c38cdbe9363a883e4778907c31c34ae5b7ff1cf98ad782f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, six, zipp, importlib-metadata, filelock, appdirs, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f311bbb7e10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #544

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

Changes:


------------------------------------------
[...truncated 29.82 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6090697841074246760.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8962182812532367818.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3262991217656567496.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins810387466585633001.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2374772278250179791.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=61fc5542b9d2ccb94bc028b4f51fa087c4bbbd89e0cd8c0253504d3aaf8d9ea8
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, six, filelock, distlib, appdirs, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc465d0e5d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #543

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

Changes:


------------------------------------------
[...truncated 28.08 KB...]
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1305554391460995333.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5002138258434091326.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5523964103981264718.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8235446041530179811.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Pull complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9213605691952826428.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=339c2a8780903e5864256550544b5baa212ddb7c9a7c6101470274552428034a
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, filelock, six, distlib, appdirs, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f703851af90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #542

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

Changes:


------------------------------------------
[...truncated 31.57 KB...]
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8827378240207645800.sh
+ docker pull python:3.7
3.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Pulling fs layer
fdd2d569da3e: Pulling fs layer
fe4ee39b9471: Pulling fs layer
74ab1130643b: Pulling fs layer
77e905403eac: Pulling fs layer
77e905403eac: Waiting
74ab1130643b: Waiting
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
77e905403eac: Download complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4073197498766207854.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7773064850531971891.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1517365384009828963.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4687632763451279008.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=35befbd2d759c5b05c01081856482dfb23a6cb7bbe96a4fe396eeecdf2533042
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, appdirs, six, filelock, virtualenv, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f31979d9990>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #541

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

Changes:


------------------------------------------
[...truncated 28.00 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6113220916960956350.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8525811635315045584.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4981478418174499748.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins908090173628188057.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6127913343606452059.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.16-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7011054a4c61d7cd0cd674ae799621f1fbcabbd10c0b7f418400efb211a13157
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, zipp, importlib-metadata, six, filelock, appdirs, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.16 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa046d73950>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #540

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

Changes:


------------------------------------------
[...truncated 30.79 KB...]
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-76-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf937.gq1.ygridcore.net
 ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

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

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

Total reclaimed space: 665.5MB
+ docker network prune -f --filter until=12h
+ echo 62138
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8469791532323073068.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9120354105040201407.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3050836062588190005.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2882507139064280418.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8470925614747437517.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=29b43d05ad90fe3545ced934b2739ade0df4b04ba428e58e25858ab1d81329fa
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, distlib, filelock, six, appdirs, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fce1ed73190>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #539

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

Changes:


------------------------------------------
[...truncated 32.87 KB...]
77e905403eac: Pulling fs layer
fe4ee39b9471: Waiting
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Waiting
f01ec562c947: Waiting
2447a2c11907: Waiting
b998346ba308: Verifying Checksum
b998346ba308: Download complete
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
f15005b0235f: Verifying Checksum
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Verifying Checksum
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
2447a2c11907: Download complete
f15005b0235f: Pull complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2503156263904553844.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9213417955108175157.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7408919207901229466.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5404176080608228260.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=ae2a3e529e3df3aeca0c4530a3f0afaeec896a8df971c0919b3a8a1d8ecfbc08
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, distlib, six, appdirs, filelock, virtualenv, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5242c01790>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #538

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

Changes:

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


------------------------------------------
[...truncated 34.87 KB...]
77e905403eac: Pulling fs layer
74ab1130643b: Waiting
77e905403eac: Waiting
fdd2d569da3e: Waiting
fe4ee39b9471: Waiting
f01ec562c947: Waiting
2447a2c11907: Waiting
41ebfd3d2fd0: Verifying Checksum
41ebfd3d2fd0: Download complete
b998346ba308: Verifying Checksum
b998346ba308: Download complete
f15005b0235f: Download complete
fdd2d569da3e: Verifying Checksum
fdd2d569da3e: Download complete
f01ec562c947: Verifying Checksum
f01ec562c947: Download complete
74ab1130643b: Download complete
fe4ee39b9471: Verifying Checksum
fe4ee39b9471: Download complete
77e905403eac: Verifying Checksum
77e905403eac: Download complete
f15005b0235f: Pull complete
2447a2c11907: Verifying Checksum
2447a2c11907: Download complete
41ebfd3d2fd0: Pull complete
b998346ba308: Pull complete
f01ec562c947: Pull complete
2447a2c11907: Pull complete
fdd2d569da3e: Pull complete
fe4ee39b9471: Pull complete
74ab1130643b: Pull complete
77e905403eac: Pull complete
Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8538114494295396797.sh
+ docker pull python:3.6
3.6: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Pulling fs layer
f651e23d51f3: Pulling fs layer
469e71af0b61: Pulling fs layer
b860a1a9fd72: Pulling fs layer
b860a1a9fd72: Waiting
469e71af0b61: Verifying Checksum
469e71af0b61: Download complete
da3a3213d74f: Verifying Checksum
da3a3213d74f: Download complete
b860a1a9fd72: Verifying Checksum
b860a1a9fd72: Download complete
f651e23d51f3: Verifying Checksum
f651e23d51f3: Download complete
da3a3213d74f: Pull complete
f651e23d51f3: Pull complete
469e71af0b61: Pull complete
b860a1a9fd72: Pull complete
Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7250766082372480452.sh
+ docker pull python:3.5
3.5: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
da3a3213d74f: Already exists
a62993dd1d33: Pulling fs layer
89c8d9531936: Pulling fs layer
6af1ef6c5fe5: Pulling fs layer
89c8d9531936: Verifying Checksum
89c8d9531936: Download complete
6af1ef6c5fe5: Verifying Checksum
6af1ef6c5fe5: Download complete
a62993dd1d33: Verifying Checksum
a62993dd1d33: Download complete
a62993dd1d33: Pull complete
89c8d9531936: Pull complete
6af1ef6c5fe5: Pull complete
Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7440316105805137404.sh
+ docker pull python:2.7
2.7: Pulling from library/python
f15005b0235f: Already exists
41ebfd3d2fd0: Already exists
b998346ba308: Already exists
f01ec562c947: Already exists
2447a2c11907: Already exists
0bd90bd78729: Pulling fs layer
a124f24dcf32: Pulling fs layer
35b012b3251a: Pulling fs layer
2f528e6d62a0: Pulling fs layer
2f528e6d62a0: Waiting
35b012b3251a: Verifying Checksum
35b012b3251a: Download complete
0bd90bd78729: Verifying Checksum
0bd90bd78729: Download complete
a124f24dcf32: Verifying Checksum
a124f24dcf32: Download complete
2f528e6d62a0: Verifying Checksum
2f528e6d62a0: Download complete
0bd90bd78729: Pull complete
a124f24dcf32: Pull complete
35b012b3251a: Pull complete
2f528e6d62a0: Pull complete
Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3745579990651637041.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d0d7037716f6d7f235b5ce78193a0e35c8c5fc04e029e07f4b51010b0845b943
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, appdirs, distlib, six, filelock, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9dd9ed9ed0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #537

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

Changes:


------------------------------------------
[...truncated 31.20 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7687363229692853435.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:c80cc1f57431fc70aebf667fb7ee6b5ebaa3a7232bd8b8639bb5b33c63619036
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4525736728239225687.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:b1a2752a106a1bd3bf8054c6f262c28a10e4b0f19904a314f7bed1607b527089
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8924740846390576816.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:71f653e24f9fa9869ae4f4ee1c8886608c18656ca83ec1259de5b5146fb2a0c0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6764627984039169489.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:0889f29061bf000c04eec60d608510ef7c2bbe12a32058fad5d77fe325d717d4
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2134806815220710412.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b7da842b1bbd466d9c28fd9cbf30295af9e0cd57a207c94921e72cf3a477a531
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, filelock, appdirs, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc6f0c63850>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #536

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

Changes:

[github] Unable to enable TLS if using v2 protocol

[github] Allow build on JDK14 - upgrade Groovy compiler


------------------------------------------
[...truncated 28.69 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2789588999724527026.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6965875275842464992.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5518185363343486147.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3289105861353625266.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3630179518481107358.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d00d6c19d57e8b31b101d08a5fc094355ab453e76fcc214449111102d6fc6430
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, filelock, distlib, appdirs, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f98fe217090>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #535

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

Changes:


------------------------------------------
[...truncated 29.29 KB...]
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
94cdd3612287: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
55769680e827: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6368605921785827921.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6801636556042830622.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2234280181695437076.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins302866941830790403.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=50bc6fece7738e224ece111345b09a3928ec10a31aca659caf795d9ce1811160
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, zipp, importlib-metadata, appdirs, six, filelock, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7726a25ad0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #534

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

Changes:


------------------------------------------
[...truncated 28.27 KB...]
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
e01b42ee5411: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3519576313691757009.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3302595253007225107.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8706569057320673583.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins260930779483809613.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=dc6c54a5517348b54f5ad6ec2ec79a08a08acd0891525452a7b12353efd02121
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, distlib, appdirs, filelock, six, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd341e5a650>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #533

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

Changes:


------------------------------------------
[...truncated 32.52 KB...]
c85513200d84: Pulling fs layer
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
94cdd3612287: Waiting
f5e195d50b88: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Pull complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
c85513200d84: Pull complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9190487793483185787.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7231686097853655938.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1093720143577322395.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7099350088463864466.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d9870b4fedaf82947e8fe6ef6aae8f0296f4fda98e03f17372a0fbdc7f2bbd8c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, six, distlib, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5ec4d7bf90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #532

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

Changes:


------------------------------------------
[...truncated 29.48 KB...]
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6434442992736744284.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins421974233490549985.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3514841969624951877.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3158067806973504702.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1108905872264985155.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.14-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.2-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=33b6ae0bd9b67801a5d04f98db71059d37e7cf3edcb260ff9f6357866a38db0d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, appdirs, zipp, importlib-metadata, six, filelock, distlib, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.2 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.14 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1519eb6b90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #531

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

Changes:

[github] Update Arquillian Cube to 1.18.2


------------------------------------------
[...truncated 28.41 KB...]
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
94cdd3612287: Waiting
e01b42ee5411: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins103356485318095007.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7724477847514759179.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4481676581832850230.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6340740797733646559.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.14-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=3e1577f001d2ef204dec0be01caceda95ca7e8b4c18c06f47cdae9d120a10352
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, filelock, zipp, importlib-metadata, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.14 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2a25086450>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #530

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

Changes:

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


------------------------------------------
[...truncated 28.44 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1609614563234671082.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8127054440535250429.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4541874990473869423.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4001654008460581056.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3025453197155754438.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b65325d8b02b8f11a95d8627635ec884a7ec00c293273dcd35ece954cb5c346f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, appdirs, six, distlib, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f46d78e2f90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #529

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

Changes:

[github] Remove old Jenkins stuff (#2293)

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


------------------------------------------
[...truncated 30.44 KB...]
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6785201021122528875.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3992754725942198052.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1403074824540223690.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6174944503929830553.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1958185679217755369.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=207de66e471f2c91adb09ca326c064061062cf3ca8d9f6672e85ba4bed55e841
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, filelock, zipp, importlib-metadata, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff8ff882490>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #528

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

Changes:


------------------------------------------
[...truncated 27.94 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins339552585044123242.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9072841325592939373.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins618277858535224480.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9217896360063373809.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3364804302055482331.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=a9418c57a8e05867c3fa8277f0c24150e8f86aaf6be24afe5eafe0d174826f46
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, six, distlib, appdirs, filelock, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2d1e33f290>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #527

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

Changes:


------------------------------------------
[...truncated 32.82 KB...]
f6d53d5a5c86: Pulling fs layer
94cdd3612287: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
55769680e827: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3703823530980365559.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6258038483242294531.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5721778352620324388.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7856902793526136629.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=19bcaec90c4d2144c69549ae29f00cf218d06da54b26c475344f238dfc652ccd
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, filelock, distlib, six, appdirs, virtualenv, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f159e4eb410>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #526

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

Changes:


------------------------------------------
[...truncated 27.04 KB...]
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2287520372936992136.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5706495731303246501.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6398268466883562078.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5701819711088172955.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8787794954882073515.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=4548ced89de5042e0738a557c5fd538de59f9e82858f3e3d88206feddc751494
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, zipp, importlib-metadata, filelock, appdirs, six, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc53ed63290>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #525

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

Changes:

[github] Update Prometheus library to 0.8.1

[github] fix some stats monitor metrics

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

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

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

[github] 2279 fix NPE when exec readjournal command


------------------------------------------
[...truncated 28.23 KB...]
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4930797111877999352.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3912285461366983476.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2867914551420165160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8251629366466155446.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.12-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=9fab676fa33b6e5e6e7eb7dfe047a664bf387ff00a09a9e5dd3a7e27ceb66d5d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, appdirs, filelock, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.12 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f47ff2a0dd0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #524

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

Changes:


------------------------------------------
[...truncated 31.80 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2535053866578777983.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
044dee574de1: Waiting
f6d53d5a5c86: Waiting
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5631143233953534685.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2674501885185558388.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins605830309201843786.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins623513343012598436.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=60651b68fb63f445bddf88d4a9074493ff1ccd1f2fff6426a847eb355bdb82f0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, zipp, importlib-metadata, six, appdirs, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa908100290>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #523

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

Changes:


------------------------------------------
[...truncated 28.33 KB...]
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
e01b42ee5411: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7639793080775366047.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1074530821241589603.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins895772744108915609.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3764819897595082809.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=93d334ac083fd5b0b3d9f1de2c825739b20504b197611285358fd35a54d39f9e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5b6d9a5f10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #522

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

Changes:


------------------------------------------
[...truncated 31.09 KB...]
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
e01b42ee5411: Waiting
f6d53d5a5c86: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8488685799688595714.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins897716746137354347.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1318800071085405423.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8608855279376368195.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=66112c6f5acfdd2f0d56ab6c38a6a9d6d75162a7b1a372b88b5aafb23662a138
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5bdca0c250>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #521

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

Changes:


------------------------------------------
[...truncated 26.95 KB...]
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5058291409927841964.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7445591090310953660.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4879950543726193852.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5355554297776826292.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9024437424776128429.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=17d10e6a5dc98c149cd6719291aba2f5b836416bc5def6c5d802678e34b25f0f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, filelock, six, appdirs, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f07f726af90>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #520

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

Changes:


------------------------------------------
[...truncated 26.82 KB...]
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3619200814765335270.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins390400166777567625.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2059816635437513749.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5589132591548839822.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7359191057542052847.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=59a7eba3f3c2ec54c432ed10d64f21ff69907f1d961176a94abfce294b46f6b9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, distlib, filelock, appdirs, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9b53ac9ed0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #519

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

Changes:


------------------------------------------
[...truncated 23.90 KB...]
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
94cdd3612287: Waiting
e01b42ee5411: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
55769680e827: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2740960992669624993.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6404461485832703414.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4836041708321225160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6581910713292033228.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8d775c6dcc781d42ed68881bd76873984e58e30afe61f6e908ff4af32f76831b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, filelock, six, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa36c37a050>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #518

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

Changes:


------------------------------------------
[...truncated 28.11 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5738336280643805356.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8254838561979847580.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7071916302856785366.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins136839087620625732.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=81708c4cf850d54874c1cdd4a61467313532c58c376a37dbd022d3fc91ce44b3
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fda2a767950>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #517

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

Changes:

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


------------------------------------------
[...truncated 28.29 KB...]
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins528773698619876868.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
94cdd3612287: Already exists
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
044dee574de1: Verifying Checksum
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8045648095382508927.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4465621640180474159.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3470634620681705162.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5986594557756374454.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=375e9669242037c77c6ec67b4e7d5b5cc1f903b12cde42408f5b642c53f2e714
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, filelock, distlib, six, zipp, importlib-metadata, appdirs, virtualenv, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8776668d10>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #516

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

Changes:


------------------------------------------
[...truncated 28.37 KB...]
+ echo 55757
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4944298625230830868.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1183574445111153574.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1293559038665399601.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6443521124171228608.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6652426180807053148.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=f43be0768993e789e31ec47bb5c02c243995b94c6113fc256002544a976091d2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, distlib, six, appdirs, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f846b9479d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #515

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

Changes:

[github] Fixes vertx can not receive the request body


------------------------------------------
[...truncated 28.28 KB...]
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Waiting
b45109600839: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6233680592801842967.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7932446300700261637.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6172721652967247852.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8407621450637645914.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=547531502729d7a7ae1900d4e8ed888a3cfd98e2aa84c3628c9964b3a150256d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, filelock, distlib, six, appdirs, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f427d5ae850>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #514

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

Changes:

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


------------------------------------------
[...truncated 31.18 KB...]
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
f5e195d50b88: Waiting
b45109600839: Waiting
e0c7a90c35ea: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7680831273462003202.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2400716155123434271.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3735505400176913834.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7903434257847834074.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1254d467844d199f8b57dc96b46833c5f31e48113a53d925adf338e4d784b687
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, six, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0b4c283710>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #513

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

Changes:


------------------------------------------
[...truncated 26.79 KB...]
Total reclaimed space: 28.76MB
+ docker network prune -f --filter until=12h
+ echo 10650
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins300005567571521272.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5187826384799106724.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3140214044711884109.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins184106143507982036.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7051877162053105045.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=0c015b166e43fd7c8a59fe8cf2eea4f015b9a60a5ff3c9b34e7a8ac94a6d7002
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, appdirs, zipp, importlib-metadata, six, distlib, filelock, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb6f954d2d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #512

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

Changes:

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

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


------------------------------------------
[...truncated 28.32 KB...]
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
b45109600839: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
e0c7a90c35ea: Waiting
f5e195d50b88: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7578504196207250273.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4993251614856579472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8096198194904190126.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9014197422332148762.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=67a7c72030b507f2fe6dd8077f863dc286daf237172bdc3813162a210ad0c1b2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8fcfaed110>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #511

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

Changes:


------------------------------------------
[...truncated 27.64 KB...]
+ docker network prune -f --filter until=12h
+ echo 39480
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins344572533978425928.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins474933200091005079.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7997122056490704511.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3848827570815019681.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2430162448213695098.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=eb2f1e8c38be4c643692d4a0b12e42e5bdd194477836ff2ac780e26352c0bb66
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, zipp, importlib-metadata, filelock, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f23d30396d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #510

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

Changes:


------------------------------------------
[...truncated 28.85 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
e0c7a90c35ea: Waiting
b45109600839: Waiting
55769680e827: Waiting
97fb33d206b1: Waiting
f5e195d50b88: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3414623527220110655.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3269575229573248851.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1141988904426805275.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins323580023122222374.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=fd9b2e7bff8734e263c0ec11c21dd6b6c4843ad842324832a6317d04d382e967
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, appdirs, distlib, six, filelock, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0de2d48910>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #509

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

Changes:


------------------------------------------
[...truncated 28.33 KB...]
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Waiting
97fb33d206b1: Waiting
b45109600839: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8861579772053981526.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6665026529360056576.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5198310217175068955.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins841920989146054248.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=e0295a0865d6e9aee21cd650ca3c9e77bea3d8443db3fefb490451d6cffc1b90
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe009560690>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #508

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

Changes:


------------------------------------------
[...truncated 27.88 KB...]
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins263786976723120476.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1732093889187151892.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5107654659128655461.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2095648020187305319.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8882094029122191158.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=729bf896ae40ba1f3ec071ccb45746a8ac787ca2d602eef0c8876bcdf1b8ce75
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, appdirs, zipp, importlib-metadata, six, filelock, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8a1ab6e350>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #507

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

Changes:


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

Total reclaimed space: 35.66MB
+ docker network prune -f --filter until=12h
+ echo 15870
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8588687430370293370.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins841409942201632387.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2415066030375554151.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins273412266875703843.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2131144658123772454.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1be3e9b70feef37db804ef99ada9a7a06efb7d8088f981666251dff7cf8321ec
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, filelock, appdirs, six, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f4022efc9d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #506

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

Changes:


------------------------------------------
[...truncated 28.14 KB...]
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2121541356491746996.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
97fb33d206b1: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
e0c7a90c35ea: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2711582999148354856.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8277844788328622417.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins576870520982648721.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7844084260463921918.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8f2126878a65abb23cc2fcc016c04d1e82f7a43da5fc06eef4628c9a58b9645b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc0639bb7d0>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #505

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

Changes:


------------------------------------------
[...truncated 30.08 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
f5e195d50b88: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
e0c7a90c35ea: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4142341632062789869.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4372831873391894468.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2593714087073931713.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6188257155043280802.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7e569f8275ee555e378316237d3e55206e2ca5d3e2bfd8a112e19a9cc1737d05
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, filelock, appdirs, distlib, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5e29962f50>
key = 'foo'

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

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

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

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

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


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

Build failed in Jenkins: bookkeeper_postcommit_master_python #504

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

Changes:


------------------------------------------
[...truncated 31.39 KB...]
c85513200d84: Pulling fs layer
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
b45109600839: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7170093718321710103.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7239047432965387895.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2091408957692749883.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7908436933363976516.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
Collecting nox
  Downloading nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=25237c3b2643e5c5d3f26e08062f2592e46a7df2367e9bc45c109354db0d46e0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f67c9f823d0>
key = 'foo'

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

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

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

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

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


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