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

Changes:


------------------------------------------
[...truncated 27.33 KB...]
Total reclaimed space: 37.07MB
+ docker network prune -f --filter until=12h
+ echo 23287
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See 
https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for 
more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins7773506921706610909.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins1854177759083231429.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins7483282723763460294.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins4888233763401472735.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins5314134443565705866.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.4-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl 
size=340427 
sha256=46d0963f904831e4cd798f42b1ef64a9b65f717c93dfa49b1075326aaf8a46c9
  Stored in directory: 
/root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, 
distlib, six, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 
distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 
six-1.14.0 virtualenv-20.0.4 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but 
unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 
79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 
> 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485:
 UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, 
this may not work as expected with newer versions of setuptools, pip, and PyPI. 
Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper 
--cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

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

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

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

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

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

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

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

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


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

Reply via email to