You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/05/09 12:33:31 UTC
Build failed in Jenkins: bookkeeper_postcommit_master_python #576
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 #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