See 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/206/display/redirect?page=changes>

Changes:

[github] Added HTTP handler to expose bookie state

------------------------------------------
[...truncated 22.89 KB...]
root     26192     2     0 10:20:54  0.0  0.0 [kworker/2:1]
root     26247     2     0   Oct 24  0.0  0.0 [kworker/16:1H]
daemon   26844     1 26844   Oct 24  0.0  0.0 /usr/sbin/atd -f
root     26882     2     0   Oct 24  0.0  0.0 [kworker/19:1H]
root     26885     2     0 05:02:11  0.0  0.0 [kworker/21:1]
root     27462     2     0 04:15:59  0.0  0.0 [kworker/20:0]
root     27472     2     0 04:15:59  0.0  0.0 [kworker/6:2]
root     27588     2     0   Oct 31  0.0  0.0 [loop5]
root     27848     2     0 05:03:16  0.0  0.0 [kworker/8:1]
root     28415     2     0 05:03:30  0.0  0.0 [kworker/16:2]
root     28429     2     0 05:03:30  0.0  0.0 [kworker/u64:0]
root     28802     2     0   Mar 29  0.0  0.0 [loop7]
jenkins  30295     1  3743   Dec 03  0.0  0.0 docker system events
root     30511     2     0   Apr 29  0.0  0.0 [loop8]
root     30725     2     0   May 03  0.0  0.0 [kworker/3:2]
root     30770     1 30770   Apr 29  0.0  0.0 /usr/lib/snapd/snapd
root     30894     1 30894   Oct 24  0.6  0.1 /usr/bin/dockerd -H fd://
root     30920 30894 30920   Oct 24  0.1  0.0 docker-containerd -l 
unix:///var/run/docker/libcontainerd/docker-containerd.sock 
--metrics-interval=0 --start-timeout 2m --state-dir 
/var/run/docker/libcontainerd/containerd --shim docker-containerd-shim 
--runtime docker-runc
root     31151 25095 31151   Apr 13  0.0  0.0 sshd: jenkins [priv]
jenkins  31175 31151 31151   Apr 13  0.1  0.0 sshd: jenkins@notty
jenkins  31181 31175 31181   Apr 13  0.0  0.0 bash -c cd 
"/home/jenkins/jenkins-slave" && /home/jenkins/tools/java/jdk1.8.0_131/bin/java 
-Xmx8g -Xms1g -jar remoting.jar -workDir /home/jenkins/jenkins-slave
jenkins  31182 31181 31181   Apr 13  1.7  3.3 
/home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g -jar remoting.jar 
-workDir /home/jenkins/jenkins-slave
root     32133     2     0 01:07:19  0.0  0.0 [kworker/22:0]
+ docker system prune -f
Deleted Containers:
9bc70dadc009e15c5539c968510e8d1b14ea5e0522e7d655d31380833565c33b
7a71f3c0afb69a0912b87ff5730da728628d27fd07caf84d367049bd277e7c6a
987ac0701cf1d8541e96b3e006bf86633bd424c8ca80155ef6618e8dc12feb66
63fd346a8ef47554bf21d391617b503525ad5800dd22ad6265ed2db5f1002550
c0c8406098081b36bda86bfadbefef7c4e245436467a0e13451007cdeb819e56
a93d5b2a71a98b01a670f2413100ce763d57d52a08f0ac528b9f5fa40a5c3737

Deleted Networks:
testnetwork_21b86086-75fb-44ea-9b57-8cd0a7663fec
testnetwork_8d4337c6-18f1-468f-b601-ddee12e1ab9a
testnetwork_d4226955-c325-4aa4-b97e-14418b478d40
testnetwork_a8aafeb5-b691-4094-859e-2c04b33915b1
testnetwork_3ee3319b-70a3-4e50-8452-a9e4168b9f35
testnetwork_67420ada-f167-4070-886c-d5f91debbe87
testnetwork_852c5135-3187-4ad3-a3bb-76ed44b6cd59
testnetwork_439c3011-1a43-4b5e-ba13-91bbdb3f6974

Total reclaimed space: 1.518GB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 11432
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Already exists
ab017ee82de8: Already exists
973721b7fcb1: Already exists
0c79b341c8ed: Already exists
1b304faacdc3: Already exists
5c94f9cbba07: Already exists
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Image is up to date 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/jenkins3047525541953495007.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:67a2befe73bf0233d066496f40297602fcf288858641cc8843fb5224a2b29339
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins5053355954257122202.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: 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/jenkins5172494439867494599.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
618457f5476e: Download complete
767e37494b6d: Verifying Checksum
767e37494b6d: 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/jenkins3369345355844393625.sh
+ docker pull python:2.7
2.7: Pulling from library/python
e79bb959ec00: Already exists
d4b7902036fe: Already exists
1b2a72d4e030: Already exists
d54db43011fd: Already exists
69d473365bb3: Already exists
67522b1a5c2d: Pulling fs layer
7501bff60af5: Pulling fs layer
f23833ea1302: Pulling fs layer
a60553408c55: Pulling fs layer
a60553408c55: Waiting
f23833ea1302: Verifying Checksum
f23833ea1302: Download complete
67522b1a5c2d: Verifying Checksum
67522b1a5c2d: Download complete
7501bff60af5: Verifying Checksum
7501bff60af5: Download complete
a60553408c55: Verifying Checksum
a60553408c55: Download complete
67522b1a5c2d: Pull complete
7501bff60af5: Pull complete
f23833ea1302: Pull complete
a60553408c55: Pull complete
Digest: sha256:41f3a9e1357ad0479a49315a1bc21a0ddf67797db5c1ce4b8bb324e89ac58144
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins3456125634093831039.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
Running session lint
Creating virtualenv using python in /opt/bookkeeper/.nox/lint
pip install flake8
pip install .
flake8 bookkeeper tests
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/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 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 
0x7fdd2ca75208>
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.89 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