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

------------------------------------------
[...truncated 26.38 KB...]
root     65440     2     0 00:55:10  0.0  0.0 [kworker/5:0]
root     65444     2     0 00:55:10  0.0  0.0 [kworker/8:0]
+ docker system prune -f
Deleted Containers:
1da7e1cef5e1326337aae5ef59b7f73cbf5c198bd0c4b041e894b3c4b76ab30f
d29129eb77fe3e65ac6703e6bb4f7b56e9da9dfda0a2ce58247b7403b6a4286b
1e7cef0827b7ff5372581bade272220204c064fac0a5ec4a0d0f8970826aad4d
6e0db05834e8fb1a54ad03b8fa3b9707df87174c2e6e9b672477ec263a1c0d0b

Deleted Images:
deleted: sha256:540808e3c125dc59e7802121ba9dfaf707e7036536ea505e8df7e8985a92e57c
deleted: sha256:11d53e8ca3a8dcca6be7d22f4e790e1ded35df1ff2a0748f59e9a7f8871755b8
deleted: sha256:59130f185f200f6687a47e0717ee75e2a0bb240de6e850e48cad281138819d02
deleted: sha256:77cb00f16b05ec48fc0e41a70b152ba7141dab7a7d7107433cf80b0c89aab4b4
deleted: sha256:1fed03569e4916fbaa90649bbfa568afb93ab11b7519c66d3f47b497905361ad
deleted: sha256:4643f6cfd6235e29bd77f551d532da58f06424ab541258e1195bcc75ad84c3e4
deleted: sha256:e5a618cbbf985350dd3d736b0dac8697ef4eee13d3829e0ab7d5e116214744f2
deleted: sha256:d0957ffdf8a2ea8c8925903862b65a1b6850dbb019f88d45e927d3d5a3fa0c31
deleted: sha256:af6bf1987c2eb07d73f33836b0d8fd825d7c785273526b077e46780e8b4b2ae9

Total reclaimed space: 363.1MB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 28620
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
bdf0201b3a05: Pull complete
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6032197514614430681.sh
+ docker pull python:3.7
3.7: Pulling from library/python
e79bb959ec00: Already exists
d4b7902036fe: Already exists
1b2a72d4e030: Already exists
d54db43011fd: Already exists
69d473365bb3: Already exists
7dc3a6a0e509: Pulling fs layer
68cd774d0852: Pulling fs layer
2ef86095a118: Pulling fs layer
bd9da5a171e0: Pulling fs layer
bd9da5a171e0: Waiting
2ef86095a118: Verifying Checksum
2ef86095a118: Download complete
7dc3a6a0e509: Verifying Checksum
7dc3a6a0e509: Download complete
68cd774d0852: Verifying Checksum
68cd774d0852: Download complete
bd9da5a171e0: Verifying Checksum
bd9da5a171e0: Download complete
7dc3a6a0e509: Pull complete
68cd774d0852: Pull complete
2ef86095a118: Pull complete
bd9da5a171e0: Pull complete
Digest: sha256:67a2befe73bf0233d066496f40297602fcf288858641cc8843fb5224a2b29339
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins1986843239628832123.sh
+ docker pull python:3.6
3.6: Pulling from library/python
e79bb959ec00: Already exists
d4b7902036fe: Already exists
1b2a72d4e030: Already exists
d54db43011fd: Already exists
69d473365bb3: Already exists
35b4aebab92b: Pulling fs layer
60ddbccc0359: Pulling fs layer
0b3c337d0c3e: Pulling fs layer
dd92a33181e2: Pulling fs layer
dd92a33181e2: Waiting
0b3c337d0c3e: Verifying Checksum
0b3c337d0c3e: Download complete
35b4aebab92b: Verifying Checksum
35b4aebab92b: Download complete
60ddbccc0359: Verifying Checksum
60ddbccc0359: Download complete
dd92a33181e2: Verifying Checksum
dd92a33181e2: Download complete
35b4aebab92b: Pull complete
60ddbccc0359: Pull complete
0b3c337d0c3e: Pull complete
dd92a33181e2: Pull complete
Digest: sha256:8f15d52e09779ed8c30903c10be34106fe4270e8e82d1af464ecf4920e47e0d8
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins3496471308993650075.sh
+ docker pull python:3.5
3.5: Pulling from library/python
e79bb959ec00: Already exists
d4b7902036fe: Already exists
1b2a72d4e030: Already exists
d54db43011fd: Already exists
69d473365bb3: Already exists
35b4aebab92b: Already exists
83a8b8905f6c: Pulling fs layer
618457f5476e: Pulling fs layer
767e37494b6d: Pulling fs layer
767e37494b6d: Verifying Checksum
767e37494b6d: Download complete
618457f5476e: Verifying Checksum
618457f5476e: Download complete
83a8b8905f6c: Verifying Checksum
83a8b8905f6c: Download complete
83a8b8905f6c: Pull complete
618457f5476e: Pull complete
767e37494b6d: Pull complete
Digest: sha256:b06ebf57c44d9e5ad1a20e611d2d748b8e351e6efdf7d4471d5186ce380f8e8c
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins8501133261874304234.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:41f3a9e1357ad0479a49315a1bc21a0ddf67797db5c1ce4b8bb324e89ac58144
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins3376680280131682706.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ 
SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ 
SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper
 -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit 
python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs 
rm -rf
pip install nox
nox'
Collecting nox
  Downloading 
https://files.pythonhosted.org/packages/35/2b/47c30d3291f26fb68421fc3472875bf6ffbb4d6a507a0c8d81760a80f258/nox-2019.4.11-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/4f/ba/6f9315180501d5ac3e707f19fcb1764c26cc6a9a31af05778f7c2383eadb/virtualenv-16.5.0-py2.py3-none-any.whl
 (2.0MB)
Collecting py<2.0.0,>=1.4.0 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl
 (83kB)
Installing collected packages: colorlog, virtualenv, py, nox
Successfully installed colorlog-3.2.0 nox-2019.4.11 py-1.8.0 virtualenv-16.5.0
WARNING: You are using pip version 19.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in /opt/bookkeeper/.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 virtualenv using python in /opt/bookkeeper/.nox/lint_setup_py
pip install 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: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper 
--cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

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

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

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

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       AttributeError: module 'pymmh3' has no attribute 'hash64'

bookkeeper/common/router/router.py:30: AttributeError
=============================== warnings summary ===============================
.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47
  
/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47:
 DeprecationWarning: Using or importing the ABCs from 'collections' instead of 
from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from google.protobuf.pyext import _message

.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788
  
/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788:
 DeprecationWarning: Using or importing the ABCs from 'collections' instead of 
from 'collections.abc' is deprecated, and in 3.8 it will stop working
    collections.MutableMapping.register(Struct)

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: 
DeprecationWarning: Using or importing the ABCs from 'collections' instead of 
from 'collections.abc' is deprecated, and in 3.8 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

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


1 failed, 67 passed, 3 warnings in 3.88 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper 
--cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]

Reply via email to