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

Changes:

[guosijie] Migrate command `updateledgers`

[guosijie] ISSUE #2053: Bugfix for Percentile Calculation in FastCodahale Timer

[guosijie] Migrate command `rebuild-db-ledger-locations-index`

------------------------------------------
[...truncated 28.69 KB...]
deleted: sha256:3964b96553104995eded384af4d2a9418718e10d01ec206cf0dbe9c52580a55f
deleted: sha256:a31ec3ec872b1c7679fbd1a65695915751276300edd605f4ca008a53891af707
deleted: sha256:56f7b43f0932b1457496ca1ec8e32750271249de0fe19a48c6fc014aba1974be
deleted: sha256:ab6972656267ee9ee1fd9dcbb1f59cf1b7cfacbd2ecd33e6320433780ea1d235
deleted: sha256:863e8a7c2541e47688c1d6795838a4aeb692cf0a45824ecbecc2829a1b62b98b
deleted: sha256:9f812d1d534b1f383686da12e47465c10ca48728ca60ecf371621c37cc26c18a
deleted: sha256:4e5435064d28942c41ce6990a35ab101fec289e6d27827ad8b4180a0f446b100
deleted: sha256:274c3d5cd759e3011c5762d6fb4f218b1d5e01631cc29a066c340477d52b4593
deleted: sha256:2ae1ade78f05f4a250dd454bc5eb8b9c496dcfc56b16c0c281542935b8458f28
deleted: sha256:a5feeee49ef54036b393f3a3be1402b3ac350bf45891790226518316cd0c4c97
deleted: sha256:4cd18dca9a2f89100df26206f3c2b5d16c89e43635519d42dc2fb30fa8f09e4b
deleted: sha256:042c1d9e598ad48a15d68ed5b715318ac8998410d2a3f2732b67808d4a177fd3
deleted: sha256:802b22906b86a30dba97a24e31c4b27d98eafd425d55f51cd1b3184cfb1395cf
deleted: sha256:32633c8c5ac7c7549b8d296fdfabc0be288a4d026f2a6ab8d01dda019721dc5d
deleted: sha256:de6232075313d095a90455a8ef7ad9039641f2cb7590e6f7c0d08c2e52eb10e1
deleted: sha256:3574011783ca6924e459241618c947d4ccc5ad74d94b1306ea68e25d06341eb7
deleted: sha256:add67e285b2712c3638df5d24ff41d5b3b1f3b70047a13b7950234569fedf089
deleted: sha256:9c32a66a792fed485fe87bffbac67c34f7b9625c308ddaa99c75951737118172
deleted: sha256:fab544967973ec7558e63678b26d60ca3ea9d391532884da214f9a00de634802
deleted: sha256:c822fa5ed07dc0ad3afab521004cb373e356df231d189e1aa208baed3bfe49c7
deleted: sha256:d00324d8eee067fc4ed62add4d9671537924015daccc7bfa150f1d21970c1ae9
deleted: sha256:94552fad8faa5f44ee6109e8547c6e684d921b58283a7e6d54ddbe795678108a
deleted: sha256:22d745d2706e8ba6320a162c6ae6ba0f5902c751425fff9de9e8cc77bbf557bb
deleted: sha256:660ca56e917b21fd4feaa91b2a572275c8a71e051ac8f141366bb0ea22a69283
deleted: sha256:5909bfc8e6761af5fbcd6f7847ad82f903035d5549e953bf560995412cae627d
deleted: sha256:25b742a816a176b0f2a4bfa62798e6928277841326a95f23bcab36dc82045784
deleted: sha256:8fa38fdea06f7b1e64454453d02f66dc663abfc9afeec373b2667434bf5c0801
deleted: sha256:c79da9d07abc41550eddb79254c57f3a199684e80629bc9b4774022d3ed81608
deleted: sha256:1b9fd81c07f74a1712d77241943b3fd2d12ffd9e40208241b534c2293bb03a89
deleted: sha256:8528d7bdd8e192630ce4b6cd98700a45fa487c019f4b2cf7e429f4214b328d84
deleted: sha256:95842a3630b4df0485504a1921ed79dbf462a58d02dd6e2d586374ff69ead8e4
deleted: sha256:05e2fca274dd898c8a44dc77fcd7786cfbca2efb92b507a8643b8c1dfa39ef8d
deleted: sha256:809dfa4f3b17056ec258b92438b9a3bc508daa921a8478d7c4cf387b28ffad7e
deleted: sha256:776fe25d74abbb5dee6c2aa21f89f742a9a61c02f9bbb1d5730a386e9fc95e84
deleted: sha256:100ec512bd069133f8acff69109a1e25d611f897c061ce4963a10e6ced7ea034
deleted: sha256:72a951a63f67e79bbb9db9bdb44cc24024eac558fc08d44374f66b07f92951cc
deleted: sha256:487c3728e0915dff4d1ecc99bc1b1e90a4e835fde38ea7039d744b719d8d40db
deleted: sha256:a8f646b1d85b1e802051f263a31aa185dd5149a3db93df082af9d5b517d2c681
deleted: sha256:bbf2500b970835e806fe6b109cbba992e04365051864f0b0170f8956ddcf0323
deleted: sha256:20ca8a3b9a78215b316b374225c87e8f72b9bdded7858034ccd69cfb24224104
deleted: sha256:173a457708609c3f26d94223b294f5fb41020402d700fef33533dc7ee61eaf85
deleted: sha256:4066bded493d9e80911601996c705a2e72d6e4385c645b422acf5580b166538f
deleted: sha256:d0ca31236f9f2bc68164550d6230b45151945daf38f2619390dc9dfd9646adda
deleted: sha256:17dc5c48be1c376618c1c26904b3e4ca1db02fd43583aced0fa95039f37552cd
deleted: sha256:f6eb14b14d144ef5fd915897f9158f532fb77ea1d93691af54d80466b4b35d2e
deleted: sha256:fecd3dfa048d08b20e9394dc1811fa95f2e89f4c704162c60c3a2cf9e74f6965

