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

Changes:

[github] Added release notes for release 4.9.2

[zhaijia] [BK-CLIENT] Check empty ledger-parent node while deleting ledger

------------------------------------------
[...truncated 33.90 KB...]
deleted: sha256:4db2b82bdb614fa8a08da9e9f83a170132580b436e3580ad1fc7e404a046a884
deleted: sha256:167c856b83628c3ba5b0b34949a747d5aeb8a8d71f2fab024412a95c1c21645a
deleted: sha256:1085ee43c146545ccd66d21e52e599214afdaf1f591e0128399daf92aa22d99b
deleted: sha256:cb00a1a1b0a3889b56722865aab06844cc6626a05862c12e6839595037e1f7e5
deleted: sha256:1cdea8489e23b1dcba309fb41888f331f3b273549c0765fa2dfbad36f6f13879
deleted: sha256:897109200567a94ed5f57636cd66e99de79dc043b99618e0464a429b4cb735ee
deleted: sha256:0b7da57a3d240c3664a6b4f26dff9d0ed54ba575c2c182f9919a5396ede73a4a
deleted: sha256:b10971261b9a21a536db401813d0b7b725a0fd2d3a7dc6aa3beb079bd0adf6c7
deleted: sha256:8b640fda017c8120da772d3d461f987d858b6866f34cb716ab9bec7caa7f7f71
deleted: sha256:16d3914fb87acca37660078931e21695cb3e224fa4a76277cc4dded0add87d3f
deleted: sha256:70a3085eca1bfd9e47d4a747c99b90cdcb53649c689b9f1ea1ce1fbe137933d8
deleted: sha256:2ac0224e3dae3351b5fe0e46292033adfc35e6a4bbe87e7cfd23772394a44637
deleted: sha256:4405617048bd09a25750e2a15223e7314293e618321f0cbe783cf40a5ffcad95
deleted: sha256:8e85d892b2af5af1e985247a8c8928a8e123ea3a3832acb755617a3c5263a1eb
deleted: sha256:4b9ebb35fd928fa46e14733b18d83a6912fe8173cd2f6c62b55b42eaef443911
deleted: sha256:b6c60341a177809de59e661b7272ef8ca5f3abac9fed8f8ef6de17c62ff86399
deleted: sha256:62d9a5e6aafb0760d2c4c9ccfc6de6cefd2d5185c058cb3c732022a7b33edb24
deleted: sha256:4783f3d510b1af6abab8026dfd81cefe8d8283fe59fa5398dc37e75a9d32984a
deleted: sha256:1fec49a3994fd5d1dec7b100d44168ec0cf30dd2df0ba752a9b5743922dea073
deleted: sha256:f83af95bde9edcd7e084f254bd2eba624b55c0aad58641f8ac0332c5400f6bc6
deleted: sha256:587e766e0d4d4fb3516bcb467ff3d0d3caead555a4d23483bfd8e0d241d376bb
deleted: sha256:dcc4e3fc5600f769f59f1323767c82ba9ab9093f20e8a038c803d80c447b1fa8
deleted: sha256:6a8b7510cad7a9bb7c71a9362a2952824a24262d67c652c7a37885cfd1dfe8f5
deleted: sha256:f1d0bfae85769963c0f2dd281347fc0f4cfcaf359021be5b7c9567b2be1ff98b
deleted: sha256:376d587c99667e97f10187ecca5c0e23d865fb85fa972556e66592eb76f2a899
deleted: sha256:a746ab41ab241eec7273685988a8ac52b96f2bb77375bbcbdff1f0ee7cad284b

Total reclaimed space: 1.834GB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 7396
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Download complete
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8714829972620515023.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:77a9aac6996ee75a8f4ee4e8e2b6fd34465fb542d4bd1979f425081675c28b6c
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins253726996491568869.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c5e155d5a1d1: Already exists
221d80d00ae9: Already exists
4250b3117dca: Already exists
3b7ca19181b2: Already exists
425d7b2a5bcc: Already exists
d7a526a3eca5: Pulling fs layer
73a96b82cd2c: Pulling fs layer
63e5b6830bb3: Pulling fs layer
811d2b8ea37b: Pulling fs layer
811d2b8ea37b: Waiting
63e5b6830bb3: Verifying Checksum
63e5b6830bb3: Download complete
d7a526a3eca5: Download complete
73a96b82cd2c: Verifying Checksum
73a96b82cd2c: Download complete
811d2b8ea37b: Verifying Checksum
811d2b8ea37b: Download complete
d7a526a3eca5: Pull complete
73a96b82cd2c: Pull complete
63e5b6830bb3: Pull complete
811d2b8ea37b: Pull complete
Digest: sha256:0f7771cc42b691af11fa8588eb91bdb4f4b158ecf87fe563c21ccd54ae51e314
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins3042289944278735957.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c5e155d5a1d1: Already exists
221d80d00ae9: Already exists
4250b3117dca: Already exists
3b7ca19181b2: Already exists
425d7b2a5bcc: Already exists
d7a526a3eca5: Already exists
03339fb09dd6: Pulling fs layer
594669b0b000: Pulling fs layer
7a79e4a07ea7: Pulling fs layer
594669b0b000: Download complete
7a79e4a07ea7: Verifying Checksum
7a79e4a07ea7: Download complete
03339fb09dd6: Verifying Checksum
03339fb09dd6: Download complete
03339fb09dd6: Pull complete
594669b0b000: Pull complete
7a79e4a07ea7: Pull complete
Digest: sha256:7f890da10a88c961de1355f82eaf70e1730c1bfa5c06aefcbf58323ea319fcad
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins1634997895438343270.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c5e155d5a1d1: Already exists
221d80d00ae9: Already exists
4250b3117dca: Already exists
3b7ca19181b2: Already exists
425d7b2a5bcc: Already exists
8c85da8098dd: Pulling fs layer
2d5c00bb8ad0: Pulling fs layer
746f97fe4b67: Pulling fs layer
661957859d96: Pulling fs layer
661957859d96: Waiting
746f97fe4b67: Verifying Checksum
746f97fe4b67: Download complete
8c85da8098dd: Download complete
2d5c00bb8ad0: Verifying Checksum
2d5c00bb8ad0: Download complete
661957859d96: Verifying Checksum
661957859d96: Download complete
8c85da8098dd: Pull complete
2d5c00bb8ad0: Pull complete
746f97fe4b67: Pull complete
661957859d96: Pull complete
Digest: sha256:91cf822d7d9f36769ca6a54db4f1cc565962f7ee38647c252bb265913e1e24a6
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins5581142839247700338.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 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)
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/ca/ee/8375c01412abe6ff462ec80970e6bb1c4308724d4366d7519627c98691ab/virtualenv-16.6.0-py2.py3-none-any.whl
 (2.0MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.4.11 py-1.8.0 virtualenv-16.6.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 
0x7fdd29d7d8d0>
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 4.12 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