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

Changes:

[guosijie] Migrate command `readlogmetadata`

[guosijie] Migrate command `initnewcluster`

[guosijie] ISSUE #2023: change cached thread pool to fixed thread pool

[guosijie] Migrate command `listunderreplicated`

[guosijie] Migrate command `nukeexistingcluster`

[guosijie] Migrate command `readlog`

[guosijie] Migrate command `decommission`

------------------------------------------
[...truncated 14.75 KB...]
root     29827     2     0 12:23:44  0.0  0.0 [kworker/1:0]
root     29916     2     0 12:24:00  0.0  0.0 [kworker/3:2]
root     30094     2     0 12:24:36  0.0  0.0 [kworker/0:2]
root     30306     2     0 12:25:18  0.0  0.0 [kworker/2:2]
root     31444     2     0 12:29:03  0.0  0.0 [kworker/u8:2]
root     31473     2     0 12:29:13  0.0  0.0 [kworker/1:2]
root     31569     2     0 12:29:33  0.0  0.0 [kworker/3:1]
root     31649     2     0 12:29:49  0.0  0.0 [kworker/0:1]
root     31688   975   975   Sep 18  0.0  0.0 /usr/bin/docker-proxy -proto tcp 
-host-ip 0.0.0.0 -host-port 33539 -container-ip 172.19.0.13 -container-port 9160
root     31702   975   975   Sep 18  0.0  0.0 /usr/bin/docker-proxy -proto tcp 
-host-ip 0.0.0.0 -host-port 33540 -container-ip 172.19.0.13 -container-port 9042
root     31715   975   975   Sep 18  0.0  0.0 /usr/bin/docker-proxy -proto tcp 
-host-ip 0.0.0.0 -host-port 33541 -container-ip 172.19.0.13 -container-port 7199
root     31729   975   975   Sep 18  0.0  0.0 /usr/bin/docker-proxy -proto tcp 
-host-ip 0.0.0.0 -host-port 33542 -container-ip 172.19.0.13 -container-port 7001
root     31742   975   975   Sep 18  0.0  0.0 /usr/bin/docker-proxy -proto tcp 
-host-ip 0.0.0.0 -host-port 33543 -container-ip 172.19.0.13 -container-port 7000
root     32131     2     0 12:31:12  0.0  0.0 [kworker/2:1]
root     32160   632 32160 12:31:18  1.3  0.1 /usr/lib/snapd/snapd
root     32170   417   417 12:31:18  0.0  0.0 /lib/systemd/systemd-udevd 
--daemon
jenkins  32230 22899 22898 12:31:21  0.0  0.0 /bin/bash -xe 
/tmp/jenkins6158657397319730871.sh
jenkins  32232 32230 22898 12:31:21  0.0  0.0 bash 
.test-infra/scripts/pre-docker-tests.sh
jenkins  32235 32232 22898 12:31:21  0.0  0.0 ps -eo 
euser,pid,ppid,pgid,start,pcpu,pmem,cmd
root     32735     1 32734   Oct 30  0.0  1.6 python2.7 loggy.py --daemonize 
--user=root --group=root
+ docker system prune -f
Deleted Images:
deleted: sha256:e2f7b95d716e663b05784269dc66781755ed295648657d96517c01763462aefd
deleted: sha256:12f88fee42e7c98157fa9162e155ea3c3355c9dab4873853b512a837ddc1ab44
deleted: sha256:d8413d7b323418fd17282182497b2a773f0c631576b2e8518233b6298ba1014d
deleted: sha256:bfd7f816a87b9620471fa174bba9b9add51fd1ee309275d873e93d42cae6ba87
deleted: sha256:24bfc9f8dd8abb7a03a2340dff5fec03f3a767d5042e6b3606bf5ecce2d285ea
deleted: sha256:0d58a2fb9f511d048cf06d7df1ad135203f240c007b0c42f515033c644624244
deleted: sha256:7b1c1c53bee05a465c494f9cd34316730b9311afa603d2e2e37d0eb67f885105
deleted: sha256:829b07b2a297e96ecc8b2af6ef65fb35b7dc8625820ebbc287220c142c7e6f1c
deleted: sha256:5b166970efc04fa1d8f854f648c8bb2ed54f469f106a3d26e9c5a08c34d38307
deleted: sha256:41a5ef7ece605d2b2c658a60d5c16fdeb665cf0c34ab3355bd697dccb1c3e94e
deleted: sha256:5074326fb25d1d1cc64881a50385932716d531cfa58820cdf6c23df96ea4c7ca
deleted: sha256:a9195fa7053f37d3055fe4b3acda632a65d9d07e025ceab3d7d0edc089ee713c
deleted: sha256:065f2261f63812b957bea893b5fe2c9ec57e0951549aac536414fa4b4b4b25c5
deleted: sha256:fb1d9184fca02190126b380070eaedbacee7275e96a3aa7874793fd7d7616401
deleted: sha256:77a4e9b225d7d64dddfc89b6dfd41efc3bb0a41c7d8d4defc9fe96f834b53f0c
deleted: sha256:85d7fd72d977b351fdbfa9846c142a393ff22a9cd861223ebb25748f329a8101
deleted: sha256:daac9c4b866a2259a06a1f395135e8ed6d4dc8ced83bf423a05c649ca4fd5b46
deleted: sha256:3402df656dfa17d11705a0cc78dd0d86b1bef70977933a9ddf5f962f6d61f421
deleted: sha256:43bea4d10192faa23ddc7ba80f9af484efcc4b11a2495fecd3092065951dd6d1
deleted: sha256:1bf244578bbda312edde9b99839baf28d20a0c06e383d3ea0140f9f191d62bf9

Total reclaimed space: 557.7MB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 32252
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
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
075a2fcf78bc: Verifying Checksum
075a2fcf78bc: Download complete
2bc1c5ee8605: Pull complete
ec90809a24af: Verifying Checksum
ec90809a24af: Download complete
075a2fcf78bc: Pull complete
27b2768170ac: Download complete
52ad13cdb1de: Download complete
35e5ff0bd5f1: Verifying Checksum
35e5ff0bd5f1: Download 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/jenkins553108763134185434.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:7e6c00cc553fdce06c1bcfcbf34c73a0f3623a8fc9ce88c8fb91671f2cbc0dab
Status: Image is up to date for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins5199298475392971610.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/jenkins4177775124146576074.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: 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/jenkins8043922754918390828.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
e5df41b48b1f: Waiting
1ea7f78e4894: Verifying Checksum
1ea7f78e4894: Download complete
67522b1a5c2d: Verifying Checksum
67522b1a5c2d: Download complete
7501bff60af5: Verifying Checksum
7501bff60af5: 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/jenkins4584285612170581195.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.24 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/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)
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)
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