Total reclaimed space: 1.91GB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 17656
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
2bc1c5ee8605: Pulling fs layer
075a2fcf78bc: Pulling fs layer
35e5ff0bd5f1: Pulling fs layer
ec90809a24af: Pulling fs layer
27b2768170ac: Pulling fs layer
52ad13cdb1de: Pulling fs layer
ec90809a24af: Waiting
27b2768170ac: Waiting
52ad13cdb1de: Waiting
2bc1c5ee8605: Verifying Checksum
2bc1c5ee8605: Download complete
35e5ff0bd5f1: Verifying Checksum
35e5ff0bd5f1: Download complete
075a2fcf78bc: Verifying Checksum
075a2fcf78bc: Download complete
ec90809a24af: Download complete
27b2768170ac: Verifying Checksum
2bc1c5ee8605: Pull complete
52ad13cdb1de: Verifying Checksum
52ad13cdb1de: Download complete
075a2fcf78bc: Pull complete
35e5ff0bd5f1: Pull complete
ec90809a24af: Pull complete
27b2768170ac: Pull complete
52ad13cdb1de: Pull complete
Digest: sha256:00304fb914dbc8205275bc7630f376171344753a17ec3c81f0b424fa8f841d66
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/jenkins9041854484001410394.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:7e6c00cc553fdce06c1bcfcbf34c73a0f3623a8fc9ce88c8fb91671f2cbc0dab
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins2289888630009543411.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
2b75f9fe405b: Pulling fs layer
2b75f9fe405b: Waiting
0b3c337d0c3e: Download complete
35b4aebab92b: Verifying Checksum
35b4aebab92b: Download complete
60ddbccc0359: Verifying Checksum
60ddbccc0359: Download complete
2b75f9fe405b: Verifying Checksum
2b75f9fe405b: Download complete
35b4aebab92b: Pull complete
60ddbccc0359: Pull complete
0b3c337d0c3e: Pull complete
2b75f9fe405b: Pull complete
Digest: sha256:fcbf363c285f331894b33f2577e0426182b989c750133a989abaaa4edea324e9
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins1434533212212880643.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
9b4f56490eea: Pulling fs layer
618457f5476e: Verifying Checksum
618457f5476e: Download complete
9b4f56490eea: Verifying Checksum
9b4f56490eea: Download complete
83a8b8905f6c: Verifying Checksum
83a8b8905f6c: Download complete
83a8b8905f6c: Pull complete
618457f5476e: Pull complete
9b4f56490eea: Pull complete
Digest: sha256:92d649f4a662abbfb223f9327b30b28b2548e18b577e0143775946e9fbde168a
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins6245762971347297059.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
1ea7f78e4894: Pulling fs layer
e5df41b48b1f: Pulling fs layer
7501bff60af5: Verifying Checksum
7501bff60af5: Download complete
67522b1a5c2d: Download complete
e5df41b48b1f: Download complete
67522b1a5c2d: Pull complete
7501bff60af5: Pull complete
1ea7f78e4894: Pull complete
e5df41b48b1f: Pull complete
Digest: sha256:adb7fbf5bf6ee1312ff8fa1d4c813863b5b79b286f06eea3521b6e09822889a1
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins7354334998819845615.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/6a/31/6d83de53dd55c1b541eae28479b011d10691dc8ac91ab34fd827ac44eca3/nox-2018.10.17-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/33/5d/314c760d4204f64e4a968275182b7751bd5c3249094757b39ba987dcfb5a/virtualenv-16.4.3-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-2018.10.17 py-1.8.0 virtualenv-16.4.3
Running session unit-3.7
Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7
pip install --upgrade mock pytest pytest-cov
pip install --upgrade -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper 
--cov-config=.coveragerc tests/unit
....................................................................     [100%]
=============================== 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


68 passed, 3 warnings in 3.97 seconds
Session unit-3.7 was successful.
Running session lint
Creating virtualenv using python in /opt/bookkeeper/.nox/lint
pip install --upgrade flake8
pip install --upgrade .
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 --upgrade 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.
Ran multiple sessions:
* unit-3.7: success
* lint: failed
* lint_setup_py: success
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]

Reply via email to