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

Changes:

[guosijie] Migrate command `readjournal`

[guosijie] Fix IDE complain as there are multi choices for error code

------------------------------------------
[...truncated 27.20 KB...]
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 20:05:35  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     31168     2     0 04:27:47  0.0  0.0 [kworker/20:1]
root     31181     1 31181 20:05:43  0.0  0.0 /usr/lib/snapd/snapd
root     31277     2     0 04:27:53  0.0  0.0 [kworker/8:2]
daemon   31541     1 31541   Oct 24  0.0  0.0 /usr/sbin/atd -f
root     32119     2     0 06:19:04  0.0  0.0 [kworker/9:0]
+ docker system prune -f
Deleted Images:
deleted: sha256:dda4bf81b8e9c437213a19207e8b4271eb4f2b210a738221886d8ea953f5f90a
deleted: sha256:79e92d40d402b2019618bc65b96abd439308d40f4d33245c1ff2e659f9193c93
deleted: sha256:9d08a94e778cc710aaf1be0aad03ced7566392dd36713c97500629ce104a7f5c
deleted: sha256:6d51db87fe0efd4c5c1d706e03c1b1ae97c17e6929791bb0bc9d419d3c0a3dc8
deleted: sha256:a0f8452246bbfdca62785f8be09be2f03a360c402709b34dc0401b252fa5a30b
deleted: sha256:bb16ce60472c0a66440d18ee3b1ff6f37067491ced55b64268da763009ef859b
deleted: sha256:a93f20dd630c1997330b54550dab5c8b2c93fd6e4daff93ddb360bd88910719c
deleted: sha256:c029736c7312b0d7c6b5ac9b053e71f1c94625770ca5202f022e8f5429987420
deleted: sha256:192e04a2dedb214732ffe484e9bbcc32c2f65b5c0eca2432d1af27141d49f2e1
deleted: sha256:2830bd51430ee03385cda908b23d06b2be2a31a96853bea1a1753a355c4fdafd
deleted: sha256:b6c1d365271b7501661f75bf99feada968c2328b863ccb9d9ab9cd6c4863139f
deleted: sha256:bef3c8b4e4eabd5673761e2e81fc2eec90be7a8c97c702baf7544ac3249e9132
deleted: sha256:0b8526a4999f5347ec566678bf21dedf0f31e0479f50b1a06c22cbc4fcde6e9e
deleted: sha256:a136460a34610741b40bcd7e1c06792a27d574e34826b885b2e79a7849828bf6
deleted: sha256:25c9abaf8cf9b3b366876d6018405d67c7f086217f26652b53c7d7e40ce9a964
deleted: sha256:383d201fab5f8d182d6c21832fd0d3fc8d277f87c5b4ac489836eb968cbb9dc9
deleted: sha256:6f7bbba360afa690851740a4cfe5715f411b2aa27f6a26b1ce0c98a69ac16ae8
deleted: sha256:85ef5801df566d1030f359b22363f16d7141ac74b1afecb79b06dfb656c0f812
deleted: sha256:1db33504a0930f357f97d4fbf6677d8cafcedbe84a34c604f5eada33f8dbdafc
deleted: sha256:8548cb79dba24ea71a7abe1388884c81d14cb43379d8ff9fe3cc4a4b832cdebf
deleted: sha256:fb9e07c1ce157f791e5bd68a696ba155b3dd4c93ff4e5d5e8d2eae2dbd6a846d
deleted: sha256:e0ac438082f8f8cfb94d2dd943b35d241b706d6a7f870125c6e267175171f35c
deleted: sha256:79391ab692cdd8c7a96960d1d8b32c057bd76cf117c19ea6a8e96a65e73ac7c2
deleted: sha256:9f38484d220fa527b1fb19747638497179500a1bed8bf0498eb788229229e6e1
deleted: sha256:d69483a6face4499acb974449d1303591fcbb5cdce5420f36f8a6607bda11854
untagged: 
mongo@sha256:d897ef2b3ba14104374b3b8b1f976e8f0dc6642ebcacb19a1ac327cae331fd73
deleted: sha256:e5d5a6ea073772347c503bb5a8cf2e500cd16ec04483ae8944fc351faea7c298
deleted: sha256:20fd6eeb2cbc1dc33320d74f7aed47249b7f66066c4e2a0ea50c813c73f8ab7a

Total reclaimed space: 1.1GB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 25858
+ 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: Download complete
35e5ff0bd5f1: Verifying Checksum
35e5ff0bd5f1: Download complete
075a2fcf78bc: Verifying Checksum
075a2fcf78bc: Download complete
2bc1c5ee8605: Pull complete
27b2768170ac: Verifying Checksum
27b2768170ac: Download complete
ec90809a24af: Verifying Checksum
ec90809a24af: Download 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/jenkins6110071699530938431.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: 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/jenkins8108780202704711561.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: Verifying Checksum
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/jenkins8402852392263856984.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
9b4f56490eea: Download complete
618457f5476e: Verifying Checksum
618457f5476e: 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/jenkins1298573510505081894.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:adb7fbf5bf6ee1312ff8fa1d4c813863b5b79b286f06eea3521b6e09822889a1
Status: Image is up to date for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins793471987756627557.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.65 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