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

Changes:

[zhaijia] Migrate command `readledger`

[zhaijia] Migrate command `localconsistencycheck`

------------------------------------------
[...truncated 26.56 KB...]
root     29404     1 29404   Mar 05  0.0  0.0 /usr/sbin/sshd -D
root     29489     1 29489   Oct 24  0.0  0.0 /usr/bin/ruby /usr/bin/puppet 
agent
root     29702     1 29701   Oct 24  0.0  0.0 /usr/bin/python3 
/usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p 
/var/run/fail2ban/fail2ban.pid -x -b
root     30354     2     0   Mar 28  0.0  0.0 [loop7]
rajive   30656     1 30656   Nov 27  0.0  0.0 /lib/systemd/systemd --user
rajive   30669 30656 30656   Nov 27  0.0  0.0 (sd-pam)
jenkins  30749     1 28310   Mar 13  0.0  0.0 /usr/bin/Xvfb -displayfd 2 -fbdir 
/home/jenkins/jenkins-slave/xvfb-1036-..fbdir7023232050998856609
root     31181     1 31181   Mar 28  0.0  0.0 /usr/lib/snapd/snapd
daemon   31541     1 31541   Oct 24  0.0  0.0 /usr/sbin/atd -f
jenkins  31556 25178 25177 12:11:38 90.2  1.9 
/home/jenkins/tools/java/latest11/bin/java -Xmx1024M -Djava.awt.headless=true 
-cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ 
/home/jenkins/jenkins-slave/remoting.jar 
/home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 34085
root     31820     2     0 20:35:44  0.0  0.0 [kworker/20:2]
root     31990     2     0 20:35:48  0.0  0.0 [kworker/22:0]
root     32567     2     0 06:11:20  0.0  0.0 [kworker/10:0]
root     32629     2     0 20:08:33  0.0  0.0 [kworker/16:2]
+ docker system prune -f
Deleted Containers:
8ad188dd9d1504619ed8bae0e0ee967f2135910d0272326f1bd9a61878e89155
a59420a53a20be2fac62dff79b792c626aee17a35d7a4c3ad89c62b254d70760

Deleted Images:
deleted: sha256:7d88e60156e48b15d785e1454ca8a3227885c8514e28e65400d14cdca5a5a73e
deleted: sha256:416eddba9b7d9ccc5f39cf132f2c7c7dbdc8ef1d96a77a9d9fd6deb5ad10d2d6
deleted: sha256:df386dc92d954eed01bb2c1c016f2a9fb234f2dcb10e9e0d21be09560645bec2
deleted: sha256:824f7e5e31c31f2c3fc47ab741343e0495c9408042cd05d119567b86ad0c6611
deleted: sha256:9cc95b0b4b10de3e8738c8f370fd67844101a6756012aed46e94e2ff385bf136
deleted: sha256:ba770b686410e7f1f11bb5457ee71118d9ea847534d225f1f7d98e2fe22a1d7b
deleted: sha256:f8c8e2185c5c6f99c1b390436b2dcf0a35d7489a5c35d9ff49ae9a807a5fb50a
deleted: sha256:868e874c187917302fb3e28beb03dd1c72c08c088b55ec37e65b6f25822fab7b
deleted: sha256:095f96514e44175bba1a9e5280483975695b2662f4d88b6c1632ea3b45657dd1
deleted: sha256:dbbe0239a6a4a64dcfa08af6209d29cf32fd825d9753153afedafa11dfde02d1
deleted: sha256:eb824b721ec2243506fd2a890c2176c444f88d072b7a9a8a4c42aebec92393ed
deleted: sha256:ba43a09aa2efc88688c8064e36d1d7ce68f1eea89ffae8e4d392818c7212ad7d
deleted: sha256:dc8353f53c2271ebc0ddfde041778d3c09f8a04dea9621d16ff164120577684d
deleted: sha256:58c7bee2c8255d32d5732d7c5f4a115eb962d249cec7904641c47d861d07c5d1
deleted: sha256:90c9e1c16f4de420f09d9293b725b871e22053327e81b6c5e592e0d079178e03
deleted: sha256:7b438acbf270143c906f63618f5e96938b1aecd6853bf46a3226e0cb039df8b8
deleted: sha256:ca640e8d334e99bb617aad018884cfb4bd7bb84079194e834c09f9cdc977ef9c
deleted: sha256:61fd9ca45e8054aeaf4b896a5f9eaf0fae6b6fd0db1632668216f78048742c48
deleted: sha256:09aa2f08f976739ff1fd801173d7adfd63f7cfaf66c9a567a85816445c647398
deleted: sha256:2549b26b350b15692a8c323385ceec8f030ad5c41ee5cb83b1675454bfc9ef01
deleted: sha256:a2055a36b5e925d08a0824a3d2fa631190f0ba20f4acc4d8054452387b3570a3
deleted: sha256:131cd1a6efa3d2b122b1952bac62483ac1d600fe041fb2eb30cb9f2b7c775cb4
deleted: sha256:7313a8e6c7cc55421c968fefd628c8625c05efb44988f0c54ed61d64c479af4a

Total reclaimed space: 905MB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 22426
+ 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
ec90809a24af: Waiting
52ad13cdb1de: Pulling fs layer
27b2768170ac: Waiting
52ad13cdb1de: Waiting
2bc1c5ee8605: Verifying Checksum
2bc1c5ee8605: Download complete
35e5ff0bd5f1: Verifying Checksum
35e5ff0bd5f1: Download complete
ec90809a24af: Download complete
2bc1c5ee8605: Pull complete
27b2768170ac: Download complete
075a2fcf78bc: Verifying Checksum
075a2fcf78bc: Download complete
52ad13cdb1de: Verifying Checksum
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/jenkins3425437120783014437.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
42c091edeef0: Pulling fs layer
42c091edeef0: Waiting
2ef86095a118: Verifying Checksum
2ef86095a118: Download complete
7dc3a6a0e509: Verifying Checksum
7dc3a6a0e509: Download complete
68cd774d0852: Verifying Checksum
68cd774d0852: Download complete
42c091edeef0: Verifying Checksum
42c091edeef0: Download complete
7dc3a6a0e509: Pull complete
68cd774d0852: Pull complete
2ef86095a118: Pull complete
42c091edeef0: Pull complete
Digest: sha256:7e6c00cc553fdce06c1bcfcbf34c73a0f3623a8fc9ce88c8fb91671f2cbc0dab
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins1465607801933080409.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: 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/jenkins7752282416176243520.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/jenkins4907720618560943642.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:adb7fbf5bf6ee1312ff8fa1d4c813863b5b79b286f06eea3521b6e09822889a1
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins5662171194008948063.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 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 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 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
Installing collected packages: py, virtualenv, colorlog, 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.74 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/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 --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:475:
 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