See
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/16/display/redirect?page=changes>
Changes:
[guosijie] Netty allocator wrapper
[guosijie] Adding multi-node ZKCluster test util class
[guosijie] Modules dependencies do not need to be included in checksum Jar
[guosijie] Use immutable metadata in LedgerHandle
------------------------------------------
[...truncated 18.73 KB...]
root 16851 2 0 12:19:44 0.0 0.0 [kworker/13:1]
root 17059 2 0 12:19:46 0.0 0.0 [kworker/14:2]
root 17114 2 0 Oct 24 0.0 0.0 [loop0]
root 17241 2 0 Oct 24 0.0 0.0 [kworker/22:2]
root 17242 1 17242 Oct 24 0.0 0.0 /usr/lib/snapd/snapd
root 17385 2 0 04:04:08 0.0 0.0 [kworker/6:2]
root 17477 2 0 Oct 24 0.0 0.0 [loop1]
root 17676 2 0 Oct 24 0.0 0.0 [kworker/3:2]
root 17706 2 0 12:19:53 0.0 0.0 [kworker/16:1]
root 17787 2 0 10:42:23 0.0 0.0 [kworker/6:1]
root 17847 29511 17847 Oct 24 0.0 0.0 sshd: jenkins [priv]
jenkins 17863 1 17863 Oct 24 0.0 0.0 /lib/systemd/systemd --user
jenkins 17868 17863 17863 Oct 24 0.0 0.0 (sd-pam)
jenkins 17878 17847 17847 Oct 24 0.1 0.0 sshd: jenkins@notty
jenkins 17883 17878 17883 Oct 24 0.0 0.0 bash -c cd
"/home/jenkins/jenkins-slave" && /home/jenkins/tools/java/jdk1.8.0_131/bin/java
-Xmx8g -Xms1g -XX:MaxPermSize=512m -jar slave.jar
jenkins 17884 17883 17883 Oct 24 1.6 2.5
/home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g
-XX:MaxPermSize=512m -jar slave.jar
root 18691 2 0 11:49:29 0.0 0.0 [kworker/u65:1]
root 19275 1 19274 Oct 24 0.0 0.0 python2.7 loggy.py --daemonize
--user=root --group=root
root 19514 2 0 Oct 24 0.0 0.0 [loop2]
root 19657 2 0 10:42:37 0.0 0.0 [kworker/20:0]
root 19730 2 0 12:20:04 0.0 0.0 [kworker/9:1]
root 19742 2 0 12:20:04 0.0 0.0 [kworker/5:0]
root 20981 2 0 10:42:47 0.0 0.0 [kworker/3:1]
root 21543 2 0 06:27:52 0.0 0.0 [kworker/0:0]
root 22240 1 22240 Oct 24 0.0 0.0 /lib/systemd/systemd-logind
ntp 22372 1 22372 Oct 24 0.0 0.0 /usr/sbin/ntpd -p
/var/run/ntpd.pid -g -u 113:120
root 22379 2 0 Oct 24 0.0 0.0 [kworker/13:2]
root 22407 2 0 10:42:58 0.0 0.0 [kworker/19:1]
root 22890 2 0 10:43:01 0.0 0.0 [kworker/0:1]
root 23375 2 0 Oct 24 0.0 0.0 [kworker/23:1H]
root 24885 2 0 04:10:30 0.0 0.0 [kworker/21:1]
root 25339 2 0 10:43:54 0.0 0.0 [kworker/15:0]
jenkins 25435 17884 17883 09:20:09 0.0 0.0 sh -c { while [ -d
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727'
-a \! -f
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt'
]; do touch
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-log.txt';
sleep 3; done } & jsc=durable-005a11d3e43a6ee957605ed983186e3d;
JENKINS_SERVER_COOKIE=$jsc
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/script.sh'
>
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-log.txt'
2>&1; echo $? >
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt.tmp';
mv
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt.tmp'
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt';
wait
jenkins 25438 25435 17883 09:20:09 0.0 0.0 sh -c { while [ -d
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727'
-a \! -f
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt'
]; do touch
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-log.txt';
sleep 3; done } & jsc=durable-005a11d3e43a6ee957605ed983186e3d;
JENKINS_SERVER_COOKIE=$jsc
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/script.sh'
>
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-log.txt'
2>&1; echo $? >
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt.tmp';
mv
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt.tmp'
'/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/jenkins-result.txt';
wait
jenkins 25439 25435 17883 09:20:09 0.0 0.0 /bin/bash -xe
/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q@tmp/durable-f40ab727/script.sh
jenkins 25441 25439 17883 09:20:09 7.0 3.4
/home/jenkins/tools/java/latest1.8/bin/java -Xmx3584m -Djava.awt.headless=true
-XX:+UseG1GC -XX:+UseStringDeduplication -classpath
/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q/.mvn/wrapper/maven-wrapper.jar
-Dmaven.home=/home/jenkins/jenkins-slave/workspace
-Dmaven.multiModuleProjectDirectory=/home/jenkins/jenkins-slave/workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTCSYDKOPJS46W5IZTMAS3I2Q
org.apache.maven.wrapper.MavenWrapperMain -U -B -e -fae -V
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0
-Dnoassembly -Dmaven.compiler.fork=true -Dsurefire.rerunFailingTestsCount=2
-Dmaven.test.failure.ignore=true test
root 25567 2 0 20:19:15 0.0 0.0 [loop3]
dd-agent 25661 1 25661 Oct 24 0.0 0.0
/opt/datadog-agent/embedded/bin/python /opt/datadog-agent/bin/supervisord -c
/etc/dd-agent/supervisor.conf
dd-agent 25822 25661 25822 Oct 24 1.2 0.0
/opt/datadog-agent/bin/process-agent
dd-agent 25823 25661 25823 Oct 24 0.0 0.0 /opt/datadog-agent/bin/trace-agent
dd-agent 25824 25661 25824 Oct 24 0.1 0.0
/opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/ddagent.py
dd-agent 25838 25661 25838 Oct 24 0.3 0.0
/opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/agent.py
foreground --use-local-forwarder
nslcd 27537 1 27536 Oct 24 0.0 0.0 /usr/sbin/nslcd
root 27557 2 0 Oct 24 0.0 0.0 [kworker/12:1H]
snmp 29374 1 29373 Oct 24 0.0 0.0 /usr/sbin/snmpd -Lsd -Lf
/dev/null -u snmp -g snmp -p /var/run/snmpd.pid
root 29489 1 29489 Oct 24 0.0 0.0 /usr/bin/ruby /usr/bin/puppet
agent
root 29511 1 29511 Oct 24 0.0 0.0 /usr/sbin/sshd -D
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
daemon 31541 1 31541 Oct 24 0.0 0.0 /usr/sbin/atd -f
+ docker system prune -f
Deleted Containers:
9cec9db17b756527d0e413586aaebd467831dab314c95d3b6ae9da83a7770833
Total reclaimed space: 27.7MB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 11622
+ docker system events
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/jenkins1852026347795449625.sh
+ docker pull python:3.7
3.7: Pulling from library/python
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
72744d0a318b: Already exists
3493e487c18d: Already exists
a89e0510fd87: Pulling fs layer
2100d277cd6f: Pulling fs layer
b61a0d6fb492: Pulling fs layer
2100d277cd6f: Download complete
b61a0d6fb492: Download complete
a89e0510fd87: Verifying Checksum
a89e0510fd87: Download complete
a89e0510fd87: Pull complete
2100d277cd6f: Pull complete
b61a0d6fb492: Pull complete
Digest: sha256:2261f5d57282894a51e0b7e8e3642867e2af0406adbb6c4d39f96c959814ce42
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe
/tmp/jenkins6782463074780182538.sh
+ docker pull python:3.6
3.6: Pulling from library/python
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
72744d0a318b: Already exists
6598fc9d11d1: Pulling fs layer
770079cf7a7e: Pulling fs layer
03c4d24b3523: Pulling fs layer
aaa91e2585ce: Pulling fs layer
aaa91e2585ce: Waiting
03c4d24b3523: Download complete
6598fc9d11d1: Verifying Checksum
6598fc9d11d1: Download complete
770079cf7a7e: Verifying Checksum
770079cf7a7e: Download complete
aaa91e2585ce: Verifying Checksum
aaa91e2585ce: Download complete
6598fc9d11d1: Pull complete
770079cf7a7e: Pull complete
03c4d24b3523: Pull complete
aaa91e2585ce: Pull complete
Digest: sha256:0711e2c85514903b295f92da4a9b83aec844ccc3a94c201096badc00560a19e2
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe
/tmp/jenkins6329008409267924305.sh
+ docker pull python:3.5
3.5: Pulling from library/python
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
72744d0a318b: Already exists
6598fc9d11d1: Already exists
74d2ee7772b2: Pulling fs layer
ab2e66176e69: Pulling fs layer
2c4175ee7cad: Pulling fs layer
ab2e66176e69: Verifying Checksum
ab2e66176e69: Download complete
74d2ee7772b2: Verifying Checksum
74d2ee7772b2: Download complete
2c4175ee7cad: Verifying Checksum
2c4175ee7cad: Download complete
74d2ee7772b2: Pull complete
ab2e66176e69: Pull complete
2c4175ee7cad: Pull complete
Digest: sha256:ef14a52ee8bacfa498b46ef1620ae3da16b0cbda8286b1f0a1a81aa71ac3a818
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe
/tmp/jenkins6685115422830996276.sh
+ docker pull python:2.7
2.7: Pulling from library/python
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
72744d0a318b: Already exists
23bf491a4f84: Pulling fs layer
7f3410abb2aa: Pulling fs layer
08c5081d43e2: Pulling fs layer
80a779c2daa3: Pulling fs layer
08c5081d43e2: Verifying Checksum
08c5081d43e2: Download complete
7f3410abb2aa: Verifying Checksum
7f3410abb2aa: Download complete
80a779c2daa3: Verifying Checksum
80a779c2daa3: Download complete
23bf491a4f84: Verifying Checksum
23bf491a4f84: Download complete
23bf491a4f84: Pull complete
7f3410abb2aa: Pull complete
08c5081d43e2: Pull complete
80a779c2daa3: Pull complete
Digest: sha256:caeeb98fc920f4f7146c929fee29b35b7c8c37e23ca194be3bb48e54c9ec8527
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe
/tmp/jenkins1035617136008577349.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/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl
(83kB)
Collecting colorlog<4.0.0,>=2.6.1 (from nox)
Downloading
https://files.pythonhosted.org/packages/69/eb/58ae10d3c46a0195ffdd0e3943d255d0d5029d71e5457785ecd665bcf0f3/colorlog-3.1.4-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
Downloading
https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl
(1.9MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.1.4 nox-2018.10.17 py-1.7.0 virtualenv-16.0.0
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
==================================== ERRORS ====================================
____________ ERROR collecting tests/unit/bookkeeper/test_futures.py ____________
tests/unit/bookkeeper/test_futures.py:18: in <module>
from bookkeeper.kv import futures, exceptions
bookkeeper/kv/__init__.py:15: in <module>
from bookkeeper.kv.client import Client
bookkeeper/kv/client.py:22: in <module>
from bookkeeper.admin.namespace import Namespace
bookkeeper/admin/__init__.py:15: in <module>
from bookkeeper.admin.client import Client
bookkeeper/admin/client.py:27: in <module>
__version__ = pkg_resources.get_distribution('bookkeeper').version
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:476: in
get_distribution
dist = get_provider(dist)
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:352: in
get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:895: in
require
needed = self.resolve(parse_requirements(requirements))
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:781: in
resolve
raise DistributionNotFound(req, requirers)
E pkg_resources.DistributionNotFound: The 'bookkeeper' distribution was not
found and is required by the application
=============================== warnings summary ===============================
/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154:
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
/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:182:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of
from 'collections.abc' is deprecated, and in 3.8 it will stop working
MutableMapping = collections.MutableMapping
-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
2 warnings, 1 error in 1.86 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper
--cov-config=.coveragerc tests/unit failed with exit code 2
Session unit-3.7 failed.
Running session lint
Creating virtualenv using python in /opt/bookkeeper/.nox/lint
pip install --upgrade flake8
pip install --upgrade .
flake8 bookkeeper tests
Session lint was successful.
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:398:
UserWarning: Normalizing '4.9.0-alpha-0' to '4.9.0a0'
normalized_version,
Session lint_setup_py was successful.
Ran multiple sessions:
* unit-3.7: failed
* lint: success
* 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]