You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/07/19 12:31:18 UTC

Build failed in Jenkins: bookkeeper_postcommit_master_python #282

See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/282/display/redirect>

------------------------------------------
[...truncated 16.93 KB...]
root      8318     2     0   Oct 23  0.0  0.0 [jfsCommit]
root      8319     2     0   Oct 23  0.0  0.0 [jfsCommit]
root      8320     2     0   Oct 23  0.0  0.0 [jfsCommit]
root      8321     2     0   Oct 23  0.0  0.0 [jfsCommit]
root      8322     2     0   Oct 23  0.0  0.0 [jfsCommit]
root      8323     2     0   Oct 23  0.0  0.0 [jfsCommit]
root      8324     2     0   Oct 23  0.0  0.0 [jfsSync]
root      8367     2     0   Oct 23  0.0  0.0 [bioset]
root      8477     2     0   Oct 20  0.0  0.0 [kworker/17:1H]
jenkins   8607  9056  9055 12:31:08  0.0  0.0 sh -c pid=$$; { while [ \( -d /proc/$pid -o \! -d /proc/$$ \) -a -d '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a' -a \! -f '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt' ]; do touch '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-log.txt'; sleep 3; done } & jsc=durable-28488602c33f4b27c87d429142b5e7f5; JENKINS_SERVER_COOKIE=$jsc  '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/script.sh' > '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt.tmp'; mv '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt.tmp' '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt'; wait
jenkins   8610  8607  9055 12:31:08  0.0  0.0 sh -c pid=$$; { while [ \( -d /proc/$pid -o \! -d /proc/$$ \) -a -d '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a' -a \! -f '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt' ]; do touch '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-log.txt'; sleep 3; done } & jsc=durable-28488602c33f4b27c87d429142b5e7f5; JENKINS_SERVER_COOKIE=$jsc  '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/script.sh' > '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt.tmp'; mv '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt.tmp' '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/jenkins-result.txt'; wait
jenkins   8611  8607  9055 12:31:08  0.0  0.0 /bin/bash -e /home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ@tmp/durable-6adb605a/script.sh
jenkins   8614  8611  9055 12:31:08  0.0  0.0 bash /home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ/component/dev-support/hbase_nightly_source-artifact.sh --intermediate-file-dir output-srctarball --unpack-temp-dir unpacked_src_tarball --maven-m2-initial .m2-for-repo --maven-m2-src-build .m2-for-src --clean-source-checkout /home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ/component
root      8741 43374  8741   Jun 20  0.0  0.0 sshd: jenkins [priv]
jenkins   8743  8610  9055 12:31:11  0.0  0.0 sleep 3
jenkins   8759  8614  9055 12:31:12  0.0  0.0 /home/jenkins/tools/java/latest1.8/bin/java -classpath /home/jenkins/tools/maven/latest/boot/plexus-classworlds-2.5.2.jar -Dclassworlds.conf=/home/jenkins/tools/maven/latest/bin/m2.conf -Dmaven.home=/home/jenkins/tools/maven/latest -Dlibrary.jansi.path=/home/jenkins/tools/maven/latest/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ/unpacked_src_tarball org.codehaus.plexus.classworlds.launcher.Launcher -DskipTests -Prelease --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.0-7FBJ3SB7I6LARJT6AGGWOEZ2JTPNJ2MMIXGEH4OAFIWSA6732UAQ/.m2-for-src clean install assembly:single
jenkins   8768  8741  8741   Jun 20  0.2  0.0 sshd: jenkins@notty
jenkins   8816  9056  9055 12:31:12  0.0  0.0 /bin/bash -xe /tmp/jenkins8149209998913484767.sh
jenkins   8818  8816  9055 12:31:12  0.0  0.0 bash .test-infra/scripts/pre-docker-tests.sh
jenkins   8821  8818  9055 12:31:12  0.0  0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
jenkins   9055  8768  9055   Jun 20  0.0  0.0 bash -c cd "/home/jenkins/jenkins-slave" && /home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms4g -jar remoting.jar -workDir /home/jenkins/jenkins-slave
jenkins   9056  9055  9055   Jun 20  2.3  7.1 /home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms4g -jar remoting.jar -workDir /home/jenkins/jenkins-slave
root      9228     2     0 09:23:55  0.0  0.0 [kworker/11:1]
root      9566     2     0 09:23:55  0.0  0.0 [kworker/18:1]
root     10035     2     0 09:23:59  0.0  0.0 [kworker/12:1]
root     10222     2     0 09:52:56  0.0  0.0 [kworker/5:0]
dd-agent 10923     1 10923   Jun 25  0.0  0.0 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/bin/supervisord -c /etc/dd-agent/supervisor.conf
dd-agent 10966 10923 10966   Jun 25  1.3  0.0 /opt/datadog-agent/bin/process-agent
dd-agent 10967 10923 10967   Jun 25  0.0  0.0 /opt/datadog-agent/bin/trace-agent
dd-agent 10968 10923 10968   Jun 25  0.1  0.0 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/ddagent.py
dd-agent 10972 10923 10972   Jun 25  0.4  0.0 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/agent.py foreground --use-local-forwarder
root     11093 13740 12425 04:19:25  0.5  0.0 nessusd -q
rajive   12388     1 12388   Nov 27  0.0  0.0 /lib/systemd/systemd --user
rajive   12393 12388 12388   Nov 27  0.0  0.0 (sd-pam)
root     12837     2     0   Oct 20  0.0  0.0 [kworker/19:1H]
root     12938     2     0 09:08:23  0.0  0.0 [kworker/17:1]
root     13669     2     0 03:52:17  0.0  0.0 [kworker/19:2]
root     13740     1 12425   Nov 27  0.0  0.0 /opt/nessus_agent/sbin/nessus-service -D -q
root     15020     2     0   Jun 28  0.0  0.0 [loop8]
root     15067     1 15067   Jun 28  0.0  0.0 /usr/lib/snapd/snapd
root     15371     2     0 20:17:50  0.0  0.0 [loop4]
root     15481     2     0 20:17:52  0.0  0.0 [kworker/14:1]
root     17124     2     0   Dec 18  0.0  0.0 [loop6]
root     17693     2     0   Dec 18  0.0  0.0 [bioset]
root     18580     2     0   Oct 20  0.0  0.0 [kworker/16:1H]
root     19738     2     0 09:45:47  0.0  0.0 [kworker/9:2]
syslog   19961     1 19961   Apr 02  0.0  0.0 /usr/sbin/rsyslogd -n
jenkins  20868     1 62744   Apr 14  0.0  0.0 /usr/bin/Xvfb -displayfd 2 -fbdir /home/jenkins/jenkins-slave/xvfb-1056-..fbdir7440685368385672373
root     21882     2     0   Oct 20  0.0  0.0 [kworker/23:1H]
root     22659     2     0 09:47:05  0.0  0.0 [kworker/2:2]
root     22789 62020 62020 17:15:35  0.0  0.0 /usr/bin/unpigz -d -c
root     23228     2     0 09:55:56  0.0  0.0 [kworker/1:2]
root     23271     2     0 09:55:56  0.0  0.0 [kworker/9:1]
daemon   23546     1 23546   Oct 20  0.0  0.0 /usr/sbin/atd -f
root     24131     2     0   Oct 20  0.0  0.0 [loop0]
root     24863     2     0 09:48:25  0.0  0.0 [kworker/6:2]
root     25970     2     0   Oct 20  0.0  0.0 [kworker/14:1H]
root     26537     2     0   Oct 20  0.0  0.0 [kworker/21:1H]
root     26741     2     0   Jul 17  0.0  0.0 [kworker/13:0]
root     26951     2     0 09:57:28  0.0  0.0 [kworker/10:0]
root     27432     2     0   Jul 18  0.0  0.0 [loop1]
root     27606     2     0   Jul 18  0.0  0.0 [kworker/20:1]
root     28678     2     0 00:56:04  0.0  0.0 [kworker/3:1]
root     28902     2     0   Oct 20  0.0  0.0 [kworker/12:1H]
root     28949     2     0 08:59:15  0.0  0.0 [kworker/16:0]
root     30202 62020 62020 08:49:22  0.0  0.0 /usr/bin/unpigz -d -c
root     32182     2     0   Dec 20  0.0  0.0 [dio/sda3]
root     32833     2     0   Jun 16  0.0  0.0 [loop7]
root     33055     1 33055   Jul 11  0.0  0.0 /lib/systemd/systemd-udevd
root     33672     2     0   Oct 31  0.0  0.0 [loop3]
root     34705     2     0   Jul 09  0.0  0.0 [kworker/13:2]
root     36476     2     0   Mar 12  0.0  0.0 [bioset]
postfix  36599 48473 48473 11:19:43  0.0  0.0 pickup -l -t fifo -u
jenkins  37387     1 59088   Feb 22  0.0  0.0 /usr/bin/Xvfb -displayfd 2 -fbdir /home/jenkins/jenkins-slave/xvfb-1020-..fbdir8579093052553410075
root     38035     2     0 04:25:46  0.0  0.0 [kworker/6:0]
root     38163     2     0 15:33:49  0.0  0.0 [kworker/12:2]
root     38741 62020 62020 09:01:17  0.0  0.0 /usr/bin/unpigz -d -c
root     39366     2     0   Dec 10  0.0  0.0 [bioset]
root     39960     2     0   Dec 10  0.0  0.0 [bioset]
root     39964     2     0 09:58:54  0.0  0.0 [kworker/7:1]
root     40391     2     0 11:07:46  0.0  0.0 [kworker/0:2]
root     41850     2     0 09:59:09  0.0  0.0 [kworker/2:1]
jenkins  42038     1 50009   Nov 22  0.0  0.0 /usr/bin/Xvfb -displayfd 2 -fbdir /home/jenkins/jenkins-slave/xvfb-923-..fbdir4997626912627934527
root     43352     2     0 09:39:33  0.0  0.0 [kworker/22:1]
root     43374     1 43374   Mar 05  0.0  0.0 /usr/sbin/sshd -D
root     43956     2     0 09:39:37  0.0  0.0 [kworker/23:1]
root     46121     2     0   Oct 20  0.0  0.0 [kworker/22:1H]
root     47339     2     0 09:59:59  0.0  0.0 [kworker/4:0]
root     47355     2     0 09:59:59  0.0  0.0 [kworker/14:2]
root     47422     2     0 09:59:59  0.0  0.0 [kworker/8:2]
root     47506     2     0 09:02:57  0.0  0.0 [kworker/u129:0]
root     48035     2     0 10:00:12  0.0  0.0 [kworker/11:0]
root     48162     1 48162   Oct 20  0.0  0.0 /lib/systemd/systemd-logind
root     48308     2     0 10:00:16  0.0  0.0 [kworker/22:2]
root     48473     1 48473   Oct 20  0.0  0.0 /usr/lib/postfix/sbin/master
postfix  48478 48473 48473   Oct 20  0.0  0.0 qmgr -l -t fifo -u
ntp      48514     1 48514   Oct 20  0.0  0.0 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 114:123
root     48767     2     0 11:08:38  0.0  0.0 [kworker/5:2]
root     49895     2     0 10:01:02  0.0  0.0 [kworker/3:0]
root     50161     2     0 10:01:06  0.0  0.0 [kworker/15:2]
root     50460     2     0 09:49:53  0.0  0.0 [kworker/7:2]
root     51230     2     0   Jun 24  0.0  0.0 [loop10]
root     51757     2     0 09:49:55  0.0  0.0 [kworker/1:1]
root     51828     2     0 17:25:01  0.0  0.0 [kworker/21:1]
root     51994     2     0   Jul 15  0.0  0.0 [kworker/16:2]
root     52674     2     0   Jul 17  0.0  0.0 [kworker/15:0]
root     53261     2     0 01:48:29  0.0  0.0 [kworker/0:0]
root     53687     2     0 09:49:59  0.0  0.0 [kworker/23:0]
nslcd    53720     1 53719   Oct 20  0.0  0.0 /usr/sbin/nslcd
root     54299     2     0 08:53:41  0.0  0.0 [kworker/21:0]
root     55214     2     0   Nov 20  0.0  0.0 [loop5]
snmp     55596     1 55595   Oct 20  0.1  0.0 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -p /var/run/snmpd.pid
root     55661     1 55661   Oct 20  0.0  0.0 /usr/bin/ruby /usr/bin/puppet agent
root     55942     1 55941   Oct 20  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     57589     2     0   Jul 17  0.0  0.0 [kworker/u128:2]
root     58778     2     0 09:13:52  0.0  0.0 [kworker/10:2]
root     60744     2     0 09:41:53  0.0  0.0 [kworker/8:0]
root     61529     1 61528   Oct 30  0.0  1.2 python2.7 loggy.py --daemonize --user=root --group=root
root     61608     2     0 10:09:36  0.0  0.0 [kworker/u130:2]
root     61641     2     0   Jan 28  0.0  0.0 [bioset]
root     62020     1 62020   Jul 17  0.6  0.0 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     62866     2     0 11:12:06  0.0  0.0 [kworker/20:2]
root     62948     2     0 11:12:07  0.0  0.0 [kworker/u128:1]
root     63864     2     0   Feb 01  0.0  0.0 [bioset]
root     64782     2     0   Oct 20  0.0  0.0 [kworker/15:1H]
+ docker info
Containers: 4
 Running: 0
 Paused: 0
 Stopped: 4
Images: 210
Server Version: 18.09.8
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 331
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-137-generic
Operating System: Ubuntu 16.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 24
Total Memory: 94.38GiB
Name: asf938.gq1.ygridcore.net
ID: QHXI:ODKR:TAQA:M73Y:XA4I:L57S:MHI2:A77S:IJCX:KDPW:S3EQ:FVO5
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: mesosdockerbot
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
e6d76f1a182a16774c08bd6191901da8774db1af3d73458c988d33c79b445b76
de9d895bb2cb21470b31d8176ff95d2646c4b95b34d8c480021dd5bf6f8b11ee
96ac4e67cd5e35fcb1df6f747c66aa7216e45748d866dfa08617632ef1b5eb74
2be9c227ed7091608b244cdb9395b1faec3745af40bf2e0aedba56fa5fe9f291

Deleted Images:
deleted: sha256:59901f10f113459124cc3e281c9bb0e6ed397bdbb83d3e84ed1315cba65e812f
deleted: sha256:4b8a2df1735f56418420dbef13e864ee5ad7e0cb60bb98227d69f2c240406bd1
deleted: sha256:b7543d3d2d65e3bee2311913dae5280bb378ba229da915923efec15cc0adc3bc
deleted: sha256:78f8c62902ad64b7aef665138d750ae94a1a54dc697e72561feb9de7438cd4f0
deleted: sha256:b4bf7d4db936f1667dbe81c3f3966907868de3718892292f66a9260d0e0645bd
deleted: sha256:1b1211b254b266faf49fc4d319f68ab06f7c41d8fdd84f4c6eb3f98dc7673f06
deleted: sha256:09cbb569d1da52cc1d01e922953f5af0bf2788e751b5a22588206266d01288b3
deleted: sha256:4598af00c1b489a1ff0a8a2cad55f8d14db99ee9d7ae6a7d354b1767d898abe7
deleted: sha256:a5f1bf0331655ae83c29df2c36aa2cac75117cd4c7f4b85574c8d190d6ec7916
deleted: sha256:8952a4976d47a7271046a11abd29d2277c4d5f6ee8eeeac2917592dd6157faaf
deleted: sha256:6717afbf43c6fdd4bd0c5f60fd3073ebcfa5052a1074654d99755608a462aaae
deleted: sha256:75d35fecfaf983f81581539599f1627003f7a643258e97e65c6fc6edfdea94c7
deleted: sha256:95f3d16665f35d7bc735dfaf1895c3cee61a38b49f21ecbef877a331719d7405
deleted: sha256:7c9b0551c125aec1b121f1e005e386e76305cf30676ba1412c547aca3dd4495f
deleted: sha256:61f150b598345f14e6a4a70a243fe864d1eedadf6da149265f7f80c235751dae
deleted: sha256:f077bad7a56f5f70d35dc0d19277cc7ff2a3f2f894ebe0e20b4f134f39d4a897
deleted: sha256:9585d34dcf752b952612a54da9f036c91aed15a76c51c21ae7ee843b4f90f5b8
deleted: sha256:1a4e748f27fbc6e65bc1bf57d2a51b14c45bfaff5059f213518cf990ab2e4a79
deleted: sha256:5582b1e8c03acc0f037e3ca086bfe26041fd94480f092c2185bbe7800d6dbd69
deleted: sha256:49ae934a8f58bc016e651e4da51e906737ba753fd5753b9317d55c98fa32426d
deleted: sha256:28174173a5eec04a100d6272967468fd8c42332e8a72772218cfe7b954390f32
deleted: sha256:41064949d077ca55b2b4ed82e0407068d011b232c3621d23e5a57c716eaf3924
deleted: sha256:cd722734b99e57ee16f0bdf41aa63648fad5a1ea98174daf3de04f94081259f6
deleted: sha256:5805523f3c9da14772163b25e1ea8747adb705f2a8f26e43c9eb2d9bdcea5bf8
deleted: sha256:3baa05940f1cb3c8addd184ed3746889d688bd474999a986a87458edc52446e2
deleted: sha256:c4b41f0ef226e3be03e8ed44ec11d8c67d9412d7e15e300d94117da47a819a05
deleted: sha256:c61042b61d326350ef4ae658f249118b00dff915c4365112e394e2aea07d5cab
deleted: sha256:3e5efccfb466067c8f14218deb53a4c834e490719ddf3733c400f0c12e2d8148
deleted: sha256:7748c8843cfe8466129acea98eb6bd3dd9647cd89a631c502ed42679926ece5f
deleted: sha256:09bf998d5b7d219c3ad18f3d2ad45454bc88a61e7ef4d9c1092b9da7ec2ebe77
deleted: sha256:6bad9f08b3314728e77b49601aadfa1c76800f779ff102c08d9d047d1b4b51f1
deleted: sha256:fe955b38941d83e15baa866bdad99351d29e4f7d2fd8bdc93f9aae85e9fad71c
deleted: sha256:5865aff51bce26c55cb5fb0a25c26b2657c5907dcba063ad3d67280398d68de8
deleted: sha256:c7061b6299f2c5798200c204f9fc142f24eee652d53e519949dc32e462de3928
deleted: sha256:4ecafd0af8ae0aa3927d4e8a0b92929ebd63178a85e9d5b4d2063524e3a36fb4
deleted: sha256:09543ea46053cb07efa83b124430f2ee7434b4f885b8102273ed80051d1f74ef
deleted: sha256:5ef986c1528b37961c9ea38e313ab65ebe5c39213e25f0e1659d3834b9cb8fdc
deleted: sha256:e3a0a2f9040f491772a58fe2b46315686a433fbbf426dd410bf74a2ecb439f1a
deleted: sha256:89754d324190b6f5c02bac1f8fd9a79c522550cb85c0c77a2ce4ce0f509302c1
deleted: sha256:d0206f7798da321814cd8052f7143d59fb0d6bf19e298480c046b155e20b9259
deleted: sha256:ccaf53fd0bdcf7720591b6a72c0e9ce8471fc27bed7cad76d153e50ece8df1d8
deleted: sha256:702c76acf35a88e3afbfaf98ad18acb0472207ace6654d8479f26b55dd7fd4ba
deleted: sha256:90ce9fc5aeb0bc1cad7cef82e2206af0a9eed8d1b14d79b34ee081ab12d123b0
deleted: sha256:cc576515df8280ca319079cfe863fa7d20c59baaa902a259bca7811c2680b99d
deleted: sha256:f7a58eaae4435ae3c1fd1dcd5f3be7d9b8fc844a912fc3d9bff0cfdc840a33fc
deleted: sha256:dbd68dca2108d2a3853f87e868cee771d2afcdf6f86b651897f83a238a6b6b38
deleted: sha256:73a6ea9d60d95de02928da9036805c14048665b6a6e1ed7a8c0c60a170cf8ba6
deleted: sha256:bb8fc65d5d553731091a33ebd85437d1b2afa9a2a6112d5740f6e01141040bcb
deleted: sha256:873c029f5b31fec65c774fd57a6f12bbc05297ba27956034893b1d51fec39497
deleted: sha256:734d4a36429ff50f62150c783bcc7e69c8ff45f10aed0718d86adb887444846a
deleted: sha256:e1ff686452a69f9c4db5965ac21888471aa36e91e0bfe2ea7684a288cb04c287
deleted: sha256:9e02dbfb4eec0eaa2fe3196b9f5d18d1928774cacba0bf897673f4ea0be4275d
deleted: sha256:1f525dd4239cb3c8ccab2ef8e4ea1a91f39f0baaffb0748b5a34ccab155c8392
deleted: sha256:eceda030814aed98addfe0eaea35513420be721a919ee7fe7e836d107a95a489
deleted: sha256:6caf516d62907050e0d0dd89db2db1f3db59a32cfb2f499ef9ebd4326674592e
deleted: sha256:00f380b0ef10cf808c5357dae2bd208e963f11ca58273aec1962874071b7ae09
deleted: sha256:42b1af414d31dec4be5363fef80cfd89c1269e280b3db28c9064a08db3fcf98e
deleted: sha256:2b2ec9dcb9a47141fae7524afb9afb4bb42f567d089017bf33f72177c7ec5bb1

Total reclaimed space: 3.311GB
+ docker network prune -f --filter 'name=testnetwork_*'
Error response from daemon: Invalid filter 'name'
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #532

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/532/display/redirect>

Changes:


------------------------------------------
[...truncated 29.48 KB...]
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6434442992736744284.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins421974233490549985.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3514841969624951877.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3158067806973504702.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1108905872264985155.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.14-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.2-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=33b6ae0bd9b67801a5d04f98db71059d37e7cf3edcb260ff9f6357866a38db0d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, appdirs, zipp, importlib-metadata, six, filelock, distlib, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.2 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.14 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install 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: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1519eb6b90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.73s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #531

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/531/display/redirect?page=changes>

Changes:

[github] Update Arquillian Cube to 1.18.2


------------------------------------------
[...truncated 28.41 KB...]
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
94cdd3612287: Waiting
e01b42ee5411: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins103356485318095007.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7724477847514759179.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4481676581832850230.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6340740797733646559.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.14-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=3e1577f001d2ef204dec0be01caceda95ca7e8b4c18c06f47cdae9d120a10352
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, filelock, zipp, importlib-metadata, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.14 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install 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: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2a25086450>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #530

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/530/display/redirect?page=changes>

Changes:

[github] [BOOKIE-LEDGER-RECOVERY] Fix bookie recovery stuck even with enough


------------------------------------------
[...truncated 28.44 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1609614563234671082.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8127054440535250429.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4541874990473869423.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4001654008460581056.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3025453197155754438.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=b65325d8b02b8f11a95d8627635ec884a7ec00c293273dcd35ece954cb5c346f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, appdirs, six, distlib, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f46d78e2f90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.78s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #529

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/529/display/redirect?page=changes>

Changes:

[github] Remove old Jenkins stuff (#2293)

[github]  #2288: add metadata to StreamStorage ledgers (#2296)


------------------------------------------
[...truncated 30.44 KB...]
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6785201021122528875.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3992754725942198052.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1403074824540223690.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6174944503929830553.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1958185679217755369.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=207de66e471f2c91adb09ca326c064061062cf3ca8d9f6672e85ba4bed55e841
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, filelock, zipp, importlib-metadata, virtualenv, py, colorlog, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff8ff882490>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.89s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #528

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/528/display/redirect>

Changes:


------------------------------------------
[...truncated 27.94 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins339552585044123242.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9072841325592939373.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins618277858535224480.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9217896360063373809.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3364804302055482331.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=a9418c57a8e05867c3fa8277f0c24150e8f86aaf6be24afe5eafe0d174826f46
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, six, distlib, appdirs, filelock, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2d1e33f290>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.55s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #527

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/527/display/redirect>

Changes:


------------------------------------------
[...truncated 32.82 KB...]
f6d53d5a5c86: Pulling fs layer
94cdd3612287: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
55769680e827: Waiting
f6d53d5a5c86: Waiting
044dee574de1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3703823530980365559.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6258038483242294531.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5721778352620324388.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7856902793526136629.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=19bcaec90c4d2144c69549ae29f00cf218d06da54b26c475344f238dfc652ccd
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, filelock, distlib, six, appdirs, virtualenv, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f159e4eb410>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.66s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #526

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/526/display/redirect>

Changes:


------------------------------------------
[...truncated 27.04 KB...]
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2287520372936992136.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5706495731303246501.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6398268466883562078.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5701819711088172955.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8787794954882073515.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.13-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=4548ced89de5042e0738a557c5fd538de59f9e82858f3e3d88206feddc751494
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, zipp, importlib-metadata, filelock, appdirs, six, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.13 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc53ed63290>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #525

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/525/display/redirect?page=changes>

Changes:

[github] Update Prometheus library to 0.8.1

[github] fix some stats monitor metrics

[github] Add Journal PageCache flush interval control when journalSyncData is

[github] Do not log WARNING about PlacementPolicy for tests and simple setups

[github] [BOOKIE-MTLS] add BouncyCastleProvider for security-provider to avoid

[github] 2279 fix NPE when exec readjournal command


------------------------------------------
[...truncated 28.23 KB...]
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:94b9f9d23d2269fae3e842a0acb7abbc7659a5fd55ad9cd5f7ab691184d587c9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4930797111877999352.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3912285461366983476.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2867914551420165160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:8c8db4ba95cf2821d110d6e8d6f908b0f02085bcfa0ba273d933ed34ece0da18
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8251629366466155446.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.12-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=9fab676fa33b6e5e6e7eb7dfe047a664bf387ff00a09a9e5dd3a7e27ceb66d5d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, appdirs, filelock, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.12 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f47ff2a0dd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.35s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #524

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/524/display/redirect>

Changes:


------------------------------------------
[...truncated 31.80 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2535053866578777983.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
044dee574de1: Waiting
f6d53d5a5c86: Waiting
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5631143233953534685.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2674501885185558388.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins605830309201843786.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins623513343012598436.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=60651b68fb63f445bddf88d4a9074493ff1ccd1f2fff6426a847eb355bdb82f0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, zipp, importlib-metadata, six, appdirs, virtualenv, argcomplete, py, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa908100290>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.73s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #523

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/523/display/redirect>

Changes:


------------------------------------------
[...truncated 28.33 KB...]
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
e01b42ee5411: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7639793080775366047.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1074530821241589603.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins895772744108915609.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3764819897595082809.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=93d334ac083fd5b0b3d9f1de2c825739b20504b197611285358fd35a54d39f9e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5b6d9a5f10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.36s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #522

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/522/display/redirect>

Changes:


------------------------------------------
[...truncated 31.09 KB...]
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
e01b42ee5411: Waiting
f6d53d5a5c86: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
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/jenkins8488685799688595714.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins897716746137354347.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1318800071085405423.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8608855279376368195.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=66112c6f5acfdd2f0d56ab6c38a6a9d6d75162a7b1a372b88b5aafb23662a138
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5bdca0c250>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.65s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #521

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/521/display/redirect>

Changes:


------------------------------------------
[...truncated 26.95 KB...]
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5058291409927841964.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7445591090310953660.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4879950543726193852.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5355554297776826292.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9024437424776128429.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=17d10e6a5dc98c149cd6719291aba2f5b836416bc5def6c5d802678e34b25f0f
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, filelock, six, appdirs, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f07f726af90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #520

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/520/display/redirect>

Changes:


------------------------------------------
[...truncated 26.82 KB...]
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3619200814765335270.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins390400166777567625.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2059816635437513749.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5589132591548839822.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7359191057542052847.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=59a7eba3f3c2ec54c432ed10d64f21ff69907f1d961176a94abfce294b46f6b9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, colorlog, zipp, importlib-metadata, argcomplete, distlib, filelock, appdirs, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9b53ac9ed0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.94s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #519

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/519/display/redirect>

Changes:


------------------------------------------
[...truncated 23.90 KB...]
f6d53d5a5c86: Pulling fs layer
f5e195d50b88: Waiting
94cdd3612287: Waiting
e01b42ee5411: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
55769680e827: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2740960992669624993.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6404461485832703414.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4836041708321225160.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6581910713292033228.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8d775c6dcc781d42ed68881bd76873984e58e30afe61f6e908ff4af32f76831b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, filelock, six, appdirs, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa36c37a050>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


=========================== short test summary info ============================
FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash
1 failed, 67 passed, 3 warnings in 3.58s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #518

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/518/display/redirect>

Changes:


------------------------------------------
[...truncated 28.11 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
55769680e827: Waiting
e01b42ee5411: Waiting
f5e195d50b88: Waiting
044dee574de1: Waiting
f6d53d5a5c86: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
044dee574de1: Verifying Checksum
044dee574de1: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5738336280643805356.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8254838561979847580.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7071916302856785366.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins136839087620625732.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=81708c4cf850d54874c1cdd4a61467313532c58c376a37dbd022d3fc91ce44b3
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fda2a767950>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #517

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/517/display/redirect?page=changes>

Changes:

[github] fix bookie decommission sleep timeout value is negative bug


------------------------------------------
[...truncated 28.29 KB...]
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins528773698619876868.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
94cdd3612287: Already exists
e01b42ee5411: Pulling fs layer
044dee574de1: Pulling fs layer
f6d53d5a5c86: Pulling fs layer
044dee574de1: Verifying Checksum
044dee574de1: Download complete
f6d53d5a5c86: Verifying Checksum
f6d53d5a5c86: Download complete
e01b42ee5411: Verifying Checksum
e01b42ee5411: Download complete
e01b42ee5411: Pull complete
044dee574de1: Pull complete
f6d53d5a5c86: Pull complete
Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8045648095382508927.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4465621640180474159.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3470634620681705162.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5986594557756374454.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=375e9669242037c77c6ec67b4e7d5b5cc1f903b12cde42408f5b642c53f2e714
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, filelock, distlib, six, zipp, importlib-metadata, appdirs, virtualenv, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:462: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8776668d10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.56s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #516

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/516/display/redirect>

Changes:


------------------------------------------
[...truncated 28.37 KB...]
+ echo 55757
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4944298625230830868.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1183574445111153574.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1293559038665399601.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6443521124171228608.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6652426180807053148.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=f43be0768993e789e31ec47bb5c02c243995b94c6113fc256002544a976091d2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, filelock, distlib, six, appdirs, zipp, importlib-metadata, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f846b9479d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.54s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #515

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/515/display/redirect?page=changes>

Changes:

[github] Fixes vertx can not receive the request body


------------------------------------------
[...truncated 28.28 KB...]
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Waiting
b45109600839: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6233680592801842967.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7932446300700261637.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6172721652967247852.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8407621450637645914.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=547531502729d7a7ae1900d4e8ed888a3cfd98e2aa84c3628c9964b3a150256d
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, zipp, importlib-metadata, filelock, distlib, six, appdirs, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f427d5ae850>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #514

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/514/display/redirect?page=changes>

Changes:

[github] Drop Maven Profile -Dstream (#2233)


------------------------------------------
[...truncated 31.18 KB...]
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
f5e195d50b88: Waiting
b45109600839: Waiting
e0c7a90c35ea: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7680831273462003202.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2400716155123434271.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3735505400176913834.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7903434257847834074.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.9-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1254d467844d199f8b57dc96b46833c5f31e48113a53d925adf338e4d784b687
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, six, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.9 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0b4c283710>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.68s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #513

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/513/display/redirect>

Changes:


------------------------------------------
[...truncated 26.79 KB...]
Total reclaimed space: 28.76MB
+ docker network prune -f --filter until=12h
+ echo 10650
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins300005567571521272.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:46e17eae392c2d99e0ac9c26e867807c5022958ec19a9cc46b9668962e0dff78
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5187826384799106724.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3140214044711884109.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins184106143507982036.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:57dbae980495be74c62978e5c780d51e665ae7b5fdf8c73460e125ae430f4a61
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7051877162053105045.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=0c015b166e43fd7c8a59fe8cf2eea4f015b9a60a5ff3c9b34e7a8ac94a6d7002
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, appdirs, zipp, importlib-metadata, six, distlib, filelock, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb6f954d2d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #512

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/512/display/redirect?page=changes>

Changes:

[github] 2178: IOException Should Be Thrown When Journal Is Corrupted

[github] Move the result of the BKCTL to the console by default


------------------------------------------
[...truncated 28.32 KB...]
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
b45109600839: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
e0c7a90c35ea: Waiting
f5e195d50b88: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7578504196207250273.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4993251614856579472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8096198194904190126.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9014197422332148762.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=67a7c72030b507f2fe6dd8077f863dc286daf237172bdc3813162a210ad0c1b2
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, appdirs, distlib, filelock, six, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8fcfaed110>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.41s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #511

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/511/display/redirect>

Changes:


------------------------------------------
[...truncated 27.64 KB...]
+ docker network prune -f --filter until=12h
+ echo 39480
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins344572533978425928.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins474933200091005079.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7997122056490704511.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3848827570815019681.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2430162448213695098.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.8-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=eb2f1e8c38be4c643692d4a0b12e42e5bdd194477836ff2ac780e26352c0bb66
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: six, appdirs, distlib, zipp, importlib-metadata, filelock, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.8 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f23d30396d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.53s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #510

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/510/display/redirect>

Changes:


------------------------------------------
[...truncated 28.85 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
e0c7a90c35ea: Waiting
b45109600839: Waiting
55769680e827: Waiting
97fb33d206b1: Waiting
f5e195d50b88: Waiting
94cdd3612287: Waiting
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3414623527220110655.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3269575229573248851.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1141988904426805275.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins323580023122222374.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=fd9b2e7bff8734e263c0ec11c21dd6b6c4843ad842324832a6317d04d382e967
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, appdirs, distlib, six, filelock, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0de2d48910>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.48s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #509

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/509/display/redirect>

Changes:


------------------------------------------
[...truncated 28.33 KB...]
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Waiting
97fb33d206b1: Waiting
b45109600839: Waiting
c85513200d84: Verifying Checksum
c85513200d84: Download complete
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8861579772053981526.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6665026529360056576.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5198310217175068955.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins841920989146054248.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=e0295a0865d6e9aee21cd650ca3c9e77bea3d8443db3fefb490451d6cffc1b90
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe009560690>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #508

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/508/display/redirect>

Changes:


------------------------------------------
[...truncated 27.88 KB...]
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins263786976723120476.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1732093889187151892.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5107654659128655461.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2095648020187305319.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8882094029122191158.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=729bf896ae40ba1f3ec071ccb45746a8ac787ca2d602eef0c8876bcdf1b8ce75
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, appdirs, zipp, importlib-metadata, six, filelock, distlib, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8a1ab6e350>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.44s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #507

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/507/display/redirect>

Changes:


------------------------------------------
[...truncated 26.83 KB...]
e7f060425da4c5d03243adbcd1b513f54d20992301fdd48bc830eaea0a60e277

Total reclaimed space: 35.66MB
+ docker network prune -f --filter until=12h
+ echo 15870
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8588687430370293370.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins841409942201632387.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2415066030375554151.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
09e6d0583787: Download complete
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins273412266875703843.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2131144658123772454.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=1be3e9b70feef37db804ef99ada9a7a06efb7d8088f981666251dff7cf8321ec
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, filelock, appdirs, six, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f4022efc9d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.47s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #506

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/506/display/redirect>

Changes:


------------------------------------------
[...truncated 28.14 KB...]
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2121541356491746996.sh
+ docker pull python:3.7
3.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
97fb33d206b1: Waiting
e0c7a90c35ea: Waiting
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
e0c7a90c35ea: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
f5e195d50b88: Download complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2711582999148354856.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
d317a9591eb3: Verifying Checksum
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8277844788328622417.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Verifying Checksum
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins576870520982648721.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7844084260463921918.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=8f2126878a65abb23cc2fcc016c04d1e82f7a43da5fc06eef4628c9a58b9645b
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc0639bb7d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.62s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #505

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/505/display/redirect>

Changes:


------------------------------------------
[...truncated 30.08 KB...]
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
f5e195d50b88: Waiting
55769680e827: Waiting
94cdd3612287: Waiting
e0c7a90c35ea: Waiting
dd8c6d374ea5: Verifying Checksum
dd8c6d374ea5: Download complete
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Verifying Checksum
50e431f79093: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
50e431f79093: Pull complete
f5e195d50b88: Download complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4142341632062789869.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4372831873391894468.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2593714087073931713.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6188257155043280802.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7e569f8275ee555e378316237d3e55206e2ca5d3e2bfd8a112e19a9cc1737d05
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, filelock, appdirs, distlib, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5e29962f50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #504

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/504/display/redirect>

Changes:


------------------------------------------
[...truncated 31.39 KB...]
c85513200d84: Pulling fs layer
55769680e827: Pulling fs layer
f5e195d50b88: Pulling fs layer
94cdd3612287: Pulling fs layer
b45109600839: Pulling fs layer
e0c7a90c35ea: Pulling fs layer
97fb33d206b1: Pulling fs layer
55769680e827: Waiting
f5e195d50b88: Waiting
e0c7a90c35ea: Waiting
b45109600839: Waiting
97fb33d206b1: Waiting
dd8c6d374ea5: Verifying Checksum
c85513200d84: Verifying Checksum
c85513200d84: Download complete
50e431f79093: Download complete
55769680e827: Verifying Checksum
55769680e827: Download complete
94cdd3612287: Verifying Checksum
94cdd3612287: Download complete
e0c7a90c35ea: Verifying Checksum
e0c7a90c35ea: Download complete
b45109600839: Verifying Checksum
b45109600839: Download complete
97fb33d206b1: Verifying Checksum
97fb33d206b1: Download complete
f5e195d50b88: Verifying Checksum
50e431f79093: Pull complete
dd8c6d374ea5: Pull complete
c85513200d84: Pull complete
55769680e827: Pull complete
f5e195d50b88: Pull complete
94cdd3612287: Pull complete
b45109600839: Pull complete
e0c7a90c35ea: Pull complete
97fb33d206b1: Pull complete
Digest: sha256:cd2c65a59a8b2cb2399552642bff1b0c438cb3dd24fe75a08596af94cdfc4659
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7170093718321710103.sh
+ docker pull python:3.6
3.6: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Pulling fs layer
f02a073bb16c: Pulling fs layer
d317a9591eb3: Pulling fs layer
579334b3a1fd: Pulling fs layer
579334b3a1fd: Waiting
d317a9591eb3: Download complete
bcd75869ea17: Verifying Checksum
bcd75869ea17: Download complete
579334b3a1fd: Verifying Checksum
579334b3a1fd: Download complete
f02a073bb16c: Verifying Checksum
f02a073bb16c: Download complete
bcd75869ea17: Pull complete
f02a073bb16c: Pull complete
d317a9591eb3: Pull complete
579334b3a1fd: Pull complete
Digest: sha256:74c1be4e690d74798149cb3a642c3be4a669d6cc364fc26896d78d3d17d6189d
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7239047432965387895.sh
+ docker pull python:3.5
3.5: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
bcd75869ea17: Already exists
3386eda7b540: Pulling fs layer
bacc6e46d58b: Pulling fs layer
09e6d0583787: Pulling fs layer
bacc6e46d58b: Download complete
09e6d0583787: Verifying Checksum
09e6d0583787: Download complete
3386eda7b540: Verifying Checksum
3386eda7b540: Download complete
3386eda7b540: Pull complete
bacc6e46d58b: Pull complete
09e6d0583787: Pull complete
Digest: sha256:f73fff109c23e5534db442b22be8fa71aaa266eb9c0e935e2dbe936be7816254
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2091408957692749883.sh
+ docker pull python:2.7
2.7: Pulling from library/python
50e431f79093: Already exists
dd8c6d374ea5: Already exists
c85513200d84: Already exists
55769680e827: Already exists
f5e195d50b88: Already exists
98dd55ce22b7: Pulling fs layer
34b9c4f52c1f: Pulling fs layer
ae7288a3eebb: Pulling fs layer
c401e71550f0: Pulling fs layer
c401e71550f0: Waiting
98dd55ce22b7: Verifying Checksum
98dd55ce22b7: Download complete
ae7288a3eebb: Verifying Checksum
ae7288a3eebb: Download complete
c401e71550f0: Verifying Checksum
c401e71550f0: Download complete
34b9c4f52c1f: Verifying Checksum
34b9c4f52c1f: Download complete
98dd55ce22b7: Pull complete
34b9c4f52c1f: Pull complete
ae7288a3eebb: Pull complete
c401e71550f0: Pull complete
Digest: sha256:d4f5999109ad6aa9401de666c6e00e103eca8e74ac25ce9350ce6b519ef7b904
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7908436933363976516.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.7-py2.py3-none-any.whl (8.0 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=25237c3b2643e5c5d3f26e08062f2592e46a7df2367e9bc45c109354db0d46e0
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, py, distlib, filelock, appdirs, zipp, importlib-metadata, six, virtualenv, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.7 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f67c9f823d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.65s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #503

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/503/display/redirect>

Changes:


------------------------------------------
[...truncated 27.79 KB...]
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
27f3323f0a58: Waiting
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:236a197a23e84e4af6fad27d26e440ed64a0cd031f0dd468202f15e413686a8f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3555816449772432678.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:79c7adcd9f863bcf46b59318d1b5fdf3dda50f1c3c61b5a854a0ea6dfbd2f965
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6514490655729723848.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:197565271848f573d8138968ca776ba9a74720f802ce0af1a08a497f72c3bbd8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3558810424828743823.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:71c7647800366d5134ba0e00922b0328b0f75a99954d12e4f425e61863bdd5a1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3608742093532807396.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7a18b5f37cf8488c5eae10e334d481da775462fd61a2503bcfac4323f1c76b14
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, six, zipp, importlib-metadata, appdirs, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0d02c3ea10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.41s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #502

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/502/display/redirect>

Changes:


------------------------------------------
[...truncated 26.74 KB...]
+ echo 2859
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3045192546318799150.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1741446324591265760.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2363801542955085923.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3090151124023457218.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8084245196297114589.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=6524781e1e67d329a8179457bdfcddb405645bee6e9e57a71057c026db082ce1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, filelock, appdirs, six, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f76c50ada10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.40s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #501

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/501/display/redirect?page=changes>

Changes:

[github] Move checkout action to v2 (#2272)


------------------------------------------
[...truncated 27.16 KB...]
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7401699587334958631.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7700835230441919572.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins702573173346955194.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6522426194569151255.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2114888530823323339.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=eaa13d53533ec5a6ab9f0cf210f39310c801f4ce3ecf9cb66ced19db7dfdd489
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, six, appdirs, filelock, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7eff88381ed0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.40s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #500

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/500/display/redirect>

Changes:


------------------------------------------
[...truncated 27.02 KB...]
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins346397222805979707.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7272610250440322542.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8280873693065521788.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3647287370906877774.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1617995819923491842.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=a6c596627b584ac08a0e86a167e2b6f830488ded0322fcfabcc98704358ef3dc
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, appdirs, zipp, importlib-metadata, six, distlib, virtualenv, argcomplete, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0e85944390>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #499

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/499/display/redirect>

Changes:


------------------------------------------
[...truncated 28.67 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6315083293498196397.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8629454731209771424.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5566533461395217681.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1438403219298620661.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6052994738591230522.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.5-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2e269f67459cb95d68f14a0a9e380cb41145ba676f2ee05426fd2baf1f1185d3
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: appdirs, filelock, distlib, zipp, importlib-metadata, six, virtualenv, colorlog, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.5 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe03fbe4650>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.74s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #498

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/498/display/redirect>

Changes:


------------------------------------------
[...truncated 26.90 KB...]
+ echo 16975
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6385635311443831666.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8174084161209592206.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3574353261888525979.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins26903402259091128.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7640925053621870259.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=7f90655c7ed25db8b6c7f939037ce95bb94a96f5221d4bbc2a73ae8dfb4455c9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, py, filelock, distlib, appdirs, six, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8d75796450>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.41s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #497

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/497/display/redirect>

Changes:


------------------------------------------
[...truncated 28.18 KB...]
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
27f3323f0a58: Waiting
6df39ee1cdde: Waiting
ea74ff1569e8: Waiting
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
dc65f448a2e2: Pull complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:6f5d5cc9624c5bb4a360c0a27e2e1c5afe4358adf0b25fe14c9ee6198048eac0
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5473097828980569626.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6749434317581446620.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6780043275374298952.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:b104660eb48e8b71148f670a9404ede4211cdc16ef33fad3e01be84d4e4817ec
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3249207563981578921.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=256fef548f4b05be276bec87c42aa0a450a1e3f9dd4c6efe7d97af1f08e7bd0e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: filelock, six, zipp, importlib-metadata, appdirs, distlib, virtualenv, py, argcomplete, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2175379c90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #496

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/496/display/redirect>

Changes:


------------------------------------------
[...truncated 27.33 KB...]
Total reclaimed space: 37.07MB
+ docker network prune -f --filter until=12h
+ echo 23287
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7773506921706610909.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1854177759083231429.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7483282723763460294.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4888233763401472735.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5314134443565705866.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=46d0963f904831e4cd798f42b1ef64a9b65f717c93dfa49b1075326aaf8a46c9
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, distlib, six, appdirs, filelock, virtualenv, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f87c1f2e9d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.46s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #495

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/495/display/redirect?page=changes>

Changes:

[github] ISSUE #2218: Write customMetadata on ledgers created by DistributedLog


------------------------------------------
[...truncated 26.99 KB...]
+ docker network prune -f --filter until=12h
+ echo 15635
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6123733951433017187.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5874916421131506648.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1339538405388026856.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4301141947155912255.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4181042014495877483.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting zipp>=0.5
  Downloading zipp-3.0.0-py3-none-any.whl (4.8 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=6be013e01afd8db79c92ec0702865348650914d7368c1055aaea61779a69c6ea
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, appdirs, filelock, distlib, six, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-3.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8963392bd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #494

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/494/display/redirect?page=changes>

Changes:

[github] Fix method order in order to make the execution of TestEntryLog


------------------------------------------
[...truncated 26.61 KB...]
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
27f3323f0a58: Waiting
a3ca60abc08a: Waiting
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4453034656924470432.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Download complete
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6337980222835973664.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7302316512706107720.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2741768728017151031.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=05295404b95641d2d4a2bff4df6e2ccc80e2c78b33c4c2bb051b7a0e867e723e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, distlib, appdirs, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9fab67aa90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.42s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #493

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/493/display/redirect?page=changes>

Changes:

[github] Revert "bin/bookkeeper shell supports the -conf"


------------------------------------------
[...truncated 26.98 KB...]
9253bd2ee3f6: Pulling fs layer
a3ca60abc08a: Waiting
27f3323f0a58: Pulling fs layer
9253bd2ee3f6: Waiting
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
27f3323f0a58: Waiting
6df39ee1cdde: Waiting
ea74ff1569e8: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7622960373664575880.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4278839774910041851.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2927147928980216709.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1860663453508138758.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2a4aceaeeddffbaa2e0d912c78f17a92f305feea8cf940a5ade55f44f76210c1
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, six, filelock, appdirs, distlib, virtualenv, colorlog, argcomplete, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f347e1e9750>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.58s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #492

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/492/display/redirect>

Changes:


------------------------------------------
[...truncated 29.38 KB...]
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4188489381965010252.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Download complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8721961955026662491.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1954815047865859733.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7065227464886837547.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Pull complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9112900830469881093.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=d356bfec2a95be4eb5c04a00bbd7837d740042fd913cc7924ca7a44b588ef79e
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, six, distlib, appdirs, filelock, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2836a803d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.71s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #491

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/491/display/redirect?page=changes>

Changes:

[github] BP-38 Publish Bookie Service Info on Metadata Service

[eolivelli] Add BP-38 to list of approved releases


------------------------------------------
[...truncated 26.88 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1727069430031000635.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8559975404335932756.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Download complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7476197220865990661.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6823815192997305589.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6495132665430575223.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.4-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=f9c035c2f5161c3cbc6694cbc3e3dfc642c3cb0f2735de3bc9ec82bcf3e5701c
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: zipp, importlib-metadata, argcomplete, six, filelock, appdirs, distlib, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.4 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f45714e0550>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.68s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #490

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/490/display/redirect>

Changes:


------------------------------------------
[...truncated 27.06 KB...]
+ docker network prune -f --filter until=12h
+ echo 29254
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins921392436344895574.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2441180669100655308.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3109735963584597613.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1056583814535881710.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1820415993380861365.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.3-py2.py3-none-any.whl (4.6 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=2a1294280aa7081ae4fafecd325677a2ed519efe26d97ff87d0e2682f9f9dc45
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, filelock, six, appdirs, distlib, virtualenv, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.3 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f3ab22a0c50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.04s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #489

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/489/display/redirect>

Changes:


------------------------------------------
[...truncated 31.05 KB...]
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
27f3323f0a58: Waiting
ea74ff1569e8: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5539669560569476609.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4658386096314568032.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7424468771549779132.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2875866691336019409.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.2-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=01fe5f418b49426a8c1eea9b2c486d5ad7c5416d337d0a0f494b06ff30f8abf6
  Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: py, zipp, importlib-metadata, argcomplete, appdirs, distlib, six, filelock, virtualenv, colorlog, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.2 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f56dab6ef50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #488

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/488/display/redirect?page=changes>

Changes:

[github] Remove travis


------------------------------------------
[...truncated 28.68 KB...]
Deleted Containers:
5afd2fbf50d619a96defde60d52106ff06f797ccde151ee80e50d59175357a1f

Total reclaimed space: 38.55MB
+ docker network prune -f --filter until=12h
+ echo 3259
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8933322055016547164.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2391362043755403476.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4795223445489543186.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6734073296159256490.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6159057099614671377.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.1-py2.py3-none-any.whl (4.6 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, filelock, six, appdirs, virtualenv, colorlog, py, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.1 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f81d7828110>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.89s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #487

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/487/display/redirect>

Changes:


------------------------------------------
[...truncated 29.41 KB...]
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins9013018881840853109.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
6df39ee1cdde: Waiting
ea74ff1569e8: Waiting
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
ea74ff1569e8: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8292810446231079053.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2112957057869543629.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins526824928564342130.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1971367118402818928.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-20.0.0-py2.py3-none-any.whl (4.6 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Installing collected packages: colorlog, appdirs, filelock, six, zipp, importlib-metadata, virtualenv, py, argcomplete, nox
Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 filelock-3.0.12 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.0 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7faf7ae3e1d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.80s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #486

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/486/display/redirect>

Changes:


------------------------------------------
[...truncated 22.66 KB...]
root     24098     2     0 06:16:37  0.0  0.0 [kworker/9:0]
root     24103     2     0 09:41:56  0.0  0.0 [kworker/2:0]
root     24820     2     0 00:00:29  0.0  0.0 [kworker/19:2]
root     24863     2     0 00:00:29  0.0  0.0 [kworker/1:2]
root     25260     2     0 00:01:07  0.0  0.0 [kworker/20:0]
root     25294     2     0 08:13:39  0.0  0.0 [kworker/16:2]
root     26692     2     0   Feb 07  0.0  0.0 [kworker/6:0]
root     27170     2     0 00:04:21  0.0  0.0 [kworker/23:1]
root     28436     2     0 00:05:43  0.0  0.0 [kworker/2:2]
root     28477     2     0 00:05:43  0.0  0.0 [kworker/1:1]
root     28589     2     0   Feb 07  0.0  0.0 [kworker/17:2]
root     28903     2     0 12:09:21  0.0  0.0 [kworker/u65:2]
root     28906     2     0 12:09:21  0.0  0.0 [kworker/12:2]
root     28915     2     0 12:09:22  0.0  0.0 [kworker/u66:1]
root     29149     2     0 00:06:24  0.0  0.0 [kworker/20:2]
root     30462     2     0 11:09:33  0.0  0.0 [kworker/18:1]
root     31534     2     0 15:09:11  0.0  0.0 [kworker/5:1]
root     32286     2     0 12:20:06  0.0  0.0 [kworker/u65:1]
root     32609     2     0 22:47:42  0.0  0.0 [kworker/11:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 5
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-76-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
ac3e3bee8a1ccfe3912a80a2dd682dab588450c93390b100759762ac0b184feb

Total reclaimed space: 25.17MB
+ docker network prune -f --filter until=12h
+ echo 6238
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins954509015011368481.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8236165236362384209.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6688339810995906825.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins79379635564121702.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins562802897035300744.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Installing collected packages: py, virtualenv, zipp, importlib-metadata, argcomplete, colorlog, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd2860beb10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #485

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/485/display/redirect>

Changes:


------------------------------------------
[...truncated 22.66 KB...]
root     19370     2     0 05:18:34  0.0  0.0 [kworker/8:2]
root     20360     2     0 23:35:42  0.0  0.0 [kworker/23:0]
root     20469     2     0 11:45:34  0.0  0.0 [kworker/11:0]
root     20634     2     0 09:49:39  0.0  0.0 [kworker/23:1]
root     22349     2     0 00:45:56  0.0  0.0 [kworker/4:1]
root     23102  1287  1248 09:55:55  0.6  0.0 nessusd -q
root     23224     2     0 18:09:49  0.0  0.0 [kworker/18:2]
root     23676     2     0 08:42:25  0.0  0.0 [kworker/9:2]
root     23738     2     0 11:12:40  0.0  0.0 [kworker/7:0]
root     24265     2     0 06:39:33  0.0  0.0 [kworker/1:2]
root     26692     2     0 15:15:26  0.0  0.0 [kworker/6:0]
root     27301     2     0   Feb 07  0.0  0.0 [kworker/13:2]
root     28235     2     0 23:04:40  0.0  0.0 [kworker/1:0]
root     28469     2     0 23:39:20  0.0  0.0 [kworker/13:1]
root     28589     2     0 23:39:20  0.0  0.0 [kworker/17:2]
root     30703     2     0 12:02:21  0.0  0.0 [kworker/u65:0]
root     30828     2     0 10:11:25  0.0  0.0 [kworker/18:0]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 7
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-76-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
1fe7596e7349c93bce36fbaf460d30042bab3e4d529fe6ac54da96d47e1d1313

Total reclaimed space: 24.93MB
+ docker network prune -f --filter until=12h
+ echo 10362
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7690765036687025209.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7399339203781744951.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8663557452731310134.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1611136826049488835.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9026177228206491556.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.2.0-py36-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, colorlog, zipp, importlib-metadata, argcomplete, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.2.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fcba2f5cc50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #484

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/484/display/redirect>

Changes:


------------------------------------------
[...truncated 25.71 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5824467988264575537.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
ea74ff1569e8: Waiting
6df39ee1cdde: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
8ac92ddf84b3: Waiting
27f3323f0a58: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3331966756566269625.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
24817f242d67: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8587463437341097284.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2834955106997987984.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins538772107403441020.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f977cce0a90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #483

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/483/display/redirect>

Changes:


------------------------------------------
[...truncated 51.14 KB...]
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6663375330773671112.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
6df39ee1cdde: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
9253bd2ee3f6: Waiting
ea74ff1569e8: Waiting
27f3323f0a58: Waiting
6df39ee1cdde: Waiting
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dc65f448a2e2: Download complete
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
6df39ee1cdde: Verifying Checksum
6df39ee1cdde: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
6df39ee1cdde: Pull complete
Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins316246691080341295.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
24817f242d67: Pulling fs layer
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
24817f242d67: Verifying Checksum
24817f242d67: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
24817f242d67: Pull complete
Digest: sha256:8adf67de8bc2254c5d7ce0a9584cd5f600b074d79e9692eb5b51300bf7c351ae
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6444823181992115558.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
4174bddb44bc: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
4174bddb44bc: Verifying Checksum
4174bddb44bc: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
4174bddb44bc: Pull complete
Digest: sha256:24f39a9542911c29dc84b3c931b08735fb79562a8fbbc97339e41e4d5bb126f0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3132108865647442580.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
6f270af6d632: Pulling fs layer
e7a0eb0f6744: Pulling fs layer
e7a0eb0f6744: Waiting
6f270af6d632: Verifying Checksum
6f270af6d632: Download complete
306a7a6db7d6: Download complete
e7a0eb0f6744: Verifying Checksum
e7a0eb0f6744: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Download complete
62bb680d338b: Pull complete
6f270af6d632: Pull complete
e7a0eb0f6744: Pull complete
Digest: sha256:61938c3ec021c16bf55c8802ed8f2b180dccbfe4d9e87c6905b25eb34ef56f22
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7414878958181061533.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, py, virtualenv, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f4c09130dd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.51s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #482

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/482/display/redirect>

Changes:


------------------------------------------
[...truncated 35.04 KB...]
deleted: sha256:d5afb86ab14b52215038beb5ad3ad6a2b6a5dbc79737e4ac1a6b5db65b826201
deleted: sha256:edba7a48c29555d9716d13cec1b5e36515187254e77169b87bede142c2c2c711
deleted: sha256:d94e30aa4e25b0c8244c0571c6e94180ce98ef0c85f5e9a1d6547b1076625d06
deleted: sha256:0302a169342a2b278d03fa9a1c08d4e6974b3a52018b6eeb8434a2546cac5d4e
deleted: sha256:c44e09df912fdf435e43c681f6f749514766e2b9c9c56e91c933eafac9551eca
deleted: sha256:f4fb7a785de81523e33f4027ae3ca43c9b9ba9a0b7aea51da1b1e7f9b13c393c
deleted: sha256:62194556111b5a1b89bdcc9c1d09ecee2a344d066b10346af0b1ac109678ef6f
deleted: sha256:e60b2fb34a16dfd52c58fc7dc6044d0f8c80b4889ead91e30efc0ba62c87bc71
deleted: sha256:a54192acd997847e3370b4c2b1c0e1f42d4cd42d1f2a392315190028f265d9e1
deleted: sha256:527a49f2ff7f043756491a8e8e873bdd444a66c5ebc6fb76308dc4ed173ed4a2
deleted: sha256:a68210fa40261369e40c7d8a9e50252047658cfc7c403349a418c5d6ee112d33
deleted: sha256:a7bd433f5c7672fe28ab9b7b097125bb2a5d0cb66c45ea96bb95411f59996145
deleted: sha256:ed33839249013e9343815141cfac607a886eacca6237b1fea71788c0115873a5
deleted: sha256:0a8e88f22cbf95bcc2e9b03bb6bc9060d8d536b1788166017a8b480bcd0bda1c
deleted: sha256:c7bcbf9b0d5a8124bfb3f7e5a1dd3dcf77957436a72e9fe4d4613c092e4663ab
deleted: sha256:7328fc56ea826e1b3f093931d132a9ea50decd79bb9feeb4aefc770dc5aaca47
deleted: sha256:8db7aef355bdc5b8fafefdfc08b6ad3eec38562c6aac7a890ae290e54359eb9b
deleted: sha256:c79fb5e04a469f2eabea4a9667185912aa3dd3257b8d074abaaa4f2b9b9ebbd8
deleted: sha256:3171b3389c9874728a414f308cae4ebdb690b2fd13ec788c1e61d4656b8581de
deleted: sha256:da9db9d1b25d58f8c74858ca4da9632c7c71c87dff3b33961e8b04d9cff7c6dc
deleted: sha256:b82a9a2ea6c4c0b0e3820561d68be0888288ee2ebb5f81da44469bf3606709c8
deleted: sha256:b9ae1dba7ccf834f7d959aa49d0d5cd2a6ccf88f858acfd32e7143013f48f0f1
deleted: sha256:7d0cced7d29ed48746bf88e573d169eb883cfea7b1923f5261cc797c31a5ba36
deleted: sha256:d15f143c926906cc3d4672d985ccfa4a847b0003b886a81c88a58234f6b0a0a9
deleted: sha256:28f3c2192961adc27fd6c81763099724b0b54bf9d5274d38e230783710f5d5d1
deleted: sha256:6c27f278dc549b550df13d548a4203e850edb46754c570758cc01b4486392ea9
deleted: sha256:d180781c73d7cd8d65d77a839bc39625f70899f673f502d3cb33ce8c2978518c
deleted: sha256:1bcc3b73db34a15a1dc2af583808c22a9ae477a7f47c63240dab1724ff4e2b8b
deleted: sha256:c2ac97ed91a634637a9b26dd2727aa2c4f6f80f23f156bbcf83cf6f58210da5f
deleted: sha256:e514bc33c148b846596fdd9db52646aed4f5ff9798b2b11a18b645fdc6c20635
deleted: sha256:25e1652583032de47eda918e8701b4eefe680e6abfcc04202a6b5c216ffafb4a
deleted: sha256:45b004d2de5e0cd9a2250854bd94c37429eac55fab51f6848b25ad3c97176830
deleted: sha256:6e30a3e62fc6c4ca1eadae2f2d964251324b03d7c15329604c897b373154b9fd
deleted: sha256:fcecd40f293d83d5e19b5bb34ec851e7a8bc5624c71f48f6d243a697dcf9e744
deleted: sha256:161ae6d2a1eb63ff42ca869d15fc3f66e9ccaeb846f648d3b08fd5070ee85b3d
deleted: sha256:6e4c73b37c95f3fc9261560c7c63c594103dadd64d7bb754747def053e0bf777
deleted: sha256:cb982b93c01bf6348c605b16128dde446336bb0530cdb60af050d0bddbfd39dc
deleted: sha256:e4c2df274dad51e0e7cb564408f2b19912f2124aa036572b11fd7693ca833bb9
deleted: sha256:5adb17f15cd450cbb8da285ad365666fdc20f86d26c9b41e1665c2d0d11bd70b
deleted: sha256:22ddc5ca5b5882931ca33d2bda39af91ba11537495c6f4c9677ba961efdce1a0
deleted: sha256:bfd5f9dc44a2afdbe04641981145d6751aca9d000eb38ca53f3bddb57c3c7f05
deleted: sha256:dada5f7af62f0e3e09c3ca4bad8a5d6d42baacb6758a82e60e046e14a5834130
deleted: sha256:2045417a0ef3328f06a87578a6489423e4b0e342d51030ca9c72728b9df9977e
deleted: sha256:50af3b146534d3fe8606a14984ad8d05cb84867de7162a46f7b891f77b8a131a
deleted: sha256:85fab869e7497c5342c4972d1fb91ab4598809c4af9b512e7992d08ce46febe8
deleted: sha256:9d1aa2128618ce174e30fded7bc2d8d51ca1efb01a245b04492dbaec9e7d017d
deleted: sha256:3c7c40d5214af0564cf555dae6ae2f6843d5af7751573aa840c684d3b7dc0a05
deleted: sha256:c06062446b908d0e4ea1d42e348aa03e253fe16ab4d55687a293621d55596cbc
deleted: sha256:61f2b0c3536ada34c09f5100f437d2d9a56d5027cdb778b09ef72fe3cf5d8709
deleted: sha256:50a44b11d432ff66eb82d57a7fa5df92dfda46ef02f7aae19873f259b2227a96
deleted: sha256:918aa45a78f86c92c1273b242a84604dab3725a63c8f3667a24cb0bd756dfc62
deleted: sha256:5457a05d9117184e28c3d9c2f1fc0b14c178cd56ee8ef98604112b00f59963ca
deleted: sha256:5b56cda7cb6d0ceb65204f66663766af6315cafaf5036e0beae22a2a6b7f75c7
deleted: sha256:ccfc3a2f6bafa30d9ae0a0e9c252daa2317526bc420feb2bfc0d4826038872b3
deleted: sha256:1daff73ac8ff14b936c108a2d241d617c2b218950fdbb4250a3c2cb0e307cda8
deleted: sha256:d3b8ae98f7f840eb87c3ede204dba358df2fd790486fa0b4a5e9b2b9d0190ab3
deleted: sha256:58402e9e272b5721f3c6ec729c3a4f0b262bf9e007975b840854458eb2b31a9e
deleted: sha256:6d5fcfe5ff170471fcc3c8b47631d6d71202a1fd44cf3c147e50c8de21cf0648
deleted: sha256:195be5f8be1df6709dafbba7ce48f2eee785ab7775b88e0c115d8205407265c5
deleted: sha256:6073f62165b92a693648c0fd1116345d183628158c106f63479cfa47d2aa0fdb
deleted: sha256:11a80d87f9e21677aa39c4c63f279ae6cfc8a31b9f02a17895872952a44eb45d
deleted: sha256:5b5ab065d12454b4512238d0d5742cd0a125d70b5fa17aa4ea82a8d69f0aad62
deleted: sha256:8dd8631f5778043a1b06ac947d40866c9936d32cce248f79422aaf2cdec92459
deleted: sha256:6fac41c4e6e043d0d67afa327e5d911fd9895da64d76fea8ee599bcbd6f428f9
deleted: sha256:2fd7f2e44fe1de5504f18289ae668d70e855825494fbe59746c6bbecf4320c17
deleted: sha256:e59c5acd58264fe75914ce327ba8b3e665ad86c222f80c92d2a00138294bf891
deleted: sha256:2b3f4eeb344277171f09c95a574ccc111de47459338fd6ec0091ebca22fb5694
deleted: sha256:9db4748c0cd999b49abc8d5a1923cc5f5a8fadaee8e99a7ac629302906008827
deleted: sha256:4aade37d5b44c42dd76f0e3aa695651cf0f9ceabb1e62ae2a5e7b06186c1d669
deleted: sha256:1c30d37017ade55c0d323e6d4957a3da019b6cec685d8224424ec519dc8bdc13
deleted: sha256:2812abaccd3aadae87ea7208a4971ab5f18ba3b67756472c9c1ab2ea54d7fa84

Total reclaimed space: 7.687GB
+ docker network prune -f --filter until=12h
+ echo 28946
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4050054220923738106.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8269626385107955145.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4549091911237766854.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9197142613771066377.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3455324729441249143.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, virtualenv, colorlog, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2562d67a90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.58s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #481

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/481/display/redirect>

Changes:


------------------------------------------
[...truncated 46.71 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6039796580133788383.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
1e7d1a31f70a: Pulling fs layer
8ac92ddf84b3: Waiting
a3ca60abc08a: Waiting
ea74ff1569e8: Waiting
9253bd2ee3f6: Waiting
1e7d1a31f70a: Waiting
27f3323f0a58: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
1e7d1a31f70a: Verifying Checksum
1e7d1a31f70a: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
1e7d1a31f70a: Pull complete
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3191382199560453624.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
e224e4eafa9b: Pulling fs layer
e224e4eafa9b: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
e224e4eafa9b: Verifying Checksum
e224e4eafa9b: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
e224e4eafa9b: Pull complete
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins419938790925641655.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
dcca466073a6: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
dcca466073a6: Verifying Checksum
dcca466073a6: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
dcca466073a6: Pull complete
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3232671538428351901.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
cf7c654f874c: Pulling fs layer
d808faf2b346: Pulling fs layer
d808faf2b346: Waiting
cf7c654f874c: Verifying Checksum
cf7c654f874c: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
d808faf2b346: Verifying Checksum
d808faf2b346: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
cf7c654f874c: Pull complete
d808faf2b346: Pull complete
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2562893753141481992.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, colorlog, zipp, importlib-metadata, argcomplete, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f774d1ddc50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.34s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #480

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/480/display/redirect>

Changes:


------------------------------------------
[...truncated 29.26 KB...]
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7108855518724376856.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
1e7d1a31f70a: Pulling fs layer
a3ca60abc08a: Waiting
27f3323f0a58: Waiting
1e7d1a31f70a: Waiting
8ac92ddf84b3: Waiting
9253bd2ee3f6: Waiting
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
dc65f448a2e2: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
9253bd2ee3f6: Verifying Checksum
9253bd2ee3f6: Download complete
ea74ff1569e8: Verifying Checksum
ea74ff1569e8: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
1e7d1a31f70a: Verifying Checksum
1e7d1a31f70a: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
1e7d1a31f70a: Pull complete
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2867588510973580020.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
e224e4eafa9b: Pulling fs layer
e224e4eafa9b: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
e224e4eafa9b: Verifying Checksum
e224e4eafa9b: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
e224e4eafa9b: Pull complete
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6068036179274733434.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
dcca466073a6: Pulling fs layer
e763153caaaf: Verifying Checksum
e763153caaaf: Download complete
dcca466073a6: Download complete
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
dcca466073a6: Pull complete
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6365239218900163130.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
cf7c654f874c: Pulling fs layer
d808faf2b346: Pulling fs layer
d808faf2b346: Waiting
cf7c654f874c: Verifying Checksum
cf7c654f874c: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
d808faf2b346: Verifying Checksum
d808faf2b346: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
cf7c654f874c: Pull complete
d808faf2b346: Pull complete
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2758209942384612600.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, zipp, importlib-metadata, argcomplete, py, colorlog, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f961ce2bbd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.61s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #479

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/479/display/redirect>

Changes:


------------------------------------------
[...truncated 39.51 KB...]
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins85464497745265536.sh
+ docker pull python:3.7
3.7: Pulling from library/python
dc65f448a2e2: Pulling fs layer
346ffb2b67d7: Pulling fs layer
dea4ecac934f: Pulling fs layer
8ac92ddf84b3: Pulling fs layer
a3ca60abc08a: Pulling fs layer
9253bd2ee3f6: Pulling fs layer
27f3323f0a58: Pulling fs layer
ea74ff1569e8: Pulling fs layer
1e7d1a31f70a: Pulling fs layer
a3ca60abc08a: Waiting
8ac92ddf84b3: Waiting
9253bd2ee3f6: Waiting
27f3323f0a58: Waiting
ea74ff1569e8: Waiting
1e7d1a31f70a: Waiting
dea4ecac934f: Verifying Checksum
dea4ecac934f: Download complete
346ffb2b67d7: Verifying Checksum
346ffb2b67d7: Download complete
dc65f448a2e2: Verifying Checksum
dc65f448a2e2: Download complete
9253bd2ee3f6: Download complete
8ac92ddf84b3: Verifying Checksum
8ac92ddf84b3: Download complete
ea74ff1569e8: Download complete
a3ca60abc08a: Verifying Checksum
a3ca60abc08a: Download complete
dc65f448a2e2: Pull complete
1e7d1a31f70a: Download complete
27f3323f0a58: Verifying Checksum
27f3323f0a58: Download complete
346ffb2b67d7: Pull complete
dea4ecac934f: Pull complete
8ac92ddf84b3: Pull complete
a3ca60abc08a: Pull complete
9253bd2ee3f6: Pull complete
27f3323f0a58: Pull complete
ea74ff1569e8: Pull complete
1e7d1a31f70a: Pull complete
Digest: sha256:177d12ebaec2293a91da2acafef9593f8c4a4ee16cc0cf5e41f28fa215e56c47
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1870755826824269395.sh
+ docker pull python:3.6
3.6: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Pulling fs layer
465553161802: Pulling fs layer
48a6aaac4f1e: Pulling fs layer
e224e4eafa9b: Pulling fs layer
e224e4eafa9b: Waiting
48a6aaac4f1e: Verifying Checksum
48a6aaac4f1e: Download complete
465553161802: Verifying Checksum
465553161802: Download complete
e224e4eafa9b: Verifying Checksum
e224e4eafa9b: Download complete
c3b874b43f86: Verifying Checksum
c3b874b43f86: Download complete
c3b874b43f86: Pull complete
465553161802: Pull complete
48a6aaac4f1e: Pull complete
e224e4eafa9b: Pull complete
Digest: sha256:26ed85fcc830f71f6ecc9131d0a0ddc93ef91054ab8c9dd64d8c18bb72730dfe
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7841314081789442112.sh
+ docker pull python:3.5
3.5: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
c3b874b43f86: Already exists
f7fec24fc7ce: Pulling fs layer
e763153caaaf: Pulling fs layer
dcca466073a6: Pulling fs layer
e763153caaaf: Download complete
dcca466073a6: Verifying Checksum
dcca466073a6: Download complete
f7fec24fc7ce: Verifying Checksum
f7fec24fc7ce: Download complete
f7fec24fc7ce: Pull complete
e763153caaaf: Pull complete
dcca466073a6: Pull complete
Digest: sha256:f22b82e1615788f2d106fc80f9f85178a6d1147f4c869f63a82d888f2a4b6530
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins452935269038116446.sh
+ docker pull python:2.7
2.7: Pulling from library/python
dc65f448a2e2: Already exists
346ffb2b67d7: Already exists
dea4ecac934f: Already exists
8ac92ddf84b3: Already exists
a3ca60abc08a: Already exists
306a7a6db7d6: Pulling fs layer
62bb680d338b: Pulling fs layer
cf7c654f874c: Pulling fs layer
d808faf2b346: Pulling fs layer
d808faf2b346: Waiting
cf7c654f874c: Verifying Checksum
cf7c654f874c: Download complete
306a7a6db7d6: Verifying Checksum
306a7a6db7d6: Download complete
62bb680d338b: Verifying Checksum
62bb680d338b: Download complete
d808faf2b346: Verifying Checksum
d808faf2b346: Download complete
306a7a6db7d6: Pull complete
62bb680d338b: Pull complete
cf7c654f874c: Pull complete
d808faf2b346: Pull complete
Digest: sha256:35e09ea760e7b9b855f6fb72c396ed1c60256f10d3df64777148c00a1ce9998c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7573807287364063368.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, colorlog, py, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd8b8b6f6d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.34s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #478

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/478/display/redirect>

Changes:


------------------------------------------
[...truncated 66.12 KB...]
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/jenkins5753220708063784660.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
666534959f2b: Waiting
420e7f932707: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6951232470839017068.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
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/jenkins6016590359100401805.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
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/jenkins6771617901064568539.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
a755ea00feee: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
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/jenkins3842905018720138717.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: virtualenv, colorlog, py, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fed747cd810>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.72s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #477

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/477/display/redirect?page=changes>

Changes:

[github] Website: update Gemfile dependencies

[github] [CODE-STYLE] fix build failure for check-style


------------------------------------------
[...truncated 38.87 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3150985777745098489.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
27622921edb2: Waiting
666534959f2b: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7286755195966553736.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
c0ce162fa4e3: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6154358702597823811.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7230038359649939410.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2260273638258855507.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, py, zipp, importlib-metadata, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ffa1e4b1e90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.31s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #476

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/476/display/redirect>

Changes:


------------------------------------------
[...truncated 25.58 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3161495896780836272.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
61cf1e8f9385: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
666534959f2b: Waiting
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins228227531270628673.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8555484281077251548.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
82f5b3145ad2: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6077292268181583773.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
ef6ca6913068: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1195278914624471075.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7a4811cbd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.36s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #475

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/475/display/redirect>

Changes:


------------------------------------------
[...truncated 1017.87 KB...]
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1338009822529925429.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
420e7f932707: Waiting
a79fc60597da: Waiting
61cf1e8f9385: Waiting
666534959f2b: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7889791366179136508.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1472991599059961970.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6698663139241260531.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins907797237382635182.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: py, virtualenv, zipp, importlib-metadata, argcomplete, colorlog, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f472c1576d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.82s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #474

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/474/display/redirect?page=changes>

Changes:

[eolivelli] Remove Jenkins precommit jobs and fix checkstyle errors


------------------------------------------
[...truncated 29.10 KB...]
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins165528292022191989.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
27622921edb2: Waiting
420e7f932707: Waiting
666534959f2b: Waiting
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
666534959f2b: Verifying Checksum
666534959f2b: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8503756361773887102.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6689886758254884492.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6989079786431496940.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
a91a6037ab89: Waiting
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9036710643926037147.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: zipp, importlib-metadata, argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5a51653850>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.31s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #473

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/473/display/redirect>

Changes:


------------------------------------------
[...truncated 22.38 KB...]
root     23940     2     0 03:40:26  0.0  0.0 [kworker/14:2]
root     24027     2     0 11:49:07  0.0  0.0 [kworker/u66:0]
postfix  25245  2369  2369 11:05:08  0.0  0.0 pickup -l -t unix -u -c
root     26230     2     0 07:38:28  0.0  0.0 [kworker/11:0]
root     26478     2     0 07:39:02  0.0  0.0 [kworker/14:0]
root     28422     2     0   Jan 26  0.0  0.0 [kworker/23:1]
root     28712     2     0   Jan 26  0.0  0.0 [kworker/0:0]
root     28850     2     0 07:46:43  0.0  0.0 [kworker/12:2]
root     28910     2     0   Jan 25  0.0  0.0 [kworker/1:4]
root     29621     2     0   Jan 24  0.0  0.0 [kworker/12:1]
root     29665     2     0   Jan 25  0.0  0.0 [kworker/11:1]
root     29757     2     0 12:07:18  0.0  0.0 [kworker/u65:1]
root     30352     2     0 12:09:02  0.0  0.0 [kworker/20:0]
root     31607     2     0 17:04:10  0.0  0.0 [kworker/8:2]
root     32313     2     0   Jan 24  0.0  0.0 [kworker/22:2]
root     32702     2     0 11:10:21  0.0  0.0 [kworker/6:1]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 16
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-74-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
489169f432187bc3b7741b2fab60488dc6eb99b45def62f60f07ca2b98c0a826

Total reclaimed space: 24.88MB
+ docker network prune -f --filter until=12h
+ echo 5261
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2681733285884532798.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4743249642213162765.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1520205015259753864.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2722992695739385237.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4705108958462443149.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f66c1ebf550>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.31s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #472

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/472/display/redirect?page=changes>

Changes:

[eolivelli] Website: add EOL tag to navbar


------------------------------------------
[...truncated 22.40 KB...]
root     26477     2     0 11:17:53  0.0  0.0 [kworker/23:0]
root     27406     2     0 02:39:02  0.0  0.0 [kworker/18:1]
root     28422     2     0 03:38:01  0.0  0.0 [kworker/23:1]
root     28548     2     0 22:20:41  0.0  0.0 [loop1]
root     28712     2     0 05:18:27  0.0  0.0 [kworker/0:0]
root     28721     2     0 22:20:44  0.0  0.0 [kworker/22:0]
root     28842     2     0   Jan 25  0.0  0.0 [kworker/21:2]
root     28859     2     0 22:20:50  0.0  0.0 [kworker/4:1]
root     28879     2     0 22:20:50  0.0  0.0 [kworker/14:0]
root     28910     2     0 22:20:51  0.0  0.0 [kworker/1:4]
root     29411     2     0   Jan 25  0.0  0.0 [kworker/7:0]
root     29621     2     0   Jan 24  0.0  0.0 [kworker/12:1]
root     29665     2     0 22:22:58  0.0  0.0 [kworker/11:1]
root     30569     2     0 22:25:53  0.0  0.0 [kworker/14:1]
root     31484     2     0 10:23:11  0.0  0.0 [kworker/u66:1]
root     32313     2     0   Jan 24  0.0  0.0 [kworker/22:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 52
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-74-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
a28ea06eb32deaa44bab4cf4231b2a28a03362858f5e35191a87d582981e1e22

Total reclaimed space: 25.14MB
+ docker network prune -f --filter until=12h
+ echo 18670
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8872946334934820566.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1891986730494783348.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2695035048413122331.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6761815500047893643.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8588680913398592412.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB)
Installing collected packages: py, virtualenv, colorlog, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f90d9b63450>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.33s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #471

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/471/display/redirect>

Changes:


------------------------------------------
[...truncated 25.40 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6917857554502580308.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
666534959f2b: Pulling fs layer
61cf1e8f9385: Waiting
dcfa0aa1ae2c: Waiting
27622921edb2: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
666534959f2b: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
666534959f2b: Download complete
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
666534959f2b: Pull complete
Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7697548247329414474.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
c0ce162fa4e3: Pulling fs layer
c0ce162fa4e3: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
c0ce162fa4e3: Verifying Checksum
c0ce162fa4e3: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
c0ce162fa4e3: Pull complete
Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5962158532415486485.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
82f5b3145ad2: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
82f5b3145ad2: Verifying Checksum
82f5b3145ad2: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
82f5b3145ad2: Pull complete
Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1765068119726427613.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
d3ef4ceaf881: Pulling fs layer
a91a6037ab89: Pulling fs layer
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a91a6037ab89: Verifying Checksum
a91a6037ab89: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
d3ef4ceaf881: Verifying Checksum
d3ef4ceaf881: Download complete
a755ea00feee: Pull complete
d3ef4ceaf881: Pull complete
a91a6037ab89: Pull complete
Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6810172272970254165.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.0.1-py3-none-any.whl (4.1 kB)
Collecting more-itertools
  Downloading more_itertools-8.1.0-py3-none-any.whl (41 kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.1
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd30d832110>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.30s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #470

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/470/display/redirect>

Changes:


------------------------------------------
[...truncated 46.09 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins567784798167562944.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
fabe0658d13d: Pulling fs layer
61cf1e8f9385: Waiting
27622921edb2: Waiting
420e7f932707: Waiting
dcfa0aa1ae2c: Waiting
fabe0658d13d: Waiting
a79fc60597da: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Download complete
fabe0658d13d: Verifying Checksum
fabe0658d13d: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
fabe0658d13d: Pull complete
Digest: sha256:c32ff2169aab72296ea164af97c2ade8eb809010becc968116436756bd556e6f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3571594011965088921.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
11f9d8faa61d: Pulling fs layer
11f9d8faa61d: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
11f9d8faa61d: Verifying Checksum
11f9d8faa61d: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
11f9d8faa61d: Pull complete
Digest: sha256:a91aa1e212ae2f1ec3a63c2f948ef90f37d1fa4aebbfec3e124b8a1f0011b1fa
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6242632401315806330.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
6764741fb394: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
6764741fb394: Verifying Checksum
6764741fb394: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
6764741fb394: Pull complete
Digest: sha256:be6cd26148ebbfa8433fd44a5bd784c237314f845f3738732a034ace202d9967
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6348360968988441350.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
2b1beed6350e: Pulling fs layer
10b1b584ac88: Pulling fs layer
10b1b584ac88: Waiting
2b1beed6350e: Verifying Checksum
2b1beed6350e: Download complete
ef6ca6913068: Download complete
10b1b584ac88: Verifying Checksum
10b1b584ac88: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a755ea00feee: Pull complete
2b1beed6350e: Pull complete
10b1b584ac88: Pull complete
Digest: sha256:a625c36660feebe71636964af12fe0b5df8a76f2917134f8eecb5a5e5fb2a4d9
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3212216660646041287.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB)
Collecting virtualenv>=14.0.0
  Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB)
Collecting py<2.0.0,>=1.4.0
  Downloading py-1.8.1-py2.py3-none-any.whl (83 kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading importlib_metadata-1.4.0-py2.py3-none-any.whl (29 kB)
Collecting zipp>=0.5
  Downloading zipp-2.0.1-py3-none-any.whl (4.1 kB)
Collecting more-itertools
  Downloading more_itertools-8.1.0-py3-none-any.whl (41 kB)
Installing collected packages: colorlog, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.1
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe558560d50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.41s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #469

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/469/display/redirect>

Changes:


------------------------------------------
[...truncated 40.94 KB...]
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5581726709444381450.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
61cf1e8f9385: Waiting
dcfa0aa1ae2c: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
a79fc60597da: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8867881935636221991.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6200799610862681695.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Download complete
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8319349380274710522.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3164610449927407494.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/e1/0f/c25ab0632254f276599b664c3b9973f537a04910130321e0fb936806ff40/zipp-2.0.1-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.1
WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f02d6100e50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.53s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #468

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/468/display/redirect?page=changes>

Changes:

[guosijie] Increase the 'segment store path' in the 'Initializing stream cluster'

[guosijie] Create ledgersRootPath recursively for 'bin/bookkeeper shell metaformat'

[guosijie] [HOTFIX] fix the http endpoint component count error

[guosijie] [HOTFIX] [DOCS] remove redundant word in protocol documents

[guosijie] [HOTFIX] [DOCS] fix error in leger api document

[guosijie] Website: Update Release Management for new Time Based Release Plan

[guosijie] [CI] Migrate the Jenkins CI to Github Action

[guosijie] bin/bookkeeper shell supports the -conf


------------------------------------------
[...truncated 201.21 KB...]
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
quay.io/coreos/etcd:v3.3
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1425795969042951326.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
27622921edb2: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins92744528338710538.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5174306714700510988.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7029747061475829802.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5370066163100169861.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/45/d8/f1e05f399573d2b4723dae1c1f1487dd2e7871c79ed32da741f49faaa226/zipp-2.0.0-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: colorlog, py, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.0
WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fcef3a1b210>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.59s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #467

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/467/display/redirect>

Changes:


------------------------------------------
[...truncated 40.56 KB...]
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6040834004632474981.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2681097370933968900.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Download complete
5bf324b44232: Verifying Checksum
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7399699797635202269.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4149755259069286515.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3510054725483948481.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/45/d8/f1e05f399573d2b4723dae1c1f1487dd2e7871c79ed32da741f49faaa226/zipp-2.0.0-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.0
WARNING: You are using pip version 19.3.1; however, version 20.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
Command pip install flake8 failed with exit code 1:
Traceback (most recent call last):
  File "/opt/bookkeeper/.nox/lint/bin/pip", line 8, in <module>
    sys.exit(main())
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
    module = importlib.import_module(module_path)
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module>
    from pip._internal.cli.req_command import RequirementCommand
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
    from pip._internal.operations.prepare import RequirementPreparer
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module>
    from pip._internal.distributions import (
  File "/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module>
    from pip._internal.distributions.source import SourceDistribution
ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py)
Session lint failed.
Running session lint_setup_py
Creating virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
Command pip install docutils Pygments failed with exit code 1:
Traceback (most recent call last):
  File "/opt/bookkeeper/.nox/lint_setup_py/bin/pip", line 8, in <module>
    sys.exit(main())
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
    module = importlib.import_module(module_path)
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module>
    from pip._internal.cli.req_command import RequirementCommand
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
    from pip._internal.operations.prepare import RequirementPreparer
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module>
    from pip._internal.distributions import (
  File "/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module>
    from pip._internal.distributions.source import SourceDistribution
ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py)
Session lint_setup_py failed.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
Command pip install mock pytest pytest-cov failed with exit code 1:
Traceback (most recent call last):
  File "/opt/bookkeeper/.nox/unit-3-7/bin/pip", line 8, in <module>
    sys.exit(main())
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
    module = importlib.import_module(module_path)
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module>
    from pip._internal.cli.req_command import RequirementCommand
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 20, in <module>
    from pip._internal.operations.prepare import RequirementPreparer
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 16, in <module>
    from pip._internal.distributions import (
  File "/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module>
    from pip._internal.distributions.source import SourceDistribution
ImportError: cannot import name 'SourceDistribution' from 'pip._internal.distributions.source' (/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/pip/_internal/distributions/source/__init__.py)
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: failed
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #466

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/466/display/redirect>

Changes:


------------------------------------------
[...truncated 176.17 KB...]
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1385041244306881547.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4363746806230685316.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1502015113374693247.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
f99c95492c1b: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5008798708728259058.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9007498541685411777.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/45/d8/f1e05f399573d2b4723dae1c1f1487dd2e7871c79ed32da741f49faaa226/zipp-2.0.0-py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, colorlog, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f482c560b10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.59s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #465

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/465/display/redirect>

Changes:


------------------------------------------
[...truncated 38.92 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3750179769054419629.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
0d43f60045d6: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6037685827488638147.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3568879103167181843.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
3aa5767a1ba2: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1199998723057051366.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2848601698977159720.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f167cd5b810>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.52s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #464

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/464/display/redirect?page=changes>

Changes:

[eolivelli] [bookie-server] add support of client auto cert refresh


------------------------------------------
[...truncated 40.84 KB...]
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins620544294730802738.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
0d43f60045d6: Waiting
61cf1e8f9385: Waiting
27622921edb2: Waiting
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9061263078755700876.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6455988630158855942.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7866323548400536635.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2011404364507112559.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: virtualenv, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb83067f090>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.32s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #463

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/463/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H29 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        remote: Counting objects:  50% (2/4)        remote: Counting objects:  75% (3/4)        remote: Counting objects: 100% (4/4)        remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects:  25% (1/4)        remote: Compressing objects:  50% (2/4)        remote: Compressing objects:  75% (3/4)        remote: Compressing objects: 100% (4/4)        remote: Compressing objects: 100% (4/4), done.        
Receiving objects:   0% (1/126120)   Receiving objects:   1% (1262/126120)   Receiving objects:   2% (2523/126120)   Receiving objects:   3% (3784/126120)   Receiving objects:   4% (5045/126120)   Receiving objects:   5% (6306/126120)   Receiving objects:   6% (7568/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:   7% (8829/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:   8% (10090/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:   9% (11351/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  10% (12612/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  11% (13874/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  12% (15135/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  13% (16396/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  14% (17657/126120), 5.87 MiB | 11.73 MiB/s   Receiving objects:  14% (18904/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  15% (18918/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  16% (20180/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  17% (21441/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  18% (22702/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  19% (23963/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  20% (25224/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  21% (26486/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  22% (27747/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  23% (29008/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  24% (30269/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  25% (31530/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  26% (32792/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  27% (34053/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  28% (35314/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  29% (36575/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  30% (37836/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  31% (39098/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  32% (40359/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  33% (41620/126120), 12.08 MiB | 12.07 MiB/s   Receiving objects:  34% (42881/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  35% (44142/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  36% (45404/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  37% (46665/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  38% (47926/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  39% (49187/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  40% (50448/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  41% (51710/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  42% (52971/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  43% (54232/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  44% (55493/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  45% (56754/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  46% (58016/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  47% (59277/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  48% (60538/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  48% (61671/126120), 19.88 MiB | 13.25 MiB/s   Receiving objects:  49% (61799/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  50% (63060/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  51% (64322/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  52% (65583/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  53% (66844/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  54% (68105/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  55% (69366/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  56% (70628/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  57% (71889/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  58% (73150/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  59% (74411/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  60% (75672/126120), 28.14 MiB | 14.07 MiB/s   Receiving objects:  61% (76934/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  62% (78195/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  63% (79456/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  64% (80717/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  65% (81978/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  66% (83240/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  67% (84501/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  68% (85762/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  69% (87023/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  70% (88284/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  71% (89546/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  72% (90807/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  73% (92068/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  74% (93329/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  75% (94590/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  76% (95852/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  77% (97113/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  78% (98374/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  79% (99635/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  80% (100896/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  81% (102158/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  82% (103419/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  83% (104680/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  84% (105941/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  85% (107202/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  86% (108464/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  86% (109177/126120), 34.96 MiB | 13.98 MiB/s   Receiving objects:  87% (109725/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  88% (110986/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  89% (112247/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  90% (113508/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  91% (114770/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  92% (116031/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  93% (117292/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  94% (118553/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  95% (119814/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  96% (121076/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  97% (122337/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  98% (123598/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects:  99% (124859/126120), 41.61 MiB | 13.87 MiB/s   remote: Total 126120 (delta 0), reused 0 (delta 0), pack-reused 126116        
Receiving objects: 100% (126120/126120), 41.61 MiB | 13.87 MiB/s   Receiving objects: 100% (126120/126120), 45.65 MiB | 13.74 MiB/s, done.
Resolving deltas:   0% (0/76191)   fatal: unable to create thread: Resource temporarily unavailable
fatal: index-pack failed

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor1081.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy152.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        remote: Counting objects:  50% (2/4)        remote: Counting objects:  75% (3/4)        remote: Counting objects: 100% (4/4)        remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects:  25% (1/4)        remote: Compressing objects:  50% (2/4)        remote: Compressing objects:  75% (3/4)        remote: Compressing objects: 100% (4/4)        remote: Compressing objects: 100% (4/4), done.        
Receiving objects:   0% (1/126120)   Receiving objects:   1% (1262/126120)   Receiving objects:   2% (2523/126120)   Receiving objects:   3% (3784/126120)   Receiving objects:   4% (5045/126120)   Receiving objects:   5% (6306/126120)   Receiving objects:   6% (7568/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:   7% (8829/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:   8% (10090/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:   9% (11351/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  10% (12612/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  11% (13874/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  12% (15135/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  13% (16396/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  14% (17657/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  15% (18918/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  15% (19852/126120), 5.97 MiB | 11.94 MiB/s   Receiving objects:  16% (20180/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  17% (21441/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  18% (22702/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  19% (23963/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  20% (25224/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  21% (26486/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  22% (27747/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  23% (29008/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  24% (30269/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  25% (31530/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  26% (32792/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  27% (34053/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  28% (35314/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  29% (36575/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  30% (37836/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  31% (39098/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  32% (40359/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  33% (41620/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  34% (42881/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  35% (44142/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  36% (45404/126120), 12.91 MiB | 12.91 MiB/s   Receiving objects:  37% (46665/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  38% (47926/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  39% (49187/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  40% (50448/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  41% (51710/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  42% (52971/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  43% (54232/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  44% (55493/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  45% (56754/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  46% (58016/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  47% (59277/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  48% (60538/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  49% (61799/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  50% (63060/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  50% (63504/126120), 20.76 MiB | 13.84 MiB/s   Receiving objects:  51% (64322/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  52% (65583/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  53% (66844/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  54% (68105/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  55% (69366/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  56% (70628/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  57% (71889/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  58% (73150/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  59% (74411/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  60% (75672/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  61% (76934/126120), 28.76 MiB | 14.38 MiB/s   Receiving objects:  62% (78195/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  63% (79456/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  64% (80717/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  65% (81978/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  66% (83240/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  67% (84501/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  68% (85762/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  69% (87023/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  70% (88284/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  71% (89546/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  72% (90807/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  73% (92068/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  74% (93329/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  75% (94590/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  76% (95852/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  77% (97113/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  78% (98374/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  79% (99635/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  80% (100896/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  81% (102158/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  82% (103419/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  83% (104680/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  84% (105941/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  85% (107202/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  86% (108464/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  87% (109725/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  87% (110903/126120), 35.50 MiB | 14.20 MiB/s   Receiving objects:  88% (110986/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  89% (112247/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  90% (113508/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  91% (114770/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  92% (116031/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  93% (117292/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  94% (118553/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  95% (119814/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  96% (121076/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  97% (122337/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  98% (123598/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects:  99% (124859/126120), 42.00 MiB | 14.00 MiB/s   remote: Total 126120 (delta 0), reused 0 (delta 0), pack-reused 126116        
Receiving objects: 100% (126120/126120), 42.00 MiB | 14.00 MiB/s   Receiving objects: 100% (126120/126120), 45.65 MiB | 13.87 MiB/s, done.
Resolving deltas:   0% (0/76191)   fatal: unable to create thread: Resource temporarily unavailable
fatal: index-pack failed

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor1081.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy136.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        remote: Counting objects:  50% (2/4)        remote: Counting objects:  75% (3/4)        remote: Counting objects: 100% (4/4)        remote: Counting objects: 100% (4/4), done.        
remote: Compressing objects:  25% (1/4)        remote: Compressing objects:  50% (2/4)        remote: Compressing objects:  75% (3/4)        remote: Compressing objects: 100% (4/4)        remote: Compressing objects: 100% (4/4), done.        
Receiving objects:   0% (1/126120)   Receiving objects:   1% (1262/126120)   Receiving objects:   2% (2523/126120)   Receiving objects:   3% (3784/126120)   Receiving objects:   4% (5045/126120)   Receiving objects:   5% (6306/126120)   Receiving objects:   6% (7568/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:   7% (8829/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:   8% (10090/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:   9% (11351/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  10% (12612/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  11% (13874/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  12% (15135/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  13% (16396/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  14% (17657/126120), 5.97 MiB | 11.93 MiB/s   Receiving objects:  14% (18903/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  15% (18918/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  16% (20180/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  17% (21441/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  18% (22702/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  19% (23963/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  20% (25224/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  21% (26486/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  22% (27747/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  23% (29008/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  24% (30269/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  25% (31530/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  26% (32792/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  27% (34053/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  28% (35314/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  29% (36575/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  30% (37836/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  31% (39098/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  32% (40359/126120), 12.01 MiB | 12.00 MiB/s   Receiving objects:  33% (41620/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  34% (42881/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  35% (44142/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  36% (45404/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  37% (46665/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  38% (47926/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  39% (49187/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  40% (50448/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  41% (51710/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  42% (52971/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  43% (54232/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  44% (55493/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  45% (56754/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  46% (58016/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  47% (59277/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  48% (60538/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  48% (60880/126120), 19.71 MiB | 13.13 MiB/s   Receiving objects:  49% (61799/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  50% (63060/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  51% (64322/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  52% (65583/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  53% (66844/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  54% (68105/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  55% (69366/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  56% (70628/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  57% (71889/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  58% (73150/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  59% (74411/126120), 27.63 MiB | 13.81 MiB/s   Receiving objects:  60% (75672/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  61% (76934/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  62% (78195/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  63% (79456/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  64% (80717/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  65% (81978/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  66% (83240/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  67% (84501/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  68% (85762/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  69% (87023/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  70% (88284/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  71% (89546/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  72% (90807/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  73% (92068/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  74% (93329/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  75% (94590/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  76% (95852/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  77% (97113/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  78% (98374/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  79% (99635/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  80% (100896/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  81% (102158/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  82% (103419/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  83% (104680/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  84% (105941/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  85% (107202/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  85% (107304/126120), 34.61 MiB | 13.83 MiB/s   Receiving objects:  86% (108464/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  87% (109725/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  88% (110986/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  89% (112247/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  90% (113508/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  91% (114770/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  92% (116031/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  93% (117292/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  94% (118553/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  95% (119814/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  96% (121076/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  97% (122337/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  98% (123598/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects:  99% (124859/126120), 41.27 MiB | 13.75 MiB/s   remote: Total 126120 (delta 0), reused 0 (delta 0), pack-reused 126116
Receiving objects: 100% (126120/126120), 41.27 MiB | 13.75 MiB/s   Receiving objects: 100% (126120/126120), 45.65 MiB | 13.64 MiB/s, done.
Resolving deltas:   0% (0/76191)   fatal: unable to create thread: Resource temporarily unavailable
fatal: index-pack failed

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H29
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor1081.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy136.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #462

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/462/display/redirect>

Changes:


------------------------------------------
[...truncated 45.94 KB...]
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/jenkins2212060269170874242.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
a79fc60597da: Waiting
27622921edb2: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:d64c9b3d97e57a8df37ec1c4db9be638660efe0d8703f9679cc1254358a9136d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5448735516716497775.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8121019376433923052.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2340315443062708189.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:70d507f8b21af83dcc3f67746885549e6bc3fc987c3cf39e147afadfb7d6767e
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1939173629124345775.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb2a0258990>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.32s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #461

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/461/display/redirect>

Changes:


------------------------------------------
[...truncated 46.71 KB...]
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4043572243843463621.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
0d43f60045d6: Waiting
420e7f932707: Waiting
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Download complete
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2644975800298903687.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6958759921927258787.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3154701066948564205.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8928349791941503702.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f881f7f3790>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.69s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #460

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/460/display/redirect>

Changes:


------------------------------------------
[...truncated 183.52 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7945912885951778079.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
a79fc60597da: Waiting
420e7f932707: Waiting
dcfa0aa1ae2c: Waiting
0d43f60045d6: Waiting
61cf1e8f9385: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6530322049075575369.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6804739416301548270.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8524328977604703804.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8117674886451972369.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, virtualenv, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-1.0.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ffb52432d10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.53s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #459

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/459/display/redirect>

Changes:


------------------------------------------
[...truncated 169.28 KB...]
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/jenkins4521843109179057136.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1472285996180356147.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3187444536794247743.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5608847920771719933.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6288844853696349416.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: virtualenv, colorlog, py, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff762bf06d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.53s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #458

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/458/display/redirect>

Changes:


------------------------------------------
[...truncated 823.52 KB...]
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
0d21c3944fd034b5a9cd32fd994d11b1337db6cb87c845704a8d712a7553e202
8007b5fc1b09a97240bf2124b5ef523338e71eb6c16d1c3df3918ff90e6885a5

Total reclaimed space: 225.9MB
+ docker network prune -f --filter until=12h
+ echo 11888
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins648598513842982966.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4749260198621659573.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8133263254555503313.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7307104999546698809.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8183598357039529019.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl (41kB)
Installing collected packages: py, virtualenv, colorlog, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.1.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f93123fe090>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.83s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #457

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/457/display/redirect>

Changes:


------------------------------------------
[...truncated 36.71 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins9028363180286918411.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
0d43f60045d6: Waiting
61cf1e8f9385: Waiting
420e7f932707: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7979927046948892194.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1166441651919464772.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
f99c95492c1b: Download complete
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2581152823775654044.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Pull complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5952101576590625260.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, py, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.4.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd345cc1c50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.31s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #456

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/456/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H23 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot create thread: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off sideband demultiplexer

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H23
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot create thread: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off sideband demultiplexer

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H23
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy137.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot create thread: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off sideband demultiplexer

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H23
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy137.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #455

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/455/display/redirect>

Changes:


------------------------------------------
[...truncated 602.30 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1779398021443598208.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
a79fc60597da: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
a79fc60597da: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7891051749045852067.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5097806350692001314.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2740012627672389935.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4764049237171914310.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fdc77a2c7d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.67s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #454

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/454/display/redirect>

Changes:


------------------------------------------
[...truncated 68.47 KB...]
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4040376790863393185.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
420e7f932707: Waiting
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
0d43f60045d6: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5258933488677961290.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Download complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6475563322885973469.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1861982643039495148.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2555487834211199672.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, py, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f80bb372310>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #453

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/453/display/redirect?page=changes>

Changes:

[zhaijia] ISSUE #2224: Config ServerConfiguration with setAllowLoopback(true) for


------------------------------------------
[...truncated 194.17 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3708435459425928100.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
a79fc60597da: Waiting
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
27622921edb2: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8098147630516437247.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1389868374092216720.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6831983529638315139.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6716329231981844376.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, py, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fadb018d510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.59s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #452

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/452/display/redirect?page=changes>

Changes:

[github] Remove Twitter Libraries


------------------------------------------
[...truncated 517.77 KB...]
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/jenkins8348310617197166246.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
a79fc60597da: Waiting
61cf1e8f9385: Waiting
dcfa0aa1ae2c: Waiting
0d43f60045d6: Waiting
420e7f932707: Waiting
27622921edb2: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4617551431511390432.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
59b774443140: Waiting
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Verifying Checksum
ca7e1bbea389: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1079283319571765328.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Verifying Checksum
93578379e072: Download complete
f99c95492c1b: Verifying Checksum
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4497196534492544802.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Download complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8325291106098805848.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe03eefe550>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #451

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/451/display/redirect?page=changes>

Changes:

[github] Account Apache Thrift and Http Client files in LICENSE files - Fix build


------------------------------------------
[...truncated 157.22 KB...]
  Paused: 0
  Stopped: 3
 Images: 43
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-72-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
ddc9af4aab46b7268609f03ce8877bb2bf0cdb7a348f6dcc5b6a70d0dc024917
d4a89c82a593626ebc27d889cc6237dbebc253c2b0877d3e0da1da60f8e8bc6f
c89165e84aa0fbad953d2e0d664f678bc29a46a89546ad4e258a6e90787d5581

Total reclaimed space: 448.1MB
+ docker network prune -f --filter until=12h
+ echo 21762
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1741665545808308577.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3099564801888395647.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1017305304432173646.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9025728321955449410.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8413966834837621301.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: py, colorlog, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f77ec649c90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.31s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #450

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/450/display/redirect>

Changes:


------------------------------------------
[...truncated 159.31 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins53563796515398388.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
61cf1e8f9385: Pulling fs layer
a79fc60597da: Pulling fs layer
420e7f932707: Pulling fs layer
0d43f60045d6: Pulling fs layer
dcfa0aa1ae2c: Waiting
61cf1e8f9385: Waiting
a79fc60597da: Waiting
420e7f932707: Waiting
0d43f60045d6: Waiting
27622921edb2: Waiting
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
61cf1e8f9385: Verifying Checksum
61cf1e8f9385: Download complete
420e7f932707: Verifying Checksum
420e7f932707: Download complete
a79fc60597da: Verifying Checksum
a79fc60597da: Download complete
0d43f60045d6: Verifying Checksum
0d43f60045d6: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
61cf1e8f9385: Pull complete
a79fc60597da: Pull complete
420e7f932707: Pull complete
0d43f60045d6: Pull complete
Digest: sha256:97f0322088ad4b2a5ee94433dda7d7f2d4ec0958fde9a9bc815952699a418e8a
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4687719419183018175.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Pulling fs layer
5bf324b44232: Pulling fs layer
a2d410a0f39c: Pulling fs layer
59b774443140: Pulling fs layer
a2d410a0f39c: Verifying Checksum
a2d410a0f39c: Download complete
ca7e1bbea389: Download complete
59b774443140: Verifying Checksum
59b774443140: Download complete
5bf324b44232: Verifying Checksum
5bf324b44232: Download complete
ca7e1bbea389: Pull complete
5bf324b44232: Pull complete
a2d410a0f39c: Pull complete
59b774443140: Pull complete
Digest: sha256:abfd5683f44ce0f1f362f09d9b4fb127284a74be51175ef091fd9ea6db6b2548
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4682980166880307468.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ca7e1bbea389: Already exists
3aa5767a1ba2: Pulling fs layer
93578379e072: Pulling fs layer
f99c95492c1b: Pulling fs layer
93578379e072: Download complete
f99c95492c1b: Download complete
3aa5767a1ba2: Verifying Checksum
3aa5767a1ba2: Download complete
3aa5767a1ba2: Pull complete
93578379e072: Pull complete
f99c95492c1b: Pull complete
Digest: sha256:24c07ac8b90fd483e746e4c04b8ed5153898a25398122f99519dad7534ef7ab0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4097763345829892316.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins880268465500202959.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f47b27a2450>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.33s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #449

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/449/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H30 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H30
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1753)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:329)
	at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:232)
	at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 20 more
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:916)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:708)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H30
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:914)
	... 11 more
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 15 more
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
ERROR: Workspace has a .git repository, but it appears to be corrupt.
hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1753)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:329)
	at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:232)
	at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 20 more
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:916)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:708)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H30
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy144.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Error performing git command
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2181)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2140)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2136)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1741)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:914)
	... 11 more
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at hudson.Proc$LocalProc.<init>(Proc.java:270)
	at hudson.Proc$LocalProc.<init>(Proc.java:219)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:937)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2168)
	... 15 more
ERROR: Error cloning remote repo 'origin'
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #448

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/448/display/redirect>

Changes:


------------------------------------------
[...truncated 160.87 KB...]

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
3952769af07f7e2c1d9409321485ece1a6f7099a2a32aad4e7aaec6ed6a9a2e6
46c7c2344e47ced054175f1643712e18908f24e2f67b148a3bf6b1f25a29de5e
4ca926092863f8225c3ce411a56d3fd5768dd90880f2f74572834deac71b7b76
b5cc802f39f79a7fb60e39f21081c5dbb55a70b284922b1be3d69a942ad9cd8b
eb8f6ab1bbd310b6bc3d24b9d01f052b06945aa4da9a0291d147353f4f1e5a4f
251506f0d617b77c0929d2728d64ba6040cd39a91380de8debd9f930320553b2

Total reclaimed space: 872.6MB
+ docker network prune -f --filter until=12h
+ echo 2681
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2509651702616000483.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7817974121704795684.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
19c1a74b577a: Verifying Checksum
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
190933fd4f3c: Verifying Checksum
190933fd4f3c: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4002028468300841436.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
05a09ad199ee: Download complete
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1594028661936563449.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3013067288634037366.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/00/0d/22c73c2eccb21dd3498df7d22c0b1d4a30f5a5fb3feb64e1ce06bc247747/colorlog-4.1.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, py, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.1.0 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f6a536272d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.34s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #447

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/447/display/redirect>

Changes:


------------------------------------------
[...truncated 161.79 KB...]
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7831685571541414427.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
bf6840af9e70: Pulling fs layer
167665d59281: Pulling fs layer
ffc544588c7f: Pulling fs layer
27622921edb2: Waiting
dcfa0aa1ae2c: Waiting
4ebe99df65fe: Pulling fs layer
167665d59281: Waiting
bf6840af9e70: Waiting
ffc544588c7f: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
bf6840af9e70: Verifying Checksum
bf6840af9e70: Download complete
ffc544588c7f: Verifying Checksum
ffc544588c7f: Download complete
167665d59281: Verifying Checksum
167665d59281: Download complete
4ebe99df65fe: Verifying Checksum
4ebe99df65fe: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
bf6840af9e70: Pull complete
167665d59281: Pull complete
ffc544588c7f: Pull complete
4ebe99df65fe: Pull complete
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5866038275761287085.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
190933fd4f3c: Verifying Checksum
190933fd4f3c: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6524452330484752978.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Download complete
84effbe3c265: Verifying Checksum
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3357770117013334102.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
bebb4b693476: Waiting
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3854959104696177770.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2374057f90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.34s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #446

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/446/display/redirect>

Changes:


------------------------------------------
[...truncated 48.49 KB...]
deleted: sha256:c59bb3c5f3079b1225ffeeada70dfff0ed6f0e0d9f62b1a750aec6b85645aa12
deleted: sha256:26be3767efaa9e80f108cba9e2245be53b80ca0b8276129a670a175179140ee0
deleted: sha256:dae394d7dd4abb39aa24b6e1f93ac4da8628d47c8a01af23e7a73448c48764c8
deleted: sha256:da765f9fe3884c344112639df69b56ea1ef68c74464bec1385d56527ee25046b
deleted: sha256:cd26d043cbc08ae5fccf22856530ab778f0cb7ac255124a94157e8e5aad87c93
deleted: sha256:8cb09481e4a72fa531d7876113d7fd99ed4bd6990ec86046c5bfcddb7838e98f
deleted: sha256:34053b419ac27d97c53880ee1a6ff987bbe918e2ad827da511830e028f84ee96
deleted: sha256:a70b7aa6983b9bba9f4ad1c2db441c61f06203e224601e43a73572cea1c7a860
deleted: sha256:134d231ae767d35bb3353404f9d81407b80e70ba8adb16268e7c74739860c576
deleted: sha256:4d824fe5c04b6d40f8013fa8e9b54a36e135d40542c7e7bfb69c385f271f6827
deleted: sha256:ecb40ed9b9acc6a4329675d0fb17689aafb0e3246160f3a58e23acaba70d1972
deleted: sha256:9cd8bd4b6496357a093737a4c0276c2a9dcdf97162049c26c5aa3ff8df676da6

Total reclaimed space: 6.634GB
+ docker network prune -f --filter until=12h
+ echo 7835
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4907914688210019770.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3508484506786214495.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
19c1a74b577a: Verifying Checksum
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Download complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7160544229554968718.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5571887244092855476.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7990304991255833255.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, py, colorlog, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd388900790>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.42s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #445

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/445/display/redirect>

Changes:


------------------------------------------
[...truncated 27.96 KB...]
root     30136     2     0 13:09:10  0.0  0.0 [kworker/7:1]
root     30177  7851  7851   Nov 21  0.0  0.0 /usr/bin/unpigz -d -c
root     30229  7851  7851   Nov 28  0.0  0.0 /usr/bin/unpigz -d -c
root     30601  7851  7851   Nov 28  0.0  0.0 /usr/bin/unpigz -d -c
root     30624  7851  7851   Nov 29  0.0  0.0 /usr/bin/unpigz -d -c
root     30679  7851  7851   Nov 26  0.0  0.0 /usr/bin/unpigz -d -c
root     30723  7851  7851   Dec 17  0.0  0.0 /usr/bin/unpigz -d -c
root     30896  7851  7851   Nov 22  0.0  0.0 /usr/bin/unpigz -d -c
root     31207  7851  7851   Dec 05  0.0  0.0 /usr/bin/unpigz -d -c
root     31274     2     0   Nov 05  0.0  0.0 [loop2]
root     31524  7851  7851   Dec 13  0.0  0.0 /usr/bin/unpigz -d -c
root     31776     2     0 12:09:05  0.0  0.0 [kworker/8:1]
root     31949     2     0 14:09:05  0.0  0.0 [kworker/u50:1]
root     31953  7851  7851   Dec 03  0.0  0.0 /usr/bin/unpigz -d -c
root     31961     2     0 14:09:05  0.0  0.0 [kworker/10:1]
root     32263     2     0 14:10:04  0.0  0.0 [kworker/4:0]
root     32419     1 32418   Oct 24  0.0  0.0 /usr/bin/python kif.py --daemonize
root     32450  7851  7851   Nov 23  0.0  0.0 /usr/bin/unpigz -d -c
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 156
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-66-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 47.15GiB
 Name: asf944.gq1.ygridcore.net
 ID: Q6WX:6H3Q:7AAB:CI6K:BESV:7AQT:FWNT:E2DB:WA3P:PUI2:XICE:Q3W6
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 7609
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2924360300347963461.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6964583522300838905.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2438528631698795059.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1262572818615319229.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4745997881180182602.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: py, colorlog, virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff6c9ca3890>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.62s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #444

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/444/display/redirect>

Changes:


------------------------------------------
[...truncated 24.86 KB...]
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1076067389052772656.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
bf6840af9e70: Pulling fs layer
167665d59281: Pulling fs layer
ffc544588c7f: Pulling fs layer
4ebe99df65fe: Pulling fs layer
bf6840af9e70: Waiting
dcfa0aa1ae2c: Waiting
167665d59281: Waiting
ffc544588c7f: Waiting
4ebe99df65fe: Waiting
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
bf6840af9e70: Verifying Checksum
bf6840af9e70: Download complete
27622921edb2: Verifying Checksum
27622921edb2: Download complete
ffc544588c7f: Verifying Checksum
ffc544588c7f: Download complete
167665d59281: Verifying Checksum
167665d59281: Download complete
4ebe99df65fe: Verifying Checksum
4ebe99df65fe: Download complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
bf6840af9e70: Pull complete
167665d59281: Pull complete
ffc544588c7f: Pull complete
4ebe99df65fe: Pull complete
Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1889108638975219033.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
19c1a74b577a: Download complete
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
190933fd4f3c: Verifying Checksum
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4186027952587755193.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
05a09ad199ee: Download complete
84effbe3c265: Verifying Checksum
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins666632972553494111.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins70492463398262927.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7fdf7c94d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.33s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #443

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/443/display/redirect>

Changes:


------------------------------------------
[...truncated 31.07 KB...]
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5395921608380619540.sh
+ docker pull python:3.7
3.7: Pulling from library/python
8f0fdd3eaac0: Pulling fs layer
d918eaefd9de: Pulling fs layer
43bf3e3107f5: Pulling fs layer
27622921edb2: Pulling fs layer
dcfa0aa1ae2c: Pulling fs layer
bf6840af9e70: Pulling fs layer
167665d59281: Pulling fs layer
ffc544588c7f: Pulling fs layer
4ebe99df65fe: Pulling fs layer
dcfa0aa1ae2c: Waiting
ffc544588c7f: Waiting
4ebe99df65fe: Waiting
bf6840af9e70: Waiting
27622921edb2: Waiting
43bf3e3107f5: Verifying Checksum
43bf3e3107f5: Download complete
d918eaefd9de: Verifying Checksum
d918eaefd9de: Download complete
8f0fdd3eaac0: Download complete
bf6840af9e70: Verifying Checksum
bf6840af9e70: Download complete
27622921edb2: Download complete
ffc544588c7f: Download complete
167665d59281: Verifying Checksum
167665d59281: Download complete
4ebe99df65fe: Verifying Checksum
4ebe99df65fe: Download complete
8f0fdd3eaac0: Pull complete
dcfa0aa1ae2c: Verifying Checksum
dcfa0aa1ae2c: Download complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete
27622921edb2: Pull complete
dcfa0aa1ae2c: Pull complete
bf6840af9e70: Pull complete
167665d59281: Pull complete
ffc544588c7f: Pull complete
4ebe99df65fe: Pull complete
Digest: sha256:61d9223e5ec34cb0e4d56bed4e60266a2b8dcfd79d438dfa1e2c3b07ac867be5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1313038817839181299.sh
+ docker pull python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Pulling fs layer
190933fd4f3c: Pulling fs layer
19c1a74b577a: Pulling fs layer
562058a56b13: Pulling fs layer
562058a56b13: Waiting
9ee4d048aeb9: Verifying Checksum
9ee4d048aeb9: Download complete
19c1a74b577a: Verifying Checksum
19c1a74b577a: Download complete
562058a56b13: Verifying Checksum
562058a56b13: Download complete
9ee4d048aeb9: Pull complete
190933fd4f3c: Verifying Checksum
190933fd4f3c: Download complete
190933fd4f3c: Pull complete
19c1a74b577a: Pull complete
562058a56b13: Pull complete
Digest: sha256:961f5c1e76266eaa0e6fdf086f4691e6660ba4a472321590ecea6851822e8dfb
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8151210883920654281.sh
+ docker pull python:3.5
3.5: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
9ee4d048aeb9: Already exists
84effbe3c265: Pulling fs layer
d55f8e42ab47: Pulling fs layer
05a09ad199ee: Pulling fs layer
d55f8e42ab47: Verifying Checksum
d55f8e42ab47: Download complete
05a09ad199ee: Verifying Checksum
05a09ad199ee: Download complete
84effbe3c265: Download complete
84effbe3c265: Pull complete
d55f8e42ab47: Pull complete
05a09ad199ee: Pull complete
Digest: sha256:ea41e0f707d27855b7c9d5254b68980eb4738101ce1232ec7d7eabd70cbde4d6
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7452728179687938478.sh
+ docker pull python:2.7
2.7: Pulling from library/python
8f0fdd3eaac0: Already exists
d918eaefd9de: Already exists
43bf3e3107f5: Already exists
27622921edb2: Already exists
dcfa0aa1ae2c: Already exists
ef6ca6913068: Pulling fs layer
a755ea00feee: Pulling fs layer
74b6f9ff9fd6: Pulling fs layer
bebb4b693476: Pulling fs layer
74b6f9ff9fd6: Verifying Checksum
74b6f9ff9fd6: Download complete
ef6ca6913068: Verifying Checksum
ef6ca6913068: Download complete
a755ea00feee: Verifying Checksum
a755ea00feee: Download complete
bebb4b693476: Verifying Checksum
bebb4b693476: Download complete
ef6ca6913068: Pull complete
a755ea00feee: Pull complete
74b6f9ff9fd6: Pull complete
bebb4b693476: Pull complete
Digest: sha256:c3c609b4e9113ed9a27056c6e3ff20035b84a277befc53644310490596f0f453
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7488949379898262151.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff18e887b90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.54s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #442

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/442/display/redirect>

Changes:


------------------------------------------
[...truncated 38.76 KB...]
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4969243018524631605.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
8659dae93050: Waiting
c8208a94eb32: Waiting
465b26a31c40: Waiting
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
84af071ddf6f: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
465b26a31c40: Verifying Checksum
465b26a31c40: Download complete
84af071ddf6f: Verifying Checksum
84af071ddf6f: Download complete
c8208a94eb32: Verifying Checksum
c8208a94eb32: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8567934683652375340.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
e74d16bb3da5: Download complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
49a8841b38a3: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6360121678431941689.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
7f9543eceb89: Verifying Checksum
7f9543eceb89: Download complete
a51b3a6a7ae1: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7769412336837412851.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3391007003084167894.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: py, more-itertools, zipp, importlib-metadata, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f3d2c4aa090>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.69s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #441

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/441/display/redirect>

Changes:


------------------------------------------
[...truncated 495.60 KB...]
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/jenkins4776263229706656778.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
465b26a31c40: Waiting
c8208a94eb32: Waiting
84af071ddf6f: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
465b26a31c40: Verifying Checksum
465b26a31c40: Download complete
84af071ddf6f: Verifying Checksum
84af071ddf6f: Download complete
c8208a94eb32: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2499959807396770038.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
e74d16bb3da5: Verifying Checksum
e74d16bb3da5: Download complete
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
49a8841b38a3: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6282042934743721506.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
a51b3a6a7ae1: Verifying Checksum
a51b3a6a7ae1: Download complete
7f9543eceb89: Verifying Checksum
7f9543eceb89: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7365072844925914466.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4556527391469628883.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting importlib-metadata<2,>=0.23; python_version == "3.7"
  Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting more-itertools
  Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB)
Installing collected packages: colorlog, more-itertools, zipp, importlib-metadata, argcomplete, virtualenv, py, nox
Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9 zipp-0.6.0
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc9bcdcac50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.70s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #440

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/440/display/redirect>

Changes:


------------------------------------------
Failed to access build log

Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at hudson.FilePath.act(FilePath.java:1072)
		at hudson.FilePath.act(FilePath.java:1061)
		at hudson.FilePath.toURI(FilePath.java:1206)
		at hudson.tasks.MailSender.createFailureMail(MailSender.java:321)
		at hudson.tasks.MailSender.createMail(MailSender.java:181)
		at hudson.tasks.MailSender.run(MailSender.java:111)
		at hudson.tasks.Mailer.perform(Mailer.java:175)
		at hudson.tasks.Mailer.perform(Mailer.java:138)
		at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
		at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
		at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
		at hudson.model.Build$BuildExecution.post2(Build.java:186)
		at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
		at hudson.model.Run.execute(Run.java:1840)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:717)
	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at hudson.remoting.DelegatingExecutorService.submit(DelegatingExecutorService.java:42)
	at hudson.remoting.InterceptingExecutorService.submit(InterceptingExecutorService.java:46)
	at hudson.remoting.InterceptingExecutorService.submit(InterceptingExecutorService.java:41)
	at org.jenkinsci.remoting.util.AnonymousClassWarnings.check(AnonymousClassWarnings.java:65)
	at org.jenkinsci.remoting.util.AnonymousClassWarnings$1.annotateClass(AnonymousClassWarnings.java:121)
	at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1290)
	at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1231)
	at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1322)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
	at hudson.remoting.Command.writeTo(Command.java:109)
	at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:43)
	at hudson.remoting.Channel.send(Channel.java:723)
	at hudson.remoting.Request.call(Request.java:160)
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:286)
	at com.sun.proxy.$Proxy5.fetch3(Unknown Source)
	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:209)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredField(Class.java:2068)
	at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1857)
	at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:79)
	at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:506)
	at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:494)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:494)
	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:391)
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:681)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
	at hudson.remoting.UserRequest.deserialize(UserRequest.java:291)
	at hudson.remoting.UserRequest.perform(UserRequest.java:190)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused: java.io.IOException: Remote call on H26 failed
	at hudson.remoting.Channel.call(Channel.java:963)
	at hudson.FilePath.act(FilePath.java:1072)
	at hudson.FilePath.act(FilePath.java:1061)
	at hudson.FilePath.toURI(FilePath.java:1206)
	at hudson.tasks.MailSender.createFailureMail(MailSender.java:321)
	at hudson.tasks.MailSender.createMail(MailSender.java:181)
	at hudson.tasks.MailSender.run(MailSender.java:111)
	at hudson.tasks.Mailer.perform(Mailer.java:175)
	at hudson.tasks.Mailer.perform(Mailer.java:138)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
	at hudson.model.Run.execute(Run.java:1840)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)

Build failed in Jenkins: bookkeeper_postcommit_master_python #439

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/439/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H26 (ubuntu) in workspace <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/apache/bookkeeper.git
 > git init <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:758)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy146.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy142.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/bookkeeper.git # timeout=10
Fetching upstream changes from https://github.com/apache/bookkeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/bookkeeper.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
	at hudson.scm.SCM.checkout(SCM.java:504)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress -- https://github.com/apache/bookkeeper.git +refs/heads/*:refs/remotes/origin/* +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H26
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:957)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
		at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
		at com.sun.proxy.$Proxy142.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
		at hudson.scm.SCM.checkout(SCM.java:504)
		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
		at hudson.model.Run.execute(Run.java:1815)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #438

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/438/display/redirect?page=changes>

Changes:

[eolivelli] Fixed bin/bookkeeper shell readjournal


------------------------------------------
[...truncated 479.61 KB...]
root     26363 22034 22034   Dec 17  0.0  0.0 /usr/bin/unpigz -d -c
root     26708     2     0   Nov 05  0.0  0.0 [loop5]
root     27152     2     0 09:40:02  0.0  0.0 [kworker/3:2]
root     27182     2     0   Dec 21  0.0  0.0 [kworker/2:0]
root     27251 22034 22034   Dec 18  0.0  0.0 /usr/bin/unpigz -d -c
root     28745     2     0   Dec 21  0.0  0.0 [kworker/13:2]
root     29031 22034 22034   Dec 17  0.0  0.0 /usr/bin/unpigz -d -c
root     29309 22034 22034   Dec 03  0.0  0.0 /usr/bin/unpigz -d -c
root     29347 22034 22034   Nov 27  0.0  0.0 /usr/bin/unpigz -d -c
root     29999     2     0   Dec 22  0.0  0.0 [kworker/9:2]
root     30053     2     0 03:09:33  0.0  0.0 [kworker/14:1]
root     30141 22034 22034   Nov 29  0.0  0.0 /usr/bin/unpigz -d -c
root     30235     2     0   Dec 21  0.0  0.0 [kworker/23:0]
root     30376     2     0 17:18:27  0.0  0.0 [kworker/6:1]
root     30669     2     0   Dec 04  0.0  0.0 [loop4]
root     30885     2     0   Dec 04  0.0  0.0 [loop8]
jenkins  30942     1 30942   Dec 13  0.0  0.0 gpg-agent --homedir /home/jenkins/jenkins-slave/workspace/ase_Nightly_HBASE-22114-branch-1/.gpg --use-standard-socket --daemon
root     31807 22034 22034   Dec 20  0.0  0.0 /usr/bin/unpigz -d -c
root     32195 22034 22034   Dec 16  0.0  0.0 /usr/bin/unpigz -d -c
root     32295     2     0 12:39:20  0.0  0.0 [kworker/22:1]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 132
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-66-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.39GiB
 Name: asf935.gq1.ygridcore.net
 ID: IGQ4:MYOD:IV7X:JQ43:NRWL:7NPX:6EHA:ZAZK:Q25R:D6JA:PDWF:V7KV
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
8ae7036623b2848ed375f986d47499926da34dd629c2f00c63f54c0d62d70cac

Total reclaimed space: 22.64MB
+ docker network prune -f --filter until=12h
+ echo 21826
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3318778259727244018.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7305406659521970320.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1615915746374234742.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4682806940876832336.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2500057878980094767.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fceb7cd2510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.72s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #437

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/437/display/redirect>

Changes:


------------------------------------------
[...truncated 486.35 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4131262215235142125.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
8659dae93050: Waiting
465b26a31c40: Waiting
c8208a94eb32: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
465b26a31c40: Download complete
c8208a94eb32: Verifying Checksum
c8208a94eb32: Download complete
84af071ddf6f: Verifying Checksum
84af071ddf6f: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1447765360606099541.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
e74d16bb3da5: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5400240716185929086.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
a51b3a6a7ae1: Verifying Checksum
a51b3a6a7ae1: Download complete
7f9543eceb89: Verifying Checksum
7f9543eceb89: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8156514548790704408.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9027290770658903467.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f54c2aeb550>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.64s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #436

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/436/display/redirect>

Changes:


------------------------------------------
[...truncated 30.34 KB...]
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins116410657506349474.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
c8208a94eb32: Pulling fs layer
465b26a31c40: Pulling fs layer
84af071ddf6f: Pulling fs layer
465b26a31c40: Waiting
84af071ddf6f: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
c8208a94eb32: Verifying Checksum
c8208a94eb32: Download complete
465b26a31c40: Verifying Checksum
465b26a31c40: Download complete
84af071ddf6f: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
c8208a94eb32: Pull complete
465b26a31c40: Pull complete
84af071ddf6f: Pull complete
Digest: sha256:4ce3a6ba2c2103d50ac59d18d46a484ad1b489b89609f548ef78f02d43eaecf9
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5283828508605699451.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
4280fae8cb4d: Pulling fs layer
e74d16bb3da5: Pulling fs layer
29d55d3d8def: Pulling fs layer
29d55d3d8def: Waiting
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
e74d16bb3da5: Verifying Checksum
e74d16bb3da5: Download complete
29d55d3d8def: Verifying Checksum
29d55d3d8def: Download complete
49a8841b38a3: Pull complete
4280fae8cb4d: Verifying Checksum
4280fae8cb4d: Download complete
4280fae8cb4d: Pull complete
e74d16bb3da5: Pull complete
29d55d3d8def: Pull complete
Digest: sha256:28b9e7ce5d8ad3e9105eedb241dbd619e4ccfe8343ac8605ac47782e33466d63
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4748074017278329962.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
41e5ba508e8e: Pulling fs layer
a51b3a6a7ae1: Pulling fs layer
7f9543eceb89: Pulling fs layer
a51b3a6a7ae1: Verifying Checksum
a51b3a6a7ae1: Download complete
7f9543eceb89: Download complete
41e5ba508e8e: Verifying Checksum
41e5ba508e8e: Download complete
41e5ba508e8e: Pull complete
a51b3a6a7ae1: Pull complete
7f9543eceb89: Pull complete
Digest: sha256:10d6ab775e328176a729de071ad4b51cf71536ff7a621c65a35ea8bd5ce3e068
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5764163736413004233.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
c6a05aec329f: Pulling fs layer
a12780a25ba8: Pulling fs layer
19d4c19e02fb: Pulling fs layer
19d4c19e02fb: Waiting
a12780a25ba8: Verifying Checksum
a12780a25ba8: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
c6a05aec329f: Verifying Checksum
c6a05aec329f: Download complete
19d4c19e02fb: Verifying Checksum
19d4c19e02fb: Download complete
02ced85d1576: Pull complete
c6a05aec329f: Pull complete
a12780a25ba8: Pull complete
19d4c19e02fb: Pull complete
Digest: sha256:c99e3995896e491d65941dd380bffb98219be7ac77dce85a701258034a9d3207
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5497773174222701215.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1a95770290>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.58s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #435

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/435/display/redirect>

Changes:


------------------------------------------
[...truncated 521.83 KB...]
deleted: sha256:3a8118d7bb8881265718d45f47c1373e40228b9d90093428cf7b16578cc9419d
deleted: sha256:f969383e7776c4b4f1679fb9f5cc273f2a6be07fe5ba09e0e0a3efe4f5cb74ce
deleted: sha256:e7ed101590155715ea282a9621d446bdb4b2352eeae7ba47fbca04e96cbaf4b2
deleted: sha256:61d085a8079121d66ef36469e7afb12b89ac8df6b34cd843b33483bebcd3c3be
deleted: sha256:8f961dc819c34632b7b018b59efd65cc29bc5317b6753c25819d4493eb30b967
deleted: sha256:89ce4c1a135cf9466a4f013db4309d5fcf20b4d36aa6e7969345c985fedcf5e6
deleted: sha256:1dd43c0b71f9f5f94c13824fed84e7326fcf73a5fb107234f8af2d2db7a8752d
deleted: sha256:b53111dc89837b54920021116fc07da0f9ccbb67cca031bdf7d02ea045e9ce44
deleted: sha256:1e25c40b4c1bd2b847e41d51057a507b097ec593135aa64f32759b2860a4a9d8
deleted: sha256:6a7d411e4f7401ea219fcd57cc3be172cd0ecd77ba80f2af4ab8b77fc6368a76
deleted: sha256:a24583e937104bb4982030a1b81fae38ac086f039ebb92f5c0a4900f4e659d1c
deleted: sha256:3efa631e498cfa84bcbc0caa28076445298bbf7d4033df38ebb98384d93b9cfe
deleted: sha256:e9ea0805ab2a97bfba1a691db70d3de157384fb0a43c6e0da38b9ce8133b4281
deleted: sha256:8874db6054c44e87e6233de16fdacefbacb7dd1c91b0647089276491a2e41a6c

Total reclaimed space: 7.314GB
+ docker network prune -f --filter until=12h
+ echo 3820
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins406243399155826745.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8418321016590696066.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2295676175272670500.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6780554382642985423.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4969929520733556231.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f6f10abb750>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.86s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #434

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/434/display/redirect>

Changes:


------------------------------------------
[...truncated 529.97 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6308239290889710896.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
c648cb7fc575: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2941877942991355618.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5111891052364674648.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins224681243111548025.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2223048511132438201.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f618b08ed50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.42s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #433

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/433/display/redirect>

Changes:


------------------------------------------
[...truncated 48.04 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4522116890462457528.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
1da0ab556051: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3620047807737547527.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
3e19e7d95a0c: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1423140384931959623.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7776386032642212538.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8114711880140094795.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5c4118d3d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.32s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #432

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/432/display/redirect>

Changes:


------------------------------------------
[...truncated 43.15 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6279097567201264850.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7271827462767124691.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2682908687681601032.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8164447870848830252.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins470851907076060568.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f13b4818e90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.75s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #431

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/431/display/redirect>

Changes:


------------------------------------------
[...truncated 161.10 KB...]
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7923333287844923774.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3997881513531881931.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4398512430378526599.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4712768381402110814.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5977921352801232427.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.9
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f53d99a1610>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.50s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #430

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/430/display/redirect>

Changes:


------------------------------------------
[...truncated 27.92 KB...]
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
eaa0554c169d3070533d2f8b691fa6da5396f78d8d950b6d6ffec65c6f83cc2f

Total reclaimed space: 23.15MB
+ docker network prune -f --filter until=12h
+ echo 9162
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5155205721379309472.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1397493454478210647.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3162902844377037086.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7388730261111752590.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5615958251886502280.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9df9e58650>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.43s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #429

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/429/display/redirect>

Changes:


------------------------------------------
[...truncated 29.38 KB...]
deleted: sha256:19a91cad491ae2bbc9c2c60503e85c9607ea36b074ed7d2372bd9bfeba3493b7
deleted: sha256:3f7a88167a0f8cc37fa7691978645bd0471b290045934d363ef92966d6dda403
deleted: sha256:1dd51309a1fd1870ee125bf3c7df88cd15ae74c2fe1e71a86a925813b9e66703
deleted: sha256:942d147d36094923aa206ad0c3caef4c7e54976a00ea3dd5b28bf0dd4e9259c7
deleted: sha256:60a6a1eac4ecc9720f8c9e9ef4fdb8efe38674a557a7cbd765150563d1b1d213
deleted: sha256:afd43705ad0fb9f10c8c100f853b1542705aaa1fc79a67198bf2a050c5e2c0a8
deleted: sha256:8fa636c28777dd0b1619f64c356fcdf0e89d51ae71eef37a4352ca538f8e2d28
deleted: sha256:71583381002777d958dfb05a0ba1260f90a31f05fc558b1674c48474782a8553
deleted: sha256:f2563b14b38eb50fe239363a00bf82be59775f5742fa15ac4fe8d84f4d6fd80c
deleted: sha256:229eed761be8b1ca3b224c287b9524220573f58d0d9c1edb7b30e3d0b33e5185
deleted: sha256:99fd9d00170adc996843f922dc0e34b2a5bd4c56afe29df544e70118f5fa8248
deleted: sha256:134fce5a942f24fd38d9bbf68afc6afa5f1ccd2fce2d2bcf32274db88e900bb5
deleted: sha256:45c692144f4a5b417e57ac67e10ff0ab93c751929aa3f6690b48a76dac54cd75
deleted: sha256:b534869c81f05ce6fbbdd3a3293e64fd032e059ab4b28a0e0d5b485cf904be4b
deleted: sha256:eac247cb7af5edc34d3620e8bce653d4af7d4e3a0427d487a97530c7fac0b841

Total reclaimed space: 1.514GB
+ docker network prune -f --filter until=12h
+ echo 3295
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins670767346975999954.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9005878263449266078.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1212131669395226692.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1550267365443422469.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5363204270988038542.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7dfbf37a10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.45s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #428

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/428/display/redirect>

Changes:


------------------------------------------
[...truncated 46.06 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7770005632694615106.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4099275578546065958.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5694079387670577885.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8558173273340463542.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins592111313393550302.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, argcomplete, virtualenv, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f598d1b7a10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #427

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/427/display/redirect>

Changes:


------------------------------------------
[...truncated 31.29 KB...]
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2743647704014794830.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5584500760644019449.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1917195127998382444.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3812092178371494202.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6993623151840095639.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa08e2cda10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #426

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/426/display/redirect>

Changes:


------------------------------------------
[...truncated 511.38 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins730604311749619728.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
8659dae93050: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:88d11783cbbfa06f1c12ca50c73c340b0bff34bf599c6e1dd27fb836a8de506d
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5152449038447542320.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4328767145911888625.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8712391905834163579.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
02ced85d1576: Pull complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:85a83ddf94e1b93bd7ef3063dc5b68c2adbbb2b21c41059cedf325e9f471e809
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6198975448213787324.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f81a2b6ca10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.40s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #425

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/425/display/redirect>

Changes:


------------------------------------------
[...truncated 193.34 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8594510994548693280.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
16ea0e8c8879: Pull complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1099984007262296200.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7047959616223637445.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2302212481012195349.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Download complete
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7742003977984505404.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f996aa15950>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.53s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #424

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/424/display/redirect?page=changes>

Changes:

[guosijie] [DOCS] Modify “Using Autoecovery”,recover does not support the specified


------------------------------------------
[...truncated 330.07 KB...]
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2436824233582538479.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
8659dae93050: Waiting
29c4fb388fdf: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6147347726334041933.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1261833125922121104.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2391066601093657102.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins309228258281826904.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f94f015e9d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.42s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #423

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/423/display/redirect>

Changes:


------------------------------------------
[...truncated 28.35 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1728162885364714314.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4564734389815251941.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4778987666862852312.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Download complete
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1542719548470075592.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins732809172346057126.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f485234fa10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #422

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/422/display/redirect>

Changes:


------------------------------------------
[...truncated 33.21 KB...]
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1230168372784061719.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Pulling fs layer
8659dae93050: Waiting
c648cb7fc575: Pulling fs layer
29c4fb388fdf: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1794708345422129227.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins306777571517115001.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4393140172783673848.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9075831055166910111.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe77b32d910>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.38s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #421

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/421/display/redirect>

Changes:


------------------------------------------
[...truncated 33.15 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1898562779484051455.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
c648cb7fc575: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
29c4fb388fdf: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5522760411692075843.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5075051465944690041.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7449786100602183871.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1766921693801116681.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe1f5a7ea10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.51s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #420

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/420/display/redirect>

Changes:


------------------------------------------
[...truncated 37.83 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2604453332474109793.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
8659dae93050: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins347453724410496495.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2835697697736374902.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8337559490389047452.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
02ced85d1576: Download complete
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8857853019731848582.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, argcomplete, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f790cb159d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.37s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #419

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/419/display/redirect>

Changes:


------------------------------------------
[...truncated 36.94 KB...]
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7114118327337253989.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
29c4fb388fdf: Waiting
8659dae93050: Waiting
c648cb7fc575: Waiting
1da0ab556051: Waiting
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7387636601302491405.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1965162509140602500.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4567224081604661423.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3915479961586721715.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: colorlog, py, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff1fc48e7d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.60s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #418

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/418/display/redirect>

Changes:


------------------------------------------
[...truncated 36.24 KB...]
deleted: sha256:4e37cea2f40890f89a10920d797d45539f6044874eae84032271a22deac52ff6
deleted: sha256:445bd2fb9416e8656f7b43f385ca01af62f2c1d6599533eb504443b90e56ae06
deleted: sha256:bba7986a94bfbefa44285e9f7f1b333dd427ac5e3a38c590800d72844a1166ff
deleted: sha256:8a0e463c31475644b9c1b23ec4bd1db2f43b0ac02b9288270574d3d954590342
deleted: sha256:a9dab303ca07348a33ac3aa5d3b2f77688f65a211621baeb0b3d82f91749c5f3
deleted: sha256:aff3129926cbbd0cd129e669d1245ae1d55cb6c644508f21df4d51854f8da026
deleted: sha256:6bccc93e2941560e3bdad0574d3b85a164aaf55f14809cd122726a56aca43590
deleted: sha256:b343afe1ee2ce9c7432a6af3e2d72fcdf9b183938b4932772f0252e55fd81e53
deleted: sha256:dcb0a2685db26431af7bd6683d4af0f95ee95e98adb4433148b1a985d545ae2e
deleted: sha256:fce1ff32e78142df2382bd339490beba8fa1025a603bdbcbd097fbff5fe9c420
deleted: sha256:a3a0439fa6133dfcae4d5fc1ea2fec44c3183c8f3407900dc0093341660ac65b
deleted: sha256:1c92dcd8c77d1d46c88791820abaae45c6ed852d50981c99cdb235297e1ae2f7

Total reclaimed space: 6.487GB
+ docker network prune -f --filter until=12h
+ echo 18847
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1758458200493858372.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4465921585801444609.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2796972437809145469.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3769172207566643925.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3260142285823593994.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2b42c809d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.69s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #417

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/417/display/redirect>

Changes:


------------------------------------------
[...truncated 40.02 KB...]
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5910790628031569943.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
c648cb7fc575: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3302275301989468974.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1750754304863842327.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5021966411404055734.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5973548372718407471.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f85da8779d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.01s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #416

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/416/display/redirect>

Changes:


------------------------------------------
[...truncated 37.07 KB...]
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4759424542413321778.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
8659dae93050: Waiting
29c4fb388fdf: Waiting
1da0ab556051: Waiting
c648cb7fc575: Waiting
e92ae9350d4a: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
16ea0e8c8879: Pull complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5594066818499474844.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5193130745384964819.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6428625947289421367.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5937504132242008157.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, colorlog, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7465156810>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.56s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #415

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/415/display/redirect>

Changes:


------------------------------------------
[...truncated 42.41 KB...]
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7303176664948958550.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8870710593517923835.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7523285294865317830.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6098850145714002875.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1084716386888587994.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: colorlog, py, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8079fcd1d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.47s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #414

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/414/display/redirect>

Changes:


------------------------------------------
[...truncated 60.17 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7829796597386315346.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5172388186377324365.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3276959737146298303.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8111664669431884761.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8323727491251312367.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f16ba129c10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.74s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #413

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/413/display/redirect>

Changes:


------------------------------------------
[...truncated 29.70 KB...]
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
0b0fc63bd05612ff592039d783e63fd5502f351d37d0c78639cac2b69884c42c

Total reclaimed space: 23.14MB
+ docker network prune -f --filter until=12h
+ echo 13084
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5158571235186743439.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5525276692243701160.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins70575124396317785.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4340784165290223613.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4596025794446066425.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f360c5aab90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.65s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #412

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/412/display/redirect>

Changes:


------------------------------------------
[...truncated 31.90 KB...]
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3133883556174616540.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
e92ae9350d4a: Waiting
c648cb7fc575: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2143756603208070212.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c4a74b0ecce5: Verifying Checksum
c4a74b0ecce5: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8378192599509578312.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
a0a6062c45f4: Verifying Checksum
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3475101429106800028.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Download complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8447324308662164946.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/ae/8e/6b293f883fdbd29b9c8170db44bddff9e7de224d8cf1eb4287f69f1766e5/argcomplete-1.10.3-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.10.3 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fef7aa9dd50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.77s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #411

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/411/display/redirect>

Changes:


------------------------------------------
[...truncated 41.90 KB...]
root     54998     2     0   Nov 21  0.0  0.0 [kworker/19:0]
root     55227     2     0 12:27:49  0.0  0.0 [kworker/u130:1]
root     55271     2     0   Nov 22  0.0  0.0 [kworker/23:0]
root     55799     2     0 11:08:38  0.0  0.0 [kworker/8:2]
root     56226     2     0   Nov 20  0.0  0.0 [kworker/21:0]
root     57022     2     0 18:41:07  0.0  0.0 [kworker/4:1]
root     57270     2     0 11:08:48  0.0  0.0 [kworker/0:1]
root     57457     2     0   Nov 25  0.0  0.0 [kworker/14:0]
root     58904     2     0   Oct 28  0.0  0.0 [loop6]
root     59240     2     0 11:12:37  0.0  0.0 [kworker/2:2]
root     59286     2     0 11:12:37  0.0  0.0 [kworker/u128:1]
root     59496     1 59496   Nov 14  0.2  0.0 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     59531     2     0   Nov 22  0.0  0.0 [kworker/7:2]
root     59682     2     0 11:30:38  0.0  0.0 [kworker/u130:0]
root     60580     2     0 11:12:44  0.0  0.0 [kworker/4:0]
root     63601     2     0   Nov 24  0.0  0.0 [kworker/5:2]
root     64155     2     0   Nov 12  0.0  0.0 [kworker/u128:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 66
 Server Version: 19.03.5
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 85
  Dirperm1 Supported: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
d84cd74186eac5aadedaaba1cf9c911159d820250824bd60d617612ed41b47d2

Total reclaimed space: 23.14MB
+ docker network prune -f --filter until=12h
+ echo 41428
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3733679083759935111.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8903506526095201131.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2496710598327915390.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7272508497977241962.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6767898688280136385.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2fc73a7690>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== warnings summary ===============================
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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    if isinstance(value, (collections.MutableSequence, tuple)):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.75s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #410

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/410/display/redirect>

Changes:


------------------------------------------
[...truncated 26.64 KB...]
root     48169     2     0 07:48:56  0.0  0.0 [kworker/3:1]
root     48422     2     0   Nov 18  0.0  0.0 [kworker/20:0]
root     49007     2     0 03:25:50  0.0  0.0 [kworker/9:2]
root     49358     2     0   Nov 23  0.0  0.0 [kworker/11:0]
root     49845     2     0 06:08:54  0.0  0.0 [kworker/5:1]
root     50538     2     0   Nov 23  0.0  0.0 [kworker/10:0]
postfix  50952  3283  3283   Nov 05  0.0  0.0 tlsmgr -l -t unix -u
root     52059     2     0   Nov 18  0.0  0.0 [kworker/17:2]
root     53174     2     0   Nov 21  0.0  0.0 [kworker/22:0]
root     54751     2     0   Nov 22  0.0  0.0 [kworker/13:2]
root     54998     2     0   Nov 21  0.0  0.0 [kworker/19:0]
root     55271     2     0   Nov 22  0.0  0.0 [kworker/23:0]
root     55373     2     0   Nov 22  0.0  0.0 [kworker/18:2]
root     56226     2     0   Nov 20  0.0  0.0 [kworker/21:0]
root     57457     2     0 03:34:21  0.0  0.0 [kworker/14:0]
root     58132     2     0   Nov 16  0.0  0.0 [kworker/13:1]
root     58904     2     0   Oct 28  0.0  0.0 [loop6]
root     59496     1 59496   Nov 14  0.3  0.0 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     59531     2     0   Nov 22  0.0  0.0 [kworker/7:2]
root     63601     2     0 15:44:43  0.0  0.0 [kworker/5:2]
root     64155     2     0   Nov 12  0.0  0.0 [kworker/u128:2]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 34
 Server Version: 19.03.5
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 61
  Dirperm1 Supported: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
fc1c24403bf58e5c51f46959bf7c788bbf043f72c707200868b0f9387daf4ed0

Total reclaimed space: 22.55MB
+ docker network prune -f --filter until=12h
+ echo 44066
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6044048011245687517.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3191492955805907087.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins371910867782064886.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4821792268204588831.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3496707548192777127.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fccacd0a250>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.56s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #409

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/409/display/redirect>

Changes:


------------------------------------------
[...truncated 27.03 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3272000486031638202.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
29c4fb388fdf: Waiting
8659dae93050: Waiting
1da0ab556051: Waiting
c648cb7fc575: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Verifying Checksum
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
e92ae9350d4a: Verifying Checksum
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:840654830548900836939a952c4ef3e6b04e52b2a28dec425cfdd7235685ea83
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3650122507600183455.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8051955375423908604.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:e7fb3ab522e4e6e9ffe78b30086c15025f53650c6d693e72d1f1b9e2e68b40e4
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7016767958152703357.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
d3ec517ed16e: Download complete
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Verifying Checksum
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:e1c1e537270f37fa1cc1d16d5f78eb8dc6836378fd903ec19fe81d4e50becdcb
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7305588368164545810.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7faae780c550>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.36s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #408

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/408/display/redirect>

Changes:


------------------------------------------
[...truncated 34.76 KB...]
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7154833182696994363.sh
+ docker pull python:3.7
3.7: Pulling from library/python
16ea0e8c8879: Pulling fs layer
50024b0106d5: Pulling fs layer
ff95660c6937: Pulling fs layer
9c7d0e5c0bc2: Pulling fs layer
29c4fb388fdf: Pulling fs layer
8659dae93050: Pulling fs layer
1da0ab556051: Pulling fs layer
e92ae9350d4a: Pulling fs layer
c648cb7fc575: Pulling fs layer
9c7d0e5c0bc2: Waiting
1da0ab556051: Waiting
29c4fb388fdf: Waiting
e92ae9350d4a: Waiting
8659dae93050: Waiting
50024b0106d5: Verifying Checksum
50024b0106d5: Download complete
ff95660c6937: Download complete
16ea0e8c8879: Verifying Checksum
16ea0e8c8879: Download complete
9c7d0e5c0bc2: Verifying Checksum
9c7d0e5c0bc2: Download complete
8659dae93050: Verifying Checksum
8659dae93050: Download complete
e92ae9350d4a: Download complete
1da0ab556051: Verifying Checksum
1da0ab556051: Download complete
c648cb7fc575: Verifying Checksum
c648cb7fc575: Download complete
29c4fb388fdf: Verifying Checksum
29c4fb388fdf: Download complete
16ea0e8c8879: Pull complete
50024b0106d5: Pull complete
ff95660c6937: Pull complete
9c7d0e5c0bc2: Pull complete
29c4fb388fdf: Pull complete
8659dae93050: Pull complete
1da0ab556051: Pull complete
e92ae9350d4a: Pull complete
c648cb7fc575: Pull complete
Digest: sha256:07a9630ae551eb7f2aed212bd21ad6909bd4015b49b81bbb42be23d44956809f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1363318777413731906.sh
+ docker pull python:3.6
3.6: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Pulling fs layer
c4a74b0ecce5: Pulling fs layer
3e19e7d95a0c: Pulling fs layer
c6c6b4054fe6: Pulling fs layer
c6c6b4054fe6: Waiting
3e19e7d95a0c: Verifying Checksum
3e19e7d95a0c: Download complete
49a8841b38a3: Verifying Checksum
49a8841b38a3: Download complete
c6c6b4054fe6: Verifying Checksum
c6c6b4054fe6: Download complete
49a8841b38a3: Pull complete
c4a74b0ecce5: Download complete
c4a74b0ecce5: Pull complete
3e19e7d95a0c: Pull complete
c6c6b4054fe6: Pull complete
Digest: sha256:c34cbd890d73220129f4963055f19c01df51aeec7edb33c26df7a0556696c989
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins418303746883600692.sh
+ docker pull python:3.5
3.5: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
49a8841b38a3: Already exists
a0a6062c45f4: Pulling fs layer
314102e5cfb7: Pulling fs layer
b84da28b0e51: Pulling fs layer
314102e5cfb7: Verifying Checksum
314102e5cfb7: Download complete
b84da28b0e51: Verifying Checksum
b84da28b0e51: Download complete
a0a6062c45f4: Download complete
a0a6062c45f4: Pull complete
314102e5cfb7: Pull complete
b84da28b0e51: Pull complete
Digest: sha256:15b894bfbb86e8908a37d4d5f0024c388ce02605ad3d793419c88a39cd1147fb
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4320217134274644242.sh
+ docker pull python:2.7
2.7: Pulling from library/python
16ea0e8c8879: Already exists
50024b0106d5: Already exists
ff95660c6937: Already exists
9c7d0e5c0bc2: Already exists
29c4fb388fdf: Already exists
02ced85d1576: Pulling fs layer
dfe2cd30976f: Pulling fs layer
d3ec517ed16e: Pulling fs layer
ed6982ebc0cc: Pulling fs layer
ed6982ebc0cc: Waiting
02ced85d1576: Verifying Checksum
02ced85d1576: Download complete
d3ec517ed16e: Verifying Checksum
d3ec517ed16e: Download complete
dfe2cd30976f: Verifying Checksum
dfe2cd30976f: Download complete
ed6982ebc0cc: Download complete
02ced85d1576: Pull complete
dfe2cd30976f: Pull complete
d3ec517ed16e: Pull complete
ed6982ebc0cc: Pull complete
Digest: sha256:4a52632b1569916fe564322e7f1bbc503920a6b3f6c234866888cf8da4da0ca8
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1520901599363188092.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.8
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f914431e050>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.60s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #407

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/407/display/redirect>

Changes:


------------------------------------------
[...truncated 33.78 KB...]
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Images:
deleted: sha256:f1b01d6fdd512c42b4479d6f45a99ddb98b575eac61d6fa22889b2c4baf9953e
deleted: sha256:8bc1e2f115bb0fcb887bf09ab1601f6704e4abb9a75f6465a4df2664885f28f7
deleted: sha256:cb4061aa3c71b5818285ca9beda142f6a215e4c1362ed5111ad095f08dd81cc6
deleted: sha256:895c81ec3e9741207726af6c094de92c0d49f90b318a12fca87d247e86cd55a0
deleted: sha256:3002ad45d8c1da82057d231f1a4e019570bf5034083c5daad1295fc4863325c0
deleted: sha256:9185a7a38147d126b2da639cfba2e67fc14107e08fd0c61ec0d0339b380b379e
deleted: sha256:946b66b26fb15ed81b3e1bf29442c23687587f15faa7e1e317c49a4f991c5d9d
deleted: sha256:938d65591c8fa6ce36b6d634fdb3035868640ab2483c8bb71e67b4dfe7ae601d

Total reclaimed space: 14.34MB
+ docker network prune -f --filter until=12h
+ echo 36492
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5015006128858682904.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1741242819529426799.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3889988994099158449.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8504845796144660951.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
f4683267d169: Verifying Checksum
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1819767495291150423.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5a1481efd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.66s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #406

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/406/display/redirect>

Changes:


------------------------------------------
[...truncated 23.56 KB...]
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8149272553415594315.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Waiting
bed4ecf88e6a: Waiting
8a8c75f3996a: Waiting
6b809fc1d40e: Waiting
aa9356e83b15: Waiting
667692510b70: Waiting
1128949d0793: Verifying Checksum
1128949d0793: Download complete
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5702002655171324352.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins103294608730792803.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
92471acd0333: Verifying Checksum
92471acd0333: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5961783657912073851.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
d1794cae6bfb: Pull complete
f4683267d169: Verifying Checksum
f4683267d169: Download complete
305bd4bdcbc4: Download complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8224036127986168773.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f15f9ea5690>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.61s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #405

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/405/display/redirect>

Changes:


------------------------------------------
[...truncated 33.56 KB...]
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1282909983692158552.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Waiting
aa9356e83b15: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7442211591098899552.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Download complete
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2262283995854991370.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Download complete
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins91215320056559184.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
f4683267d169: Verifying Checksum
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2523222377104270883.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f802c570110>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #404

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/404/display/redirect?page=changes>

Changes:

[guosijie] Make 4.9.2 as stable

[guosijie] [DOCUMENTATION] Add doc for decommissioning bookie process


------------------------------------------
[...truncated 185.82 KB...]
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1847353439343221789.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
667692510b70: Waiting
8a8c75f3996a: Waiting
bed4ecf88e6a: Waiting
6b809fc1d40e: Waiting
aa9356e83b15: Waiting
9aab0a84bd4a: Waiting
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
1128949d0793: Verifying Checksum
1128949d0793: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
9aab0a84bd4a: Download complete
6b809fc1d40e: Download complete
aa9356e83b15: Verifying Checksum
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7272480926024303329.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6256488414917666472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Download complete
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8178841666557639103.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Download complete
f4683267d169: Verifying Checksum
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins332734351883704690.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb0439cc7d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.27s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #403

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/403/display/redirect>

Changes:


------------------------------------------
[...truncated 29.98 KB...]
root     50785     2     0 13:22:31  0.0  0.0 [kworker/1:1]
postfix  50952  3283  3283   Nov 05  0.0  0.0 tlsmgr -l -t unix -u
root     52059     2     0 09:37:13  0.0  0.0 [kworker/17:2]
root     52854     2     0   Nov 16  0.0  0.0 [kworker/15:1]
root     54264     2     0   Nov 16  0.0  0.0 [kworker/23:2]
root     54517     2     0   Nov 17  0.0  0.0 [kworker/15:2]
root     58132     2     0   Nov 16  0.0  0.0 [kworker/13:1]
root     58904     2     0   Oct 28  0.0  0.0 [loop6]
root     59294     2     0   Nov 14  0.0  0.0 [kworker/21:1]
root     59496     1 59496   Nov 14  0.2  0.0 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     59726     2     0   Nov 16  0.0  0.0 [kworker/2:2]
root     63257  3159  3132   Nov 16  0.4  0.0 nessusd -q
root     63740     2     0   Nov 16  0.0  0.0 [kworker/23:1]
root     64155     2     0   Nov 12  0.0  0.0 [kworker/u128:2]
root     64257     2     0   Nov 17  0.0  0.0 [kworker/2:0]
root     65311     2     0 11:01:11  0.0  0.0 [kworker/0:1]
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 49
 Server Version: 19.03.5
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 86
  Dirperm1 Supported: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
80626b262a11483e27ccebbdeb299eb5fe21f6bc8a74fd9ec4584b16dd5a8da0
5d1f2be27869f5061eb2f820b86308f31be81ee66fa0a8b1db27b42f5cbd401e
400157bc1fca12933afeafe8b24c36d03942c8f5c1129437f1f3068d0770bf7a

Total reclaimed space: 533MB
+ docker network prune -f --filter until=12h
+ echo 46194
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7780216151711729332.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins737435028409956217.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins988624593250452309.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3533199516411824952.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7416093748486137080.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/b8/3e/370189084cdb7b4a8adb18d179f957d9115f8ee06aa5a1d85b56651a59bf/argcomplete-1.10.2-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.2 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc31c115fd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.47s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #402

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/402/display/redirect>

Changes:


------------------------------------------
[...truncated 22.97 KB...]
root     25305     2     0 11:41:54  0.0  0.0 [kworker/3:1]
root     25420     2     0   Nov 15  0.0  0.0 [kworker/18:1]
root     25835     2     0 14:09:06  0.0  0.0 [kworker/13:0]
root     25914     2     0 00:39:19  0.0  0.0 [kworker/14:1]
root     26153     2     0   Nov 15  0.0  0.0 [kworker/17:2]
root     27189     2     0   Sep 09  0.0  0.0 [dio/sda3]
root     27246     2     0 07:43:24  0.0  0.0 [kworker/23:0]
systemd+ 27333     1 27333   Oct 10  0.0  0.0 /lib/systemd/systemd-networkd
systemd+ 27380     1 27380   Oct 10  0.0  0.0 /lib/systemd/systemd-resolved
root     27403     2     0   Nov 15  0.0  0.0 [kworker/8:2]
root     27429     1 27429   Oct 10  0.0  0.0 /lib/systemd/systemd-journald
root     28660     2     0   Nov 06  0.0  0.0 [loop3]
root     29600     1 29600   Nov 06  0.0  0.0 /usr/lib/snapd/snapd
root     29907     1 29907   Oct 19  0.0  0.0 /usr/bin/containerd
root     30187     2     0   Nov 15  0.0  0.0 [kworker/7:0]
root     30211     2     0 09:09:07  0.0  0.0 [kworker/22:0]
root     30989     2     0   Nov 15  0.0  0.0 [kworker/3:0]
postfix  31036  2143  2143   Sep 12  0.0  0.0 tlsmgr -l -t unix -u -c
root     31285     1 31285   Oct 05  0.0  0.0 /usr/sbin/sshd -D
root     31338     2     0   Nov 15  0.0  0.0 [kworker/19:0]
root     31403     2     0   Nov 15  0.0  0.0 [kworker/2:1]
root     31692     2     0 05:45:39  0.0  0.0 [kworker/7:1]
root     31850     2     0 15:51:24  0.0  0.0 [kworker/4:0]
_chrony  32667     1 32666   Oct 05  0.0  0.0 /usr/sbin/chronyd
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 68
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-60-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 10478
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1422158011234405000.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1257486765619386678.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6209182568251748766.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2468964026354125095.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1154814450090622708.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/1e/5d/777a2c0532ffce40dfb7cdee850c8b39955af604330a64824951ca6c353c/argcomplete-1.10.1-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.1 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc54a974290>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.93s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #401

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/401/display/redirect>

Changes:


------------------------------------------
[...truncated 29.87 KB...]
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8395384657986073133.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Waiting
aa9356e83b15: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
aa9356e83b15: Verifying Checksum
aa9356e83b15: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8781806255916377639.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2971719913083240969.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Verifying Checksum
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8345739579091699867.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3084217655618720923.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fdf990a5450>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.15s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #400

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/400/display/redirect>

Changes:


------------------------------------------
[...truncated 35.59 KB...]
+ echo 11509
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins749830097755715977.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
8a8c75f3996a: Already exists
6b809fc1d40e: Pulling fs layer
9aab0a84bd4a: Pulling fs layer
aa9356e83b15: Pulling fs layer
9aab0a84bd4a: Verifying Checksum
9aab0a84bd4a: Download complete
aa9356e83b15: Download complete
6b809fc1d40e: Verifying Checksum
6b809fc1d40e: Download complete
6b809fc1d40e: Pull complete
9aab0a84bd4a: Pull complete
aa9356e83b15: Pull complete
Digest: sha256:3e43fdcd319d32db420fa0b7cdff9920650455fe5946616291eb4d19af0c937e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7045231727055510327.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
ac097723595b: Pulling fs layer
e7028784d190: Pulling fs layer
16fffdb8dec4: Pulling fs layer
16fffdb8dec4: Waiting
e7028784d190: Verifying Checksum
e7028784d190: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
ac097723595b: Verifying Checksum
ac097723595b: Download complete
16fffdb8dec4: Verifying Checksum
16fffdb8dec4: Download complete
94d1c1cbf347: Pull complete
ac097723595b: Pull complete
e7028784d190: Pull complete
16fffdb8dec4: Pull complete
Digest: sha256:869b4f8db6c46eadf5e25ccefc53690978e822c27a5f5aed777549e8f8b8f11f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5513565307149567050.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
69931e32d523: Pulling fs layer
92471acd0333: Pulling fs layer
4cc18f660a5c: Pulling fs layer
92471acd0333: Verifying Checksum
92471acd0333: Download complete
4cc18f660a5c: Download complete
69931e32d523: Verifying Checksum
69931e32d523: Download complete
69931e32d523: Pull complete
92471acd0333: Pull complete
4cc18f660a5c: Pull complete
Digest: sha256:918b12cc607824921eaef5ed0e0ca64ea31d5717f4624a96b537f1f516988248
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5285210698690342028.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
305bd4bdcbc4: Pulling fs layer
6ea2ea6c1479: Pulling fs layer
f4683267d169: Pulling fs layer
f4683267d169: Waiting
6ea2ea6c1479: Verifying Checksum
6ea2ea6c1479: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
305bd4bdcbc4: Verifying Checksum
305bd4bdcbc4: Download complete
f4683267d169: Download complete
d1794cae6bfb: Pull complete
305bd4bdcbc4: Pull complete
6ea2ea6c1479: Pull complete
f4683267d169: Pull complete
Digest: sha256:e2bf2e431e5b6685c17a1b4c0becd2836283d6df8754377fc25e1287bef807ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1521413428959410067.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, colorlog, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f898fd036d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.92s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #399

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/399/display/redirect>

Changes:


------------------------------------------
[...truncated 34.12 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7276060000139286881.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
984b0e9d1433: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8272823826141479509.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2255762340746944907.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3057129238662198141.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8556248369586729622.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Installing collected packages: py, argcomplete, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd6a890b4d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.41s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #398

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/398/display/redirect>

Changes:


------------------------------------------
[...truncated 37.10 KB...]
deleted: sha256:8682f09aec175feb3b6a46b108f844c0ef3a7ca78c5596cdd79d78de579eb0f1
deleted: sha256:54c470b5999fa7cb7ae9e5f005070cd4761e406853b355bc32e39dc980ac5fef
deleted: sha256:7e098e68ec7340c4a20fb663814e69cef945c014b794bc82d3bf754e7e4b53e7
deleted: sha256:cb758d5299057b293e593650f5c2f95bcd1757ece8ea4d2eaf6268b3d3915df7
deleted: sha256:ced32324725ab53096e56abe5f6f3da2c0e1a9a5558e6c509e550e9a13085af7
deleted: sha256:da033812af34073e1f0822bb20e81fad0a65766aad205c2bcdf791eb526e7ce1
deleted: sha256:4da25ed766c61392ea719b63a8cc3d92e111eaca1f426c99fa33c5f53c74cb01
deleted: sha256:8b5578814d083b10c0f965fef64da255aedd03ff6de3c761ac167e08611b8e0c
deleted: sha256:8ba0391485cccf8856b2d31dd7ee151b2cc195b3fd103b95e259384febb15a34
deleted: sha256:caad702afa35a1a834fd52ba36d7c99ecc99664df58b3afdb622923d8c7ae557
deleted: sha256:714cee4202dfef9c7a51f0921a75f68ce9d371a6c95a7c6b217a3aaca7ec83f0
deleted: sha256:95c003a7b4453484c1e61ff0b50ca09f0a83fb1a8a261341a1cdfff65b794104
deleted: sha256:923ba1ea01fa9bcc04e8d1c88dd6edf7227b58285edeabc06315f2671036e464

Total reclaimed space: 6.128GB
+ docker network prune -f --filter until=12h
+ echo 7257
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2108460727247710188.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7636789148598527653.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1552930410749766134.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3974763807906383352.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3652042371320094261.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9913b9ac50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.15s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #397

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/397/display/redirect?page=changes>

Changes:

[eolivelli] Bump Python client version


------------------------------------------
[...truncated 45.28 KB...]
deleted: sha256:b552418630d136be3a0a1dbecdfa3a42d50f45531b3a85afac93d1b9b5095cd8
deleted: sha256:845c76ed9dce10874e143a618c3532598cfb78facb5709878a6a7f2262eec62e
deleted: sha256:91f8b56190f2105c245e6f1f6eb523016e19d150bf497eab55193e807d449bc0
deleted: sha256:ceade3bcdcc5d8d8620087492a0bfd2bc95b6c907499298aa77b231a74ff3c05
deleted: sha256:90c9f2f80ff0dde32451fe75f4a01ee460115c48906a55e1bcd1ef83fe61d3f3
deleted: sha256:e2d0a60cd19f775b81581bad30e3b280a976b189d71314ceb90f7b6eb9567bc1
deleted: sha256:0810abca9fbb06ff75235ccced9225c5268367553afb2478248630fcef91cbf7
deleted: sha256:d11db5495727d12acaa6c197b044da4102f3dca30fd682a6ca745068a3faf02d
deleted: sha256:4ac35bd408b319fbdc130fbf039a343cc70adfe2cc3b290bc71aef5cb0c3a79c
deleted: sha256:0ba76424a10f5b28e2006d1f7b913851c8d2eaca51821764f0b7f8d212dcff88
deleted: sha256:74edc7dd6b535c7a94e95ecff1571d58754d745a347405325afade5798cb1ff1
deleted: sha256:ccb5a2959e2bf85b92f8f4f24bd377b3229cc5748485e9225539d49051f4c7b9
deleted: sha256:e9a61d92a2e84551dfe480ffd98a7f954ba8d11a57fff435e0910d4ed90e766a
deleted: sha256:c57fe9ef0d009853460d1f14875439cc2b5c1b916e12886e030e950bca21e30e
deleted: sha256:ed1bb0f4f1f80887d982b2877efc23983c98c3e74ff38c4b18dcbe1e2baccb8b
deleted: sha256:88daf646351fac71e08c7b9c830a57142277048b1fec7b0bbe6721cd3cdcce16
deleted: sha256:8eaffcff65db9c64a7bb999a43276ae4e06fca80ed7473abd9823bb1b7ed69f6

Total reclaimed space: 6.128GB
+ docker network prune -f --filter until=12h
+ echo 23326
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6624483037083110529.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6627474369969073388.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6143229712580486263.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins298081424761872368.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2259564055927468343.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('4.11.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f78ed3074d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.39s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #396

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/396/display/redirect?page=changes>

Changes:

[github] Release notes for 4.10


------------------------------------------
[...truncated 31.75 KB...]
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
b06b4996f5626745a2d3c5a0090c43ada61989a6cdac6ca8da27c6c0c8dc8766
255ae5533c79f713e06ae2cebb97a8dca6fc62b4e2b46905a509dcb187ca43bc

Total reclaimed space: 277.9MB
+ docker network prune -f --filter until=12h
+ echo 23143
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2156862752071008623.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins826454727939642241.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2399635063860262357.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4239147647948132678.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9045405820594798963.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, py, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0af8f3e4d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.23s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #395

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/395/display/redirect>

Changes:


------------------------------------------
[...truncated 27.20 KB...]
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
77217c16ae2f91a8f3fc489201e0b7cc07d3025bd8f3e5a2508babb55ff59a3d

Total reclaimed space: 23.09MB
+ docker network prune -f --filter until=12h
+ echo 26260
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins153736897265371200.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6623069044666038413.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1063058181526379622.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5528346919899370504.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3029160903006005525.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/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<5.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-4.0.2 nox-2019.11.9 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe3827ff450>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.75s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #394

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/394/display/redirect>

Changes:


------------------------------------------
[...truncated 36.46 KB...]
deleted: sha256:d910c52e899f02714f60a57e6358c520b82c90d9edb3df42cbf8f05304e61c29
deleted: sha256:bb9057475bba947fbf0c06cf9dcaf98dac08f704d869242bb320553405526b18
deleted: sha256:02722b7f5dbb4d2747a585d318ccb233d0c3663cb7ee953dba52e931652cc937
deleted: sha256:b6c6fe99e2929ca838427ea4cc079ce6589508d9fe560db6a9c317e1e66bc7ab
deleted: sha256:4d1bca3761710770d7b98dea2119242ac80c01a95eed98fb9d7c8849a64d9f45
deleted: sha256:007c87b1bda8b0d96ec1ad24d03a44418e7bb5ec2a661db9cb31abf5bf1bff2e
deleted: sha256:8bb331e75732e325c45bd89ad88cc6d8a62d48957ffbec74474a7578c3e73614
deleted: sha256:bb4caa4143e2016ebd02eb09beaa958e886c3912a9c419cbf8308f7230cae041
deleted: sha256:cb443fb4b2046d9a8d52b8ab303ca47ec6db902d2fb542bd7fc385c59e8491ed
deleted: sha256:0f977d68f4be478492b9763db0b7b0711b0fd13faa0da2dc6c96b2eeb21e5cbf
deleted: sha256:c6605775dcb48d52a72dcdd3065d44ff50372dea823eb910138e7ff4c5f3905f
deleted: sha256:2f4b212c774e389d43049609af23729a6469a7f9ad0e33995775799c5cf90016
deleted: sha256:8c48a42a4d5ec3310b8eb63b08f7bef99b4efd6de701ee9d0052754da94bb032
deleted: sha256:5a1e29b776e0b36507710b64fa50ab1ee674797b1115f03670fc1b0ea0f3fb77

Total reclaimed space: 6.126GB
+ docker network prune -f --filter until=12h
+ echo 2185
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8564557648942670615.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2901739627344366424.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6821204492600918814.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Verifying Checksum
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7035987785174865388.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1270230280762795437.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5a3c687090>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.87s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #393

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/393/display/redirect>

Changes:


------------------------------------------
[...truncated 26.57 KB...]
  Backing Filesystem: extfs
  Dirs: 75
  Dirperm1 Supported: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-166-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 12758
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5208734318844369474.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4174684832430844458.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Download complete
6513a2441bbb: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5003745153317431619.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1236077352631056853.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5385111402201925068.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f50da3ac5d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.24s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #392

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/392/display/redirect?page=changes>

Changes:

[guosijie] Fix the log level of not support Sse42Crc32C


------------------------------------------
[...truncated 27.48 KB...]
WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
7853f5488d5ef37d9ad8cd84bc384781e7ad448450511713e022b827cea1b70f
de923f74c112bd594a8f66cd268b2dc7ba70222e28bf1d2284eaae7ddd4b7b50
6134590de5cc297f5a4f0c722de4dfa58bbefabee84715d38ec818cb974fc3a7

Deleted Images:
deleted: sha256:06b7df59023ecf854a54f561ee9166835e5b9510d3e01622c31439a9c2578736
deleted: sha256:0ea47e9d83d4d3dde1fbe4755ca74649d394bd931ab336600bacc1ae42032b6d
deleted: sha256:0d132b1b51f8b1655c52bd9eb2fe8029bbb5e9854ae22fdcc1393d484d30c013
deleted: sha256:4719ec06fedf2f2bc39438919888c7fa33cb759ce41bac8c95bb8fbcf9f41703
deleted: sha256:ab96addeb0c0a84ccab1c388662a81df797c61d6b73ed34ab85a457077a8ae3b
deleted: sha256:b31b492f3348e0b156a470cd3664f3282de469c070e915569541187ce1d2303b
deleted: sha256:1c84b811b30e1be68edabc2f84500829f543cd4d59a7c5b3d37854336b9408d9
deleted: sha256:985a132718328a270291535173523ffaee73ebdb2513d7df096a4962c9922db4
deleted: sha256:b7738fd5d2127325d16b61a783b025155a711dcb1d2bdebc535e68ea4effbe8d
deleted: sha256:257d83614c29561ba3b66d438d04645021986626742158d4cdd272bfb315917a
deleted: sha256:99180af8b5ab2cc0fd2254bc1a02d28545ae8eda502f2d563e15024c7e2eb1a2
deleted: sha256:c9afe4017ac0c4d6f0ca4fa9471e715362aedd1411261f0c3eb983d7c0f7b0ea
deleted: sha256:321798b1d68c6d98e2d7f19715af762a6e395c3c89020f201d42fc4754dca0b4
deleted: sha256:4af2cd94552ddcbb23879a0e2322722886f401991efd61ffebefda6db597f775
deleted: sha256:b6b1a1c27c541be0b2a254884c0d72fb2ae2bd118acb7df3ff52c50a2bfed4ef
deleted: sha256:98d960ceb264c038ebde684f6d60f2b98a99158f474ebd0e12d79bc5a8f26df3
deleted: sha256:ba7ed44cf1c14589781fdc86b5bfe15f31b424cbd098a31727fb57e7dbf9356d
deleted: sha256:143f0dfd943bc16db72a628c2ee9cccbd484df1a1eceaa2c573872173a82ac95
deleted: sha256:b256c7d8ae0b7dc954757beacf231fd975be2298bad126f744e141eef5e4dd9a
deleted: sha256:a2f496f988cb81b7607b9d0a917a2e6bab5f28eb737c210c6ea23360eea7645e
deleted: sha256:cffd1334767ce35eb8d70918953a8b5a89168a5e3c6472fcd29d95e7cfaff9a5
deleted: sha256:3cd2604e72d84a6df3d2f2c3bcd1420692eb5c6aa9d20beedca7da30ed568b67
deleted: sha256:2830db18d5e399a66f115dd4dccc815666d6c4d22c8f5467a555c82a73eab60b
deleted: sha256:38b986f5bf63e26cbe61836fe621289bf4ff00ebc8c8d495b1db48ae645f1770
deleted: sha256:d8e981b127a5378920ca8c98adb6f02b2730f7aa71a638023212d1b9534a4c68
deleted: sha256:62c6c1acbef4a54e5feb1a7ad14f22da5b717eba36b05e8cea0188a819749ecc
deleted: sha256:0e8dd1d355666a94eb368a2b3df1054adf7e9afb24a35b65f1a1ca4abbc17e09
deleted: sha256:1e88ecd629da13ff6395ed2364362f6dfc789f61b86577f736338e2014aa0d18
deleted: sha256:b1a22f869e632f04475760b597688568ebd92b6cc89d4514f2436deace5b971f
deleted: sha256:020584afccce44678ec82676db80f68d50ea5c766b6e9d9601f7b5fc86dfb96d
deleted: sha256:1da8e4c8d30765bea127dc2f11a17bc723b59480f4ab5292edb00eb8eb1d96b1

Total reclaimed space: 1.7GB
+ docker network prune -f --filter until=12h
+ echo 11913
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7526135250190426485.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2225887386440799867.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Verifying Checksum
792e28117005: Download complete
6513a2441bbb: Download complete
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8831730416356503265.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3420873170676894396.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6317858942433425617.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8b24115410>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.08s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #391

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/391/display/redirect?page=changes>

Changes:

[guosijie] [DOCS] Update coding_guide.md


------------------------------------------
[...truncated 28.05 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4738605962425898529.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6622084162958570565.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
94d1c1cbf347: Pull complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1997638263576152572.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins941985128578705834.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1606446679343906205.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f19aae41510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.19s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #390

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/390/display/redirect>

Changes:


------------------------------------------
[...truncated 27.13 KB...]
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
01c986ca81000ef0d0a7b7467b5c1a73d876d41a79a83b3caa60758e79a4b295
f1ecee2cf51fda42dd19e9d9eee64b4f74843a1cf603ab7c0e1794050b03b2a0
9fadf3ff858194f68496cb5a49271ecea93a9f6ea559a8def8c13d6c4de07597

Total reclaimed space: 439.8MB
+ docker network prune -f --filter until=12h
+ echo 23699
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4123654917929543523.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5693642619148724613.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2268443582309317249.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
3298280d4eb3: Pulling fs layer
4454d1934148: Pulling fs layer
81f9979394de: Pulling fs layer
4454d1934148: Download complete
81f9979394de: Verifying Checksum
81f9979394de: Download complete
3298280d4eb3: Verifying Checksum
3298280d4eb3: Download complete
3298280d4eb3: Pull complete
4454d1934148: Pull complete
81f9979394de: Pull complete
Digest: sha256:3fd0f61984267706bc4351eb63bd9261470df9371605ac8dd5d2234c859d19e2
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8336456375710489854.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2234999473068305871.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f483c4e8990>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #389

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/389/display/redirect>

Changes:


------------------------------------------
[...truncated 26.38 KB...]
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-60-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
85f4aec47a871aa36ac55b831966662ad2e204339223026e885e329fcb2fe883

Total reclaimed space: 22.59MB
+ docker network prune -f --filter until=12h
+ echo 13840
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6487757783245633779.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins847045320757554410.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8070861608142789075.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7643016578636034456.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8524310120990966790.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f69fc757910>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #388

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/388/display/redirect?page=changes>

Changes:

[github] Add -Dtwitter to fix auto-build


------------------------------------------
[...truncated 29.00 KB...]
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-60-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
42614f4d2eab00a88550353125edbd5fc7e5b64015b0871f08ebe4afbf306fc7
e1b0b782ff2f081226d2c324709b31da25ff3e462f21741acfd509ea93196a24

Total reclaimed space: 22.59MB
+ docker network prune -f --filter until=12h
+ echo 20053
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6687717771236443042.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4130080058553569176.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3701024796184146664.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4422930707797146369.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8370224357448077361.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f57849ec8d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.81s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #387

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/387/display/redirect>

Changes:


------------------------------------------
[...truncated 38.11 KB...]
deleted: sha256:a90db76daa09b2f088f5404bd56f8821b8dde4ea5a3d50c0973f8ad39f135cfe
deleted: sha256:17632eac7e91d65c9175563b4d23646db399c9c8cf19114e662196d77804a976
deleted: sha256:fd585bee00d7a2762bf908c6625792f5a1bc1fe7d54b5ab0bf20d075fdb44c41
deleted: sha256:16e699f92f9b7d35836b60d8fa4b041242be40e4f684c80c168b4a5b153c78c5
deleted: sha256:c0f5600d2cca15070aef5a89e77658b39b0beb4fa17d4bd568c4f7d53b730601
deleted: sha256:f22fbec010bfee8f5ea08e921c8cf242176c14107f6c0bfa2342f012752dd32f
deleted: sha256:c97b35b17d0a49e8e558742977bab376536901f854019dc5579e669fce6a3b28
deleted: sha256:64957da7937c251d9c8e57d8233d020237fa42fb60b46d8492af5858e0b234f3
deleted: sha256:14d44dde7cddcd86e437912b674548d19c4a9c4ee23580e3d37b3307f0f17442
deleted: sha256:5593cbea6f3e8bb360f3be88b8aed6814dc0baca0d0de6cf416419b3fc14a332
deleted: sha256:e87e62a2bb0a1928b915a20e52ddd27ac34b626a445fc21601930d05f059940f
deleted: sha256:df48e167dfcf7f18d6a17c329702790fc672f78cb73291c40b41fdb8fcd3f2f0
deleted: sha256:ec678e769500a54e0937912ed2905399e68b50f651ab93f1a27bd7b185fa26fd
deleted: sha256:fb9aa9af64d90f5045e85a1ce55aa43b4a4c090da926e5d4f8b6e6ac6ffd3973
deleted: sha256:d1ef67f0693249b8b6a2d32490c9c9895d15c6177070cc7dd0eea85820efa561

Total reclaimed space: 7.026GB
+ docker network prune -f --filter until=12h
+ echo 28155
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2956815773359570970.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4063392233488748495.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3291046978546507756.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
765d0dc09bbf: Pulling fs layer
65bf6e648924: Pulling fs layer
66c62c8268bd: Pulling fs layer
65bf6e648924: Verifying Checksum
65bf6e648924: Download complete
66c62c8268bd: Verifying Checksum
66c62c8268bd: Download complete
765d0dc09bbf: Verifying Checksum
765d0dc09bbf: Download complete
765d0dc09bbf: Pull complete
65bf6e648924: Pull complete
66c62c8268bd: Pull complete
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2796409792513201978.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4522656984134140389.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f56be6c00d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.86s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #386

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/386/display/redirect>

Changes:


------------------------------------------
[...truncated 27.93 KB...]
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8532065814222613232.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8308635751555658892.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3205257695594125142.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
765d0dc09bbf: Pulling fs layer
65bf6e648924: Pulling fs layer
66c62c8268bd: Pulling fs layer
65bf6e648924: Verifying Checksum
65bf6e648924: Download complete
66c62c8268bd: Verifying Checksum
66c62c8268bd: Download complete
765d0dc09bbf: Verifying Checksum
765d0dc09bbf: Download complete
765d0dc09bbf: Pull complete
65bf6e648924: Pull complete
66c62c8268bd: Pull complete
Digest: sha256:46dbbb6c23a9069da0fae6d5afb74483e0344c1fbc796a18507c52517b5438db
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4261132734461344553.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins828748452946303494.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd746897fd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.13s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #385

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/385/display/redirect?page=changes>

Changes:

[github] Add -Dtwitter to release scripts in order to build Twitter stats

[eolivelli] Removed mutex contention on BufferedChannel


------------------------------------------
[...truncated 507.44 KB...]
 Total Memory: 94.37GiB
 Name: asf925.gq1.ygridcore.net
 ID: HBD6:AGHI:OEF3:D4E3:P3EU:K7IM:GYOS:TEF7:ZXYS:6LEQ:654F:SZHY
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 21390
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6868171375057506964.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3849313362120349443.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5934867711700893871.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4681506515759910109.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2522046470913652088.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f148aa38510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.81s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #384

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/384/display/redirect?page=changes>

Changes:

[zhaijia] Issue #2145: Make ledgerDirs in Cookie consistent across generating a…

[zhaijia] Fix firstStoredEntryId logic in LedgerFragment

[eolivelli] [maven-release-plugin] prepare branch branch-4.10

[eolivelli] [maven-release-plugin] prepare for next development iteration

[eolivelli] Fix version in modules that are not active by default


------------------------------------------
[...truncated 26.69 KB...]
deleted: sha256:d840f49d296001e45b9b441a63e26303995b3a81a3ec4e36884e5b23cfa67a60
deleted: sha256:360f24bf6e258b034ac86213761793f04be125e63c6feeb40802174629d43f92
deleted: sha256:49ad95e3959f2569f60079d8b49e457dd00c52c9947829655bc9df4d0543e816
deleted: sha256:852705401fada2e62dfb9c864f32f96c770a6bf716acd8db7622c089ec4caac7
deleted: sha256:047b47ea688e49e540c311261bd8cf065898ad9841309c98b48375b678dce7fb
deleted: sha256:892278e96513736d8aed27d434ac717437d1546e4596e7ade33d932e1a314563
deleted: sha256:7d9573ffcf75427e552f6015cb7f295295f2ff0235aad7dbe6eeeaaa68912304
deleted: sha256:ed968cc24fe2060d20b5e2ebf39ac80125b9f69850b89cb1241a816a622824f7
deleted: sha256:c4f37f5f5740907c168c8d0d39fbfc69b5db6f41973bf1efeb3032fff3bc3dda
deleted: sha256:17f31ee8b55148c52affd45d491b51da5c3a857a33c9c2a43b69447a60a7b692
deleted: sha256:95507714e0c98978f9057b61d2f3ed5108c9a51c58240127de6e88f923a33ba9
deleted: sha256:78fb3f67472294991d97bd0623530b56ca7c344467000b2bd04d164150d1afb5
deleted: sha256:62bc6c101a6812302691f910a8683f8dc661848f25ad0a33290706ef3ecba6ae
deleted: sha256:19485c79a9bbdca205fce4f791efeaa2a103e23431434696cc54fdd939e9198d
deleted: sha256:6c0ea40aef9d2795f922f4e8642f0cd9ffb9404e6f3214693a1fd45489f38b44

Total reclaimed space: 2.002GB
+ docker network prune -f --filter until=12h
+ echo 12978
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins931000245504717651.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7026811571647795000.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5582598874677518312.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6311464417881029956.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6229621341403696284.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc1d2418050>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.96s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #383

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/383/display/redirect>

Changes:


------------------------------------------
[...truncated 26.85 KB...]
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
3f6dce707b8234d86217c63a586a0277d0d6e3c330b6f640a7d26ece74c5b261
5c5d3065f14645ce08315739c350ec74535e3de2efe02cca65e48398636c25be
c804c602a490e3a194e4dc57dc5812bd12bb7b6a42caa003828af31b5a2c4f3c
fba8a4f8680bbcf9e8e8133ac0479e8d63ca815938088559b2866dfecca4b9b2
c223f50daa3f07feb21dcfa48be106c47bbf8254d4caa1e9373ec3d15f8853af
d02eb77370dd0f449281e3e3929f94ae792d7cb320b43da70b7ed4af96460544
b3119c64277c4aa28e68ae44a1180357512f38eca969aa0908ca441bcde52aad
76fe3fadad471056514a35832d640a69e8371edcaf17bf4ae7b2fcc033b2b5a1
998a2f5d2b6452c1d2bd213922d7863ae2c7853dde2206aa6d24a69c6e467de2

Total reclaimed space: 1.594GB
+ docker network prune -f --filter until=12h
+ echo 13268
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2201633403543056855.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1806357210117468119.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4442851387714572370.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2680725592614639892.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8195562389728355226.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0b31bb67d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #382

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/382/display/redirect>

Changes:


------------------------------------------
[...truncated 26.56 KB...]
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
b6cbbe1e48dc1bd3ed9808be74e982d145db5852122dc567a66ec57f0eae1cf9

Total reclaimed space: 22.01MB
+ docker network prune -f --filter until=12h
+ echo 21447
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins692613185859081535.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7536087173096372123.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3902542437855054488.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7929094254789422634.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2418522807847215176.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f803fde2090>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.80s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #381

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/381/display/redirect>

Changes:


------------------------------------------
[...truncated 26.47 KB...]
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 17396
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1562291686131412959.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
d930e1ce5d4a: Waiting
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8459675662569892617.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3380681634248940068.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins796500210125332572.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4570199092893895343.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f3b4925d910>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.85s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #380

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/380/display/redirect?page=changes>

Changes:

[guosijie] [DOC] Improve the Manual deployment document.


------------------------------------------
[...truncated 26.43 KB...]
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
e656703aa157b115ceb4f9b229bfcc4e4e3c23c1974e44b65902d0b6ca02e270
d66227f76e9f2a7601a1c9ecdb59403e30223628b4e0bc800e98fa44de7d3b19

Total reclaimed space: 415.4MB
+ docker network prune -f --filter until=12h
+ echo 9363
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4134269554344703656.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4721507490057865167.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3175460472884771950.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins18815875387173670.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9157639394773700447.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0726cc2a50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.19s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #379

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/379/display/redirect?page=changes>

Changes:

[github] Fix logic of areEntriesOfLedgerStoredInTheBookie

[reddycharan18] Journal scan should throw IOException when it reads negative length

[guosijie] Upgrade Apache Parent Pom to 19


------------------------------------------
[...truncated 30.31 KB...]
+ docker network prune -f --filter until=12h
+ echo 18925
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8582883152477829664.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
d930e1ce5d4a: Download complete
bed4ecf88e6a: Download complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7602025926164335096.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8871961789935888085.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
556620bd1286: Verifying Checksum
556620bd1286: Download complete
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8937102055648784427.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
9a05c0860203: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4356693259961306750.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f96949cb790>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.99s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #378

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/378/display/redirect>

Changes:


------------------------------------------
[...truncated 41.79 KB...]
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.39GiB
 Name: asf934.gq1.ygridcore.net
 ID: KAC3:FAXB:HZ5T:2BSP:75LA:TVDV:RXG7:OM5O:KSP5:GINM:SOQ3:AABN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
7df019f363272da152a9c0a0d4d42b783f5fef1f61dc6531eb01f4f4e6245ea7

Total reclaimed space: 2.729MB
+ docker network prune -f --filter until=12h
+ echo 5209
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4305503332104819444.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4449457568147414803.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Download complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5659555367032936150.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins238623892659854627.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
a55cbf5e2c2f: Pulling fs layer
9a05c0860203: Pulling fs layer
29262c0637ff: Pulling fs layer
29262c0637ff: Waiting
9a05c0860203: Verifying Checksum
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
a55cbf5e2c2f: Verifying Checksum
a55cbf5e2c2f: Download complete
29262c0637ff: Verifying Checksum
29262c0637ff: Download complete
d1794cae6bfb: Pull complete
a55cbf5e2c2f: Pull complete
9a05c0860203: Pull complete
29262c0637ff: Pull complete
Digest: sha256:a22ab298cab5cf2ab53c816b4a851ab30c574078d09bd9be384f455c5c46cdc2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5408536284615268054.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f475efe91d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.32s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #377

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/377/display/redirect?page=changes>

Changes:

[github] [DLOG] LogReader shouldn't be added to pending if not locking


------------------------------------------
[...truncated 506.65 KB...]
deleted: sha256:82070001c3328e59eb1a583c938b8d5eca963845186aa759e3c8ac76f13caf64
deleted: sha256:99f38c6bd39759f1a027eb2a7d38f2ec8c0741ca3f4120ca76d05385af74fd3d
deleted: sha256:b451efacc10be90bced1d2c9f21f9cee15234c24075f8251f2db3e9fd1f63088
deleted: sha256:82cfbc4b7f0ecdd95c56e98ed1b4c0c3dea3a77e8881fac461a8ee7552df0cb5
deleted: sha256:9936bd5a2c76f70c5387ca693e7c71446fe57c36a81a63790f8b037190ef5d45
deleted: sha256:ddc79a567d81ab4eba2042318707b3d3cef3b023c7cf60a9738723973fce6bf8
deleted: sha256:34dfe90dd2f91ca948e2d85cf87d60c4540c09e6296ae35324431e5c6f21753b
deleted: sha256:266a9b2dec46eacf410f9fc3c0d0bbcbb367bba557127c1cde9a64269b271521
deleted: sha256:9ff19244d67170ae21a04492f901eb0e42d55f7a3d8f7f056ac0af1266d15528
deleted: sha256:c6fbc0fc7f0271163c0bd62ed507da0c0d4887f2074d76a6871d9f3d7a01947d
deleted: sha256:24942972ae011fd75e4681c0d6ba099cab22dae753e4f34751a124e4d15d2589
deleted: sha256:a46c2ea82a0ff71e555f2ad36604aca795f4cf2c85e01b8869d90d6c6e0f785a
deleted: sha256:5f05d02680d00f947880261ad2d3146adba53abef7b52e0b107450a6cbfb8dc0
deleted: sha256:ed8b55fd06d9f3df47e3f122049975df11105bfeeeab02b9cc0cee92a12755d0
deleted: sha256:7bdc6fccdfe4671f6468ed2fed5a9c28bf953bb3ef076c9e2b4d0c155068d9ac
deleted: sha256:a46ac7a7f0a35c7b842b53258fb3acde7bfe7f4f0c30b374c23f87820a961f02
deleted: sha256:09edf942282631b4d929aa7a9f15e4bc4c013e4d275ec44110bfd6f630d91e09
deleted: sha256:0ca5f59fcaa0adbce967698f5d4f6a6e29aa347806c4afcf21a2f6f6e5e52277
deleted: sha256:9689d421841065b7046a66c6fa9e82066343e18f34da009791603c293c27a694

Total reclaimed space: 6.036GB
+ docker network prune -f --filter until=12h
+ echo 9020
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins776856803728919599.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9054678910375364476.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3589799272158345744.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4158798223575088737.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
531cf132d4f4: Pulling fs layer
b8371b4f3c34: Pulling fs layer
b8371b4f3c34: Waiting
531cf132d4f4: Verifying Checksum
531cf132d4f4: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
b8371b4f3c34: Verifying Checksum
b8371b4f3c34: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
d1794cae6bfb: Pull complete
2fc5ff046661: Pull complete
531cf132d4f4: Pull complete
b8371b4f3c34: Pull complete
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8756589204680398834.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/c5/97/00dd42a0fc41e9016b23f07ec7f657f636cb672fad9cf72b80f8f65c6a46/virtualenv-16.7.7-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.7
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f3a1e44b810>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.26s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #376

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/376/display/redirect>

Changes:


------------------------------------------
[...truncated 162.72 KB...]
root     51901     1 51901   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9dcb04fcb4e543abd2c939bd14e0f1c648701283101c83c9cc7dc4d0c0762e06 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     51921 51901 51921   Oct 11  0.0  0.0 runc init
root     52022     1 52022   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/401dd2192f7681863d662dc6f808633f473bbc3bcfc991aebf57bb72b47a7f06 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52040 52022 52040   Oct 11  0.0  0.0 runc init
root     52134     1 52134   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/30d90a2ff408694faa0e081edbf6206898c45b6a61bb64adc080da7f31d757c6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52152 52134 52152   Oct 10  0.0  0.0 runc init
root     52239     1 52239   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/95f97d2a7deb7b34089a3aba642e29292fe955b5f52d3de09775805e9b34fa62 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52263 52239 52263   Oct 10  0.0  0.0 runc init
root     52273     1 52273   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/61d311b2893b9692b883fa8f7306b2eb1bb7ce09ab91e879b01a01b44d250ece -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52292 52273 52292   Oct 11  0.0  0.0 runc init
root     52352     1 52352   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6a7045589fd4283b8fd8f39a5685c1ba241fdbbdb322ebfb02028284eeea46ff -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52370 52352 52370   Oct 10  0.0  0.0 runc init
root     52404     1 52404   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/54e83a3c916ab2ad1fd6c654064d568658aac0904ea42fdb5a7d5cac25800238 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52423 52404 52423   Oct 11  0.0  0.0 runc init
root     52509     1 52509   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/223e00d64da351b6d092a9f52ee1e60da045b2347f9e9abdd8c8c3e014a48b60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52528     1 52528   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/fe811edd5dda2dce61e2dc8f849e2c35f70388fb83fab6337cafe9a0f31f6459 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52538 52509 52538   Oct 18  0.0  0.0 runc init
root     52548 52528 52548   Oct 11  0.0  0.0 runc init
root     52586     1 52586   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b3eb84cff08e9b0d2a29081fe20e5319e6e8d7aefb34b582ffa4e23af63a6999 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52604 52586 52604   Oct 10  0.0  0.0 runc init
root     52610     2     0 06:14:58  0.0  0.0 [kworker/14:2]
root     52666     1 52666   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4c4f826dcdbe2bcb9d7e2de49ff36dbfb39c5d554fd2b34278dcaa8a3aa4b4da -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52684 52666 52684   Oct 11  0.0  0.0 runc init
root     52779     1 52779   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/927867b6a30b69eacd768de2eb51fea6bf06f247bfdb9a1a4db2d71d384148d9 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52802 52779 52802   Oct 11  0.0  0.0 runc init
root     52964     1 52964   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0dd20bcfb2672d1b2e3f564ecacc413b0c4b1855519742f17ef56986f4bdf405 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     52983 52964 52983   Oct 11  0.0  0.0 runc init
root     53021     1 53021   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/506b2da1175c39c6d879a858ef31c15f0d63b8084c507dce805f2416e2f25977 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53052     1 53052   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9cfc931abc4dd9118cbfe0feca729409a0b657f739e244022ee5988d2c016fdc -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53070 53052 53070   Oct 16  0.0  0.0 runc init
root     53083 53021 53083   Oct 10  0.0  0.0 runc init
root     53099     1 53099   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/da2951bf0b2c8c591b11dc00303e55e3cb2a50ce19350e7e8e79a293d5d235d6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53117 53099 53117   Oct 11  0.0  0.0 runc init
root     53197     1 53197   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ec048fc31413141e8ab55838c57628b9d1c1a1fa1a0396d73e5baa590acd331a -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53215 53197 53215   Oct 10  0.0  0.0 runc init
root     53230     1 53230   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/cd44b95f9fa77bf08593c122b725ce26fc08467a44140aa4af31a25ad04c3cae -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53248 53230 53248   Oct 11  0.0  0.0 runc init
root     53347     1 53347   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9e9197770f8e3b730aa1537d87f563c002e422a12e9b4c84cbb90e641983763c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53356     1 53356   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/630be0da3c25d2c48e02ce6fdd612e6075c9fc9889f44df3a56f506572e2d68c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53374 53356 53374   Oct 10  0.0  0.0 runc init
root     53375 53347 53375   Oct 11  0.0  0.0 runc init
root     53463     1 53463   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f3ecc6104f6a2b9956b6b1dafc094b1252959c36a106b4649e9ab9b08cdcdc1e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53465     1 53465   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/19718a1a7abc5d13991e48f37250bdbf92ed054189eafb37b3ca759eeb11887f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53483 53465 53483   Oct 10  0.0  0.0 runc init
root     53491     1 53491   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a031f4e5d45c1d7324026d9d609c351109c69456f57400bc72196459dc7d64b5 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53505 53463 53505   Oct 16  0.0  0.0 runc init
root     53513 53491 53513   Oct 11  0.0  0.0 runc init
root     53580     2     0   Oct 16  0.0  0.0 [kworker/19:0]
root     53589     1 53589   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f9a80286ab41ab819c710a2658794438a9c5df9236361726076740ce795bea42 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53607 53589 53607   Oct 10  0.0  0.0 runc init
root     53634     1 53634   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/7a051e42dc0e27661b1b0e5b47d8578a33844907a9640f5a91ab585e553bcda0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53654 53634 53654   Oct 11  0.0  0.0 runc init
root     53753     1 53753   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4699cca53a8247ed8b966f1db3322d707bed685c89d339efa24f1283d403eea8 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53771 53753 53771   Oct 10  0.0  0.0 runc init
root     53826     1 53826   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/8358f62253abea5c6836bf32c85ead7eb20a4eb283c41f94625bf363985fc3d3 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53844 53826 53844   Oct 11  0.0  0.0 runc init
root     53863     1 53863   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4cf750e4e483280847fd6227c38afaa09affb8bec39671c3539636649c83b7fa -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53881 53863 53881   Oct 10  0.0  0.0 runc init
root     53941     1 53941   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/37ce046ece335d1f1ca42479e140bb09dae873ba39db61b01a86724341552ba0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53959 53941 53959   Oct 15  0.0  0.0 runc init
root     53962     1 53962   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/3fd2bf6be9a7e80290682d6a2c91be3358524f6bf9dbfb46b4abff4ab597af41 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53978     1 53978   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/cafcbede38f5e16895b6f9be9dd4dc55fae986c6b96b6a02b77f6eaeb6cb5aae -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     53989 53962 53989   Oct 11  0.0  0.0 runc init
root     53996 53978 53996   Oct 10  0.0  0.0 runc init
root     54087     1 54087   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b4345e27314eed255dadfd421f501f7d18ea956383216df1e71d4eaab8dcf0c1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54101     1 54101   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f5a2cc48916be2061aa8c1f30a61fd9a84934dde993c6186d9ebaecad4ab6c89 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54105 54087 54105   Oct 10  0.0  0.0 runc init
root     54124 54101 54124   Oct 11  0.0  0.0 runc init
root     54125     1 54125   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/74ca944a60874becd844a3f7840333587b5e1a9d113247ab41238f927071b5da -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54149 54125 54149   Oct 15  0.0  0.0 runc init
root     54224     1 54224   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6679b6b0c305bda08709e42bc4e399f0c14b3f2521be64839ab46f0f68dc3188 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54242 54224 54242   Oct 11  0.0  0.0 runc init
root     54270     1 54270   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/367c682a317e0a3d6a47dde02e4fa9619d53242df6562d89acd3f966a4a1535f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54289 54270 54289   Oct 15  0.0  0.0 runc init
root     54314     1 54314   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a220e84df0434157df384ced6ec6d9dbde000422dc219c4faeee077af57c01b0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54334 54314 54334   Oct 10  0.0  0.0 runc init
root     54370     1 54370   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/2402821dbaf2f8603e685b481eb0ab364ee05dbfc16fd5b2f2a928f3b3df09c6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54383     1 54383   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a8428f05f72adc5cf4201b92df5cfcffd2cf8ff17cbb34fd8c6e42ebec2df7d -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54389 54370 54389   Oct 11  0.0  0.0 runc init
root     54406 54383 54406   Oct 16  0.0  0.0 runc init
root     54502     1 54502   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b99c9bcba6ed34934eefba7b0832e8d1ad1d4d44d47ff1366700f2205535c536 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54520 54502 54520   Oct 10  0.0  0.0 runc init
root     54522     1 54522   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f6b79e28988bb090896862d097094b1b22a341e67e0be5eef7057b0bbc4de109 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54545 54522 54545   Oct 16  0.0  0.0 runc init
root     54594     1 54594   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/7c393ffc02edc5ad5de80abc61c701df92435695d04701150fe506231b47bc3a -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54612     1 54612   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/64969441b5b3ae64e087121516cefdb0f575a1b238765edd47b5105082dafd47 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54622 54594 54622   Oct 11  0.0  0.0 runc init
root     54630 54612 54630   Oct 10  0.0  0.0 runc init
root     54678     1 54678   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f34b2693d124491475dcd076e3726e65148977b6454537d91b691b3c81d1d037 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54696 54678 54696   Oct 16  0.0  0.0 runc init
root     54720     1 54720   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0b60357e2bd7fd7b70d1b4f3b013f0acac04fd4d15257f97473c94109addc208 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54738 54720 54738   Oct 10  0.0  0.0 runc init
root     54749     1 54749   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/7e9f9b715c240ce6d46b3c65856762c614dc5142d3ee586338e0c01e46275aaf -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     54769 54749 54769   Oct 11  0.0  0.0 runc init
root     55019     1 55019   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/237caa6f331dc0e7c0118493bc8f565dcf6720773a4ab0dbe310954d2f971bed -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55037 55019 55037   Oct 10  0.0  0.0 runc init
root     55318     1 55318   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/3f9516661b545c0cf643b97e7b5ea5a059523c2dfaeb5da24316401ee6570b78 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55336 55318 55336   Oct 10  0.0  0.0 runc init
root     55403     1 55403   Oct 17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a035a80cee3f9042442a0644d421664a80e7b83e57b63a545a0dac71ee1d468 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55422 55403 55422   Oct 17  0.0  0.0 runc init
root     55491     1 55491   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/cf516a4c5313a65c031579053403429fb9e9264c22cd9c2a8e23102bb35452ff -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55509 55491 55509   Oct 10  0.0  0.0 runc init
root     55603     1 55603   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/8d5c2e0da6c9f25c3234604cec13aaa992f13520da4d5979e8a8b66cce12fed1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55621 55603 55621   Oct 10  0.0  0.0 runc init
root     55712     1 55712   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/059793f1817000f55b1f941ccb271460475e78ee30d209e89346ceba27149b36 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55730 55712 55730   Oct 10  0.0  0.0 runc init
root     55876     1 55876   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c38c02ccebed4eef3df14762e3627328b24b74b9c59e01d9f3100393f96d1b64 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     55894 55876 55894   Oct 10  0.0  0.0 runc init
root     56095     1 56095   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/63f9af38b00748ebb784351e9b4747322e14223bbc55863e10c727a33eab197b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56113 56095 56113   Oct 16  0.0  0.0 runc init
root     56135     1 56135   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/33a2ce1b1df3f492e4cfa2ba6fc24ef7991ce0ce2f88b3bd70a4ee60182bc9d3 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56153 56135 56153   Oct 15  0.0  0.0 runc init
root     56230     1 56230   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c984df4cec0f48166a79b0e68b412589ddeaca43a610503a58ba71c03218cd6e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56249 56230 56249   Oct 16  0.0  0.0 runc init
root     56266     1 56266   Oct 12  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/8f7bb521addd495135f898ae7b38e5776d789f178ea8573b4616afbbf2d78a04 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56289 56266 56289   Oct 12  0.0  0.0 runc init
root     56320     1 56320   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/d45ac8825d68e893e16376563243a511a9a2ee880ba75f713c00ac93cd623411 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56338 56320 56338   Oct 11  0.0  0.0 runc init
root     56460     1 56460   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/49dac05c1302dba5eb8ec62e6e40408f4f8c3a22460e45ca484e42684bbbc00c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56478 56460 56478   Oct 16  0.0  0.0 runc init
root     56504     1 56504   Oct 14  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f6031b0b641e6a4a776edf9519852db2b7e1f3bd5e344a7fcba7471449854c45 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56519     1 56519   Oct 12  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0b9e3064e787b8333d772beb16d983fe4892174e124a76dbe86c8c19c6ee7ea1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56531 56504 56531   Oct 14  0.0  0.0 runc init
root     56537 56519 56537   Oct 12  0.0  0.0 runc init
root     56628     1 56628   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/71553ef89dcee03d756f849f80489c11332efd459c56eb20002f1c62f5b5f091 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56646 56628 56646   Oct 15  0.0  0.0 runc init
root     56738     2     0   Oct 21  0.0  0.0 [kworker/23:0]
root     56752     1 56752   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/100afb71922a080440b6ae301bf40e0a2410057b47c3d1ef1c138e96c9b13621 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56770 56752 56770   Oct 16  0.0  0.0 runc init
root     56860     2     0   Oct 14  0.0  0.0 [kworker/21:2]
root     56869     1 56869   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bbb2637e04684cbaa5c442fedf5793b95d47cdfb1b7989cffcb0a825d8d9aab6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     56888 56869 56888   Oct 16  0.0  0.0 runc init
root     56987     1 56987   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/50df0169bdb1fb1a0b8cb160e48a2c2c9b5e9b7a56abe73ae8fcfb806266d1ce -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57006 56987 57006   Oct 16  0.0  0.0 runc init
root     57217     1 57217   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/92d6269576b0d87387a9593ace6661a517dab2ff354ace2d1afffff014e47753 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57235 57217 57235   Oct 10  0.0  0.0 runc init
root     57383     1 57383   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bb97d07596f44867d3a2a3e9987363cf0799786a253eac933172418afe0dc8e6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57401 57383 57401   Oct 11  0.0  0.0 runc init
root     57500     2     0   Oct 16  0.0  0.0 [loop6]
root     57511     1 57511   Oct 14  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bf5e32c5781a8bc64e8a13c55c7fdb3800a6731f21ee559568080ed8e4cc4fa1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57512     1 57512   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ffff51aef1b34807bebde9ba37c81bd9ae5df129f4b83f3888ecdec2bc5d8f1e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57530 57512 57530   Oct 10  0.0  0.0 runc init
root     57544 57511 57544   Oct 14  0.0  0.0 runc init
root     57791     2     0   Oct 16  0.0  0.0 [kworker/19:2]
root     58360     2     0 08:43:18  0.0  0.0 [kworker/u129:2]
root     58375  1311  1236 21:34:38  0.4  0.0 nessusd -q
root     58607     2     0   Oct 19  0.0  0.0 [kworker/12:0]
root     58612     1 58612   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a8be1ef4cc91c251c45c1da8f5b4becc04b2f03d7d9d6afc1e67965a1a2c1503 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58630 58612 58630   Oct 10  0.0  0.0 runc init
root     58672     2     0   Oct 10  0.0  0.0 [loop3]
root     58707     1 58707   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/65fc5be9155be8a835193dfea23787a36f2e2685bf39d82ae3e82c1118e50838 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58725 58707 58725   Oct 18  0.0  0.0 runc init
root     58825     1 58825   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c86ccdadde8136585613e58b1e85bc6214bb3c26cc6c9431d1c6bea0554b59d9 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58843 58825 58843   Oct 10  0.0  0.0 runc init
root     58993     1 58993   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/93671894a6e7a08d479e530b94db5c862ac07385bb5407a06270d7e84fd28177 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59081 58993 59081   Oct 10  0.0  0.0 runc init
root     59255     1 59255   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/098616fd022c6dcd50741fa1262416013364eb911e8ff1a76d6f1af3d304ee91 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59273 59255 59273   Oct 10  0.0  0.0 runc init
root     59471     1 59471   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ff8f2fe19481c5935d8b1325718702f281069f221f24b1f2a537c8ee62f0065c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59490 59471 59490   Oct 10  0.0  0.0 runc init
root     59576     1 59576   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/51d75928cca48998b63e253d0313725fc326d00cba7fdd9282829fcc03302a60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59594 59576 59594   Oct 10  0.0  0.0 runc init
root     59740     1 59740   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/945059fbba79ad8d2bff2db8e1de31a775d6f82a22d4aa53fa76c00cd7a4ea32 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   59758 59740 59758   Oct 18  0.0  0.0 runc init
root     59898     1 59898   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5901eda1a7bd0203fcfe569b6d1343d29e9da1ccbe025cc0bae01ae9d0c5e493 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59916 59898 59916   Oct 10  0.0  0.0 runc init
root     60008     1 60008   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f7bf199722da0511ff6f137517b458e1015617f0d72684307678c5deb894818b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60015     1 60015   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/e54fd97ce66bd4d7689c6e0aa132fdc3fbd4a9aade429af34875177cdbff4889 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60033 60015 60033   Oct 10  0.0  0.0 runc init
root     60046 60008 60046   Oct 16  0.0  0.0 runc init
root     60051     1 60051   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c07ea6990f30c37c710cad2019708bfad31644dc3403e853ffea072d7602d7ce -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60069 60051 60069   Oct 16  0.0  0.0 runc init
root     60336     1 60336   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/353ac42bf19872fb2191e0afe4e8d8f1c4bde397a58a99d83714c1e1d59b9cd0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60355 60336 60355   Oct 10  0.0  0.0 runc init
root     60450     1 60450   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bed75ccd9db538628016c960d9b463a7e61bed497682dde8d1d2036f2805eaa1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60468 60450 60468   Oct 10  0.0  0.0 runc init
root     60481     1 60481   Oct 17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/dc0a8ce6e82723dde8d29c45121328c56eafeceff06f0370735bb032766daa1f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60506 60481 60506   Oct 17  0.0  0.0 runc init
root     60751     1 60751   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/675a055440a019e1f937bd5fcbcb6aea73c1b8e3856c03096e28e43ef3b53066 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60769 60751 60769   Oct 10  0.0  0.0 runc init
root     60835     1 60835   Oct 19  0.0  0.0 /usr/bin/containerd
root     60956     1 60956   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/86f086e881b8656a3be006d2a6ec24dee4f7d7b581bcc40debf24ff6ac99b668 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60992 60956 60992   Oct 10  0.0  0.0 runc init
root     61091     1 61091   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a1b0ec9f1634aaa68a3888973f9b4bd5cb7005c4cb2d16c4c2bbd8f0ebfbb67 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61110 61091 61110   Oct 10  0.0  0.0 runc init
root     61196     1 61196   Oct 10  0.0  0.0 /usr/lib/snapd/snapd
root     61246     1 61246   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/79e5318baddaf3da6521e3014b1b1febde8a4fb65a8e5b319be8514478259789 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61264 61246 61264   Oct 15  0.0  0.0 runc init
root     61271     1 61271   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/1f416b9714f4282edd02072d6ed82321fd70717f94e91165d1a23dff1be21b20 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61303 61271 61303   Oct 16  0.0  0.0 runc init
root     61330     1 61330   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/91d137735a6f8d56fbf51f100d1b43e594c8d91fff551aa761bbe2c138217f12 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61348 61330 61348   Oct 10  0.0  0.0 runc init
root     61365     1 61365   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/776cb8e3d7da9357973d695c240772d35c0f97ddf2c47d9ddf2bb3e286726d05 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61385 61365 61385   Oct 15  0.0  0.0 runc init
root     61435     1 61435   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9df9770ef8c632a493f6d69a7e9621f951c33d07c1ee8d3f2708447bb8940356 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61453 61435 61453   Oct 10  0.0  0.0 runc init
root     61478     1 61478   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/749e0f5baa33a47b53e501b987643ceca8f92a14399f626f216f668e3c4837a7 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61502 61478 61502   Oct 16  0.0  0.0 runc init
root     61546     1 61546   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/08d8a4ac6cd7c5e3d02d05aeff9277d8dba5d9a18f23d7645d4e39866159bc60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61566 61546 61566   Oct 10  0.0  0.0 runc init
root     61680     1 61680   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6f679e32bba5d08bd5910615e60c25e7496909fcb90ad96044259502a2a54769 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61700 61680 61700   Oct 10  0.0  0.0 runc init
root     61729     1 61729   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4318154b05fda15ac25b887904c3ef2545f1c254b9c71f1fcdff0325794b885c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61748 61729 61748   Oct 16  0.0  0.0 runc init
root     61854     1 61854   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/d4138a90b67402a0e8b4b3af50879176161e687a5179c2bd03588c72aabac7e4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61872 61854 61872   Oct 10  0.0  0.0 runc init
root     61983     1 61983   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/48c638e825544c86752348df8b423d96aad9d0bdbd93ceae30b4052694010cca -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62002 61983 62002   Oct 10  0.0  0.0 runc init
root     62044     1 62044   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/45ba40aba303abf03a07dec75a52f47472b32f38178124418072e6ffab434824 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62056     1 62056   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5912e05c5de1e86011112324f28025887ce44ea33348156a247b63be792d1c3b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62062 62044 62062   Oct 15  0.0  0.0 runc init
root     62079 62056 62079   Oct 16  0.0  0.0 runc init
root     62186     1 62186   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/250950e2efb6595ee2116856a17dbfe8b770f69769b8ba8966465043ab66173f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62204 62186 62204   Oct 16  0.0  0.0 runc init
root     62213     1 62213   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/933f80617a8e458ac306f056eddb0e3cc9e729ab60a96942a7151a3dec6cb966 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62231 62213 62231   Oct 10  0.0  0.0 runc init
root     62258     2     0   Oct 18  0.0  0.0 [kworker/6:1]
root     62277     1 62277   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b3f50d2809aefcdba4d7db017aa4fd87aef2b948e61b1b759066562c00685bf6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   62297 62277 62297   Oct 18  0.0  0.0 runc init
root     62423     1 62423   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/74a5adc16845f9ffd5bc26ffe7558385fdea253fd0f2fd7b86880bdcfabcd8fb -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62443 62423 62443   Oct 16  0.0  0.0 runc init
root     63597     1 63597   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/24d096af61c0d1dfda49a6783ac89b914ccf86838a7f08f700ca48d85705ed41 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63615 63597 63615   Oct 18  0.0  0.0 runc init
root     63621     1 63621   Oct 17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0c163bc8b810f680754fb03fb30633bfdda911dae5809b7973149fe707ec1ba4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63640 63621 63640   Oct 17  0.0  0.0 runc init
root     63911     2     0 06:16:06  0.0  0.0 [kworker/u129:0]
root     63986     2     0   Oct 21  0.0  0.0 [kworker/10:2]
root     64342     1 64342   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ce35778aaabfd7d3e1c9a4341868e0ea9d96dd45b9d17f64f7a1f38937d352e8 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64360 64342 64360   Oct 11  0.0  0.0 runc init
root     64461     1 64461   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4b33d55593b029b11bd52842d0f69416ae3098feba8e11b1f3e0710a6262092d -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64479 64461 64479   Oct 11  0.0  0.0 runc init
root     64713     1 64713   Oct 18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9aed37521a220ed5073bac6f32de767ca4bc81bfabfd8af1c4ef3d1a32d3b3a6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64732 64713 64732   Oct 18  0.0  0.0 runc init
root     64883     1 64883   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5fcf56f4f3305f8fc5d2174ef21730545d5d30c7cbcd70c370ff310d26627642 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   64902 64883 64902   Oct 11  0.0  0.0 runc init
root     65189     2     0 06:16:10  0.0  0.0 [kworker/9:2]
root     65433     1 65433   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a0ef778c66d614587c2c6883ce188c844adcdfbc85ee7d468f653ff0401c0996 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     65451 65433 65451   Oct 15  0.0  0.0 runc init
+ docker info
Client:
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #375

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/375/display/redirect>

Changes:


------------------------------------------
[...truncated 24.26 KB...]
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-65-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.39GiB
 Name: asf935.gq1.ygridcore.net
 ID: IGQ4:MYOD:IV7X:JQ43:NRWL:7NPX:6EHA:ZAZK:Q25R:D6JA:PDWF:V7KV
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 11146
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Already exists
ab017ee82de8: Already exists
973721b7fcb1: Already exists
0c79b341c8ed: Already exists
1b304faacdc3: Already exists
5c94f9cbba07: Already exists
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Image is up to date for quay.io/coreos/etcd:v3.3
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/jenkins8939448758211463948.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5803472245761389318.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins19402434098476429.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8463462851425913602.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
531cf132d4f4: Pulling fs layer
b8371b4f3c34: Pulling fs layer
b8371b4f3c34: Waiting
531cf132d4f4: Verifying Checksum
531cf132d4f4: Download complete
d1794cae6bfb: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
b8371b4f3c34: Verifying Checksum
b8371b4f3c34: Download complete
d1794cae6bfb: Pull complete
2fc5ff046661: Pull complete
531cf132d4f4: Pull complete
b8371b4f3c34: Pull complete
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4850869009716170108.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: argcomplete, virtualenv, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fbd6cb13490>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.17s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #374

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/374/display/redirect>

Changes:


------------------------------------------
[...truncated 23.21 KB...]
root     27429     1 27429   Oct 10  0.0  0.1 /lib/systemd/systemd-journald
jenkins  27513 18524 18524 12:31:18  0.0  0.0 /bin/bash -xe /tmp/jenkins7852062774486172203.sh
jenkins  27515 27513 18524 12:31:18  0.0  0.0 bash .test-infra/scripts/pre-docker-tests.sh
jenkins  27518 27515 18524 12:31:18  0.0  0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
root     27978     2     0 11:09:00  0.0  0.0 [kworker/18:1]
root     28661     2     0   Oct 12  0.0  0.0 [loop2]
root     29170     2     0 10:39:15  0.0  0.0 [kworker/16:0]
root     29212     2     0 09:41:00  0.0  0.0 [kworker/9:2]
root     29749     2     0 10:39:38  0.0  0.0 [kworker/6:2]
root     29907     1 29907   Oct 19  0.0  0.0 /usr/bin/containerd
root     29908     1 29908   Oct 19  0.2  0.1 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     30045     2     0 10:09:59  0.0  0.0 [kworker/15:0]
root     30145     2     0 04:45:58  0.0  0.0 [kworker/18:0]
postfix  31036  2143  2143   Sep 12  0.0  0.0 tlsmgr -l -t unix -u -c
root     31285     1 31285   Oct 05  0.0  0.0 /usr/sbin/sshd -D
root     31383     2     0 11:13:31  0.0  0.0 [kworker/11:0]
root     31422     2     0 11:13:32  0.0  0.0 [kworker/1:0]
root     31609     2     0 08:43:48  0.0  0.0 [kworker/22:2]
_chrony  32667     1 32666   Oct 05  0.0  0.0 /usr/sbin/chronyd
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 209
 Server Version: 19.03.4
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-60-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
67c14d78b7b0da18ac05e01065358c9ec72dd6623cbbf463af5407dee468fafa
a990c3b5a1ba0a04e3f3f99e8d107a3ff6dde362b515e354dede5eedbd83c0e9
1b50e6ee6b139fbfa5ab65edf73b1351c2379f1f9dc6dd8c69d9dadd365d98f6

Total reclaimed space: 447.2MB
+ docker network prune -f --filter until=12h
+ echo 27600
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6119841696433085809.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4392263879934499506.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2351379608052355167.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4679327230694165852.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8739806465133827344.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Installing collected packages: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fca8ff07810>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.02s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #373

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/373/display/redirect>

Changes:


------------------------------------------
[...truncated 28.16 KB...]
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins444193033155767563.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
8c90ed29fb66: Pulling fs layer
984b0e9d1433: Pulling fs layer
d930e1ce5d4a: Pulling fs layer
bed4ecf88e6a: Waiting
8a8c75f3996a: Waiting
8c90ed29fb66: Waiting
984b0e9d1433: Waiting
d930e1ce5d4a: Waiting
667692510b70: Waiting
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
1128949d0793: Verifying Checksum
1128949d0793: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
984b0e9d1433: Verifying Checksum
984b0e9d1433: Download complete
8c90ed29fb66: Verifying Checksum
8c90ed29fb66: Download complete
d930e1ce5d4a: Verifying Checksum
d930e1ce5d4a: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
8c90ed29fb66: Pull complete
984b0e9d1433: Pull complete
d930e1ce5d4a: Pull complete
Digest: sha256:dd5a469f9fd76c246c79dc2c863d2e99cf48ce6111ef92b7c63702bcc2a4e1cd
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3492918918395655505.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
792e28117005: Pulling fs layer
792e28117005: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Download complete
792e28117005: Verifying Checksum
792e28117005: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
792e28117005: Pull complete
Digest: sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6183239634278941571.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
89e2653a6fd6: Pulling fs layer
e734e9b755df: Verifying Checksum
e734e9b755df: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
89e2653a6fd6: Verifying Checksum
89e2653a6fd6: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
89e2653a6fd6: Pull complete
Digest: sha256:8f0ff74979b301b4df693072e60ae34ff368b00e5f399a9cdaf2a350c37997ab
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1300765397302314559.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
531cf132d4f4: Pulling fs layer
b8371b4f3c34: Pulling fs layer
b8371b4f3c34: Waiting
531cf132d4f4: Verifying Checksum
531cf132d4f4: Download complete
d1794cae6bfb: Verifying Checksum
d1794cae6bfb: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
d1794cae6bfb: Pull complete
b8371b4f3c34: Verifying Checksum
b8371b4f3c34: Download complete
2fc5ff046661: Pull complete
531cf132d4f4: Pull complete
b8371b4f3c34: Pull complete
Digest: sha256:e3a394aa64680f8db2caf932e2b433fce4d1ca19c289f7c57fa041fcb37a10f5
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1228430965767794841.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa005c7f990>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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 since Python 3.3,and in 3.9 it will stop working
    from google.protobuf.pyext import _message

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 since Python 3.3,and in 3.9 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    (collections.MutableMapping, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.86s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #372

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/372/display/redirect?page=changes>

Changes:

[reddycharan18] Update maven version to 3.6.2 for Jenkins


------------------------------------------
[...truncated 186.90 KB...]
root     57512  1355 57512   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ffff51aef1b34807bebde9ba37c81bd9ae5df129f4b83f3888ecdec2bc5d8f1e -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     57530 57512 57530   Oct 10  0.0  0.0 runc init
root     57544 57511 57544   Oct 14  0.0  0.0 runc init
root     57791     2     0   Oct 16  0.0  0.0 [kworker/19:2]
root     58612  1355 58612   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a8be1ef4cc91c251c45c1da8f5b4becc04b2f03d7d9d6afc1e67965a1a2c1503 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58630 58612 58630   Oct 10  0.0  0.0 runc init
root     58672     2     0   Oct 10  0.0  0.0 [loop3]
root     58825  1355 58825   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c86ccdadde8136585613e58b1e85bc6214bb3c26cc6c9431d1c6bea0554b59d9 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     58843 58825 58843   Oct 10  0.0  0.0 runc init
root     58993  1355 58993   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/93671894a6e7a08d479e530b94db5c862ac07385bb5407a06270d7e84fd28177 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59081 58993 59081   Oct 10  0.0  0.0 runc init
root     59255  1355 59255   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/098616fd022c6dcd50741fa1262416013364eb911e8ff1a76d6f1af3d304ee91 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59273 59255 59273   Oct 10  0.0  0.0 runc init
root     59471  1355 59471   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ff8f2fe19481c5935d8b1325718702f281069f221f24b1f2a537c8ee62f0065c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59490 59471 59490   Oct 10  0.0  0.0 runc init
root     59576  1355 59576   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/51d75928cca48998b63e253d0313725fc326d00cba7fdd9282829fcc03302a60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59594 59576 59594   Oct 10  0.0  0.0 runc init
root     59723     2     0 07:24:53  0.0  0.0 [kworker/3:1]
root     59740  1355 59740 07:24:53  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/945059fbba79ad8d2bff2db8e1de31a775d6f82a22d4aa53fa76c00cd7a4ea32 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   59758 59740 59758 07:24:53  0.0  0.0 runc init
root     59898  1355 59898   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5901eda1a7bd0203fcfe569b6d1343d29e9da1ccbe025cc0bae01ae9d0c5e493 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     59916 59898 59916   Oct 10  0.0  0.0 runc init
jenkins  60003  6319  6319 12:28:22 41.3  0.7 /usr/local/asfpackages/java/jdk1.8.0_191/bin/java -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dorg.gradle.native=false -Xms256m -Xmx2048m -Dfile.encoding=ISO-8859-1 -Duser.country=US -Duser.language=en -Duser.variant -ea -cp /home/jenkins/.gradle/caches/5.6.2/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 19'
root     60008  1355 60008   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f7bf199722da0511ff6f137517b458e1015617f0d72684307678c5deb894818b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60015  1355 60015   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/e54fd97ce66bd4d7689c6e0aa132fdc3fbd4a9aade429af34875177cdbff4889 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60033 60015 60033   Oct 10  0.0  0.0 runc init
root     60046 60008 60046   Oct 16  0.0  0.0 runc init
root     60051  1355 60051   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/c07ea6990f30c37c710cad2019708bfad31644dc3403e853ffea072d7602d7ce -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60069 60051 60069   Oct 16  0.0  0.0 runc init
root     60230     2     0 12:28:25  0.0  0.0 [kworker/u130:2]
root     60336  1355 60336   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/353ac42bf19872fb2191e0afe4e8d8f1c4bde397a58a99d83714c1e1d59b9cd0 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60355 60336 60355   Oct 10  0.0  0.0 runc init
root     60450  1355 60450   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/bed75ccd9db538628016c960d9b463a7e61bed497682dde8d1d2036f2805eaa1 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60468 60450 60468   Oct 10  0.0  0.0 runc init
root     60481  1355 60481 15:57:18  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/dc0a8ce6e82723dde8d29c45121328c56eafeceff06f0370735bb032766daa1f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60506 60481 60506 15:57:18  0.0  0.0 runc init
root     60751  1355 60751   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/675a055440a019e1f937bd5fcbcb6aea73c1b8e3856c03096e28e43ef3b53066 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60769 60751 60769   Oct 10  0.0  0.0 runc init
root     60956  1355 60956   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/86f086e881b8656a3be006d2a6ec24dee4f7d7b581bcc40debf24ff6ac99b668 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     60992 60956 60992   Oct 10  0.0  0.0 runc init
root     61091  1355 61091   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5a1b0ec9f1634aaa68a3888973f9b4bd5cb7005c4cb2d16c4c2bbd8f0ebfbb67 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61110 61091 61110   Oct 10  0.0  0.0 runc init
root     61196     1 61196   Oct 10  0.0  0.0 /usr/lib/snapd/snapd
root     61246  1355 61246   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/79e5318baddaf3da6521e3014b1b1febde8a4fb65a8e5b319be8514478259789 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61264 61246 61264   Oct 15  0.0  0.0 runc init
root     61271  1355 61271   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/1f416b9714f4282edd02072d6ed82321fd70717f94e91165d1a23dff1be21b20 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61303 61271 61303   Oct 16  0.0  0.0 runc init
root     61330  1355 61330   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/91d137735a6f8d56fbf51f100d1b43e594c8d91fff551aa761bbe2c138217f12 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61348 61330 61348   Oct 10  0.0  0.0 runc init
root     61365  1355 61365   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/776cb8e3d7da9357973d695c240772d35c0f97ddf2c47d9ddf2bb3e286726d05 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61385 61365 61385   Oct 15  0.0  0.0 runc init
root     61435  1355 61435   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9df9770ef8c632a493f6d69a7e9621f951c33d07c1ee8d3f2708447bb8940356 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61453 61435 61453   Oct 10  0.0  0.0 runc init
root     61478  1355 61478   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/749e0f5baa33a47b53e501b987643ceca8f92a14399f626f216f668e3c4837a7 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61502 61478 61502   Oct 16  0.0  0.0 runc init
root     61546  1355 61546   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/08d8a4ac6cd7c5e3d02d05aeff9277d8dba5d9a18f23d7645d4e39866159bc60 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61566 61546 61566   Oct 10  0.0  0.0 runc init
root     61680  1355 61680   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/6f679e32bba5d08bd5910615e60c25e7496909fcb90ad96044259502a2a54769 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61700 61680 61700   Oct 10  0.0  0.0 runc init
root     61729  1355 61729   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4318154b05fda15ac25b887904c3ef2545f1c254b9c71f1fcdff0325794b885c -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61748 61729 61748   Oct 16  0.0  0.0 runc init
root     61854  1355 61854   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/d4138a90b67402a0e8b4b3af50879176161e687a5179c2bd03588c72aabac7e4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     61872 61854 61872   Oct 10  0.0  0.0 runc init
root     61983  1355 61983   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/48c638e825544c86752348df8b423d96aad9d0bdbd93ceae30b4052694010cca -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62002 61983 62002   Oct 10  0.0  0.0 runc init
root     62026     2     0   Oct 16  0.0  0.0 [kworker/3:0]
root     62044  1355 62044   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/45ba40aba303abf03a07dec75a52f47472b32f38178124418072e6ffab434824 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62056  1355 62056   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5912e05c5de1e86011112324f28025887ce44ea33348156a247b63be792d1c3b -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62062 62044 62062   Oct 15  0.0  0.0 runc init
root     62079 62056 62079   Oct 16  0.0  0.0 runc init
root     62186  1355 62186   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/250950e2efb6595ee2116856a17dbfe8b770f69769b8ba8966465043ab66173f -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62204 62186 62204   Oct 16  0.0  0.0 runc init
root     62213  1355 62213   Oct 10  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/933f80617a8e458ac306f056eddb0e3cc9e729ab60a96942a7151a3dec6cb966 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62222     2     0 09:00:50  0.0  0.0 [kworker/5:1]
root     62223     2     0 09:00:50  0.0  0.0 [kworker/u128:0]
root     62231 62213 62231   Oct 10  0.0  0.0 runc init
root     62258     2     0 07:26:28  0.0  0.0 [kworker/6:1]
root     62277  1355 62277 07:26:29  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/b3f50d2809aefcdba4d7db017aa4fd87aef2b948e61b1b759066562c00685bf6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   62297 62277 62297 07:26:29  0.0  0.0 runc init
root     62423  1355 62423   Oct 16  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/74a5adc16845f9ffd5bc26ffe7558385fdea253fd0f2fd7b86880bdcfabcd8fb -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     62443 62423 62443   Oct 16  0.0  0.0 runc init
root     63597  1355 63597 07:27:17  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/24d096af61c0d1dfda49a6783ac89b914ccf86838a7f08f700ca48d85705ed41 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63615 63597 63615 07:27:17  0.0  0.0 runc init
root     63621  1355 63621 23:31:51  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/0c163bc8b810f680754fb03fb30633bfdda911dae5809b7973149fe707ec1ba4 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     63637     2     0 09:03:21  0.0  0.0 [kworker/0:1]
root     63640 63621 63640 23:31:51  0.0  0.0 runc init
root     64342  1355 64342   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/ce35778aaabfd7d3e1c9a4341868e0ea9d96dd45b9d17f64f7a1f38937d352e8 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64360 64342 64360   Oct 11  0.0  0.0 runc init
root     64461  1355 64461   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/4b33d55593b029b11bd52842d0f69416ae3098feba8e11b1f3e0710a6262092d -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64479 64461 64479   Oct 11  0.0  0.0 runc init
root     64697     2     0 07:27:50  0.0  0.0 [kworker/8:2]
root     64713  1355 64713 07:27:51  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/9aed37521a220ed5073bac6f32de767ca4bc81bfabfd8af1c4ef3d1a32d3b3a6 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     64732 64713 64732 07:27:51  0.0  0.0 runc init
root     64883  1355 64883   Oct 11  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/5fcf56f4f3305f8fc5d2174ef21730545d5d30c7cbcd70c370ff310d26627642 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
rajive   64902 64883 64902   Oct 11  0.0  0.0 runc init
root     65433  1355 65433   Oct 15  0.0  0.0 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/a0ef778c66d614587c2c6883ce188c844adcdfbc85ee7d468f653ff0401c0996 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
root     65451 65433 65451   Oct 15  0.0  0.0 runc init
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 4
  Running: 0
  Paused: 0
  Stopped: 4
 Images: 21
 Server Version: 19.03.3
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 50
  Dirperm1 Supported: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
7ad36bfa0a84f4fb64fb604de055f30e1df44be85395212d8c901f17416067dc
b471847bd2a6a875e3d8d3878a0e9b611dcc9c5d9b84c55ce30ba73a9b9e68b8
9aed37521a220ed5073bac6f32de767ca4bc81bfabfd8af1c4ef3d1a32d3b3a6
24d096af61c0d1dfda49a6783ac89b914ccf86838a7f08f700ca48d85705ed41

Deleted Images:
deleted: sha256:b21d2e059e9e163d983cd50e6d68725f368b4b66d00382e9f53446d700fa257e
deleted: sha256:67fa590cfc1c207c30b837528373f819f6262c884b7e69118d060a0c04d70ab8
deleted: sha256:877b494a9f30e74e61b441ed84bb74b14e66fb9cc321d83f3a8a19c60d078654

Total reclaimed space: 201.9MB
+ docker network prune -f --filter until=12h
+ echo 2994
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2493642377020019716.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:fc0a398e1987fb1e58909053c11630e06adb3df265fe693391779020b9253f5e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8801880063980801805.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:7c85fb81a41c6fce66cb91878769a5e4aa459390c7f66ca0c92b416f736aa95e
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6365299517959302053.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:bdfac16c16238c15ddc4860c503281bf91816d7996b44ba023b19a93a485bac5
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins984668001208279941.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:2a52adbc1f5fce2d11d07fba6b43a245118e943a6a157a65d4dfd9a0266d7900
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3703246192564714197.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-18T12:31:47Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #371

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/371/display/redirect>

Changes:


------------------------------------------
[...truncated 197.66 KB...]

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 18
 Server Version: 19.03.3
 Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 24
  Dirperm1 Supported: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
4254a02921b0881d429c2f26ad8b1e2be1daae9cefdf157ae2ac4602a5629e43

Deleted Images:
deleted: sha256:c9b7d72d36f23db03a9acd085c88933c528e8949310e2a5ff7a47999528d0496
deleted: sha256:92623d1ca0e2a8b3ee03fedc0c9742c3b3df681cf5cc98180006065900398f89
deleted: sha256:67fa590cfc1c207c30b837528373f819f6262c884b7e69118d060a0c04d70ab8
deleted: sha256:877b494a9f30e74e61b441ed84bb74b14e66fb9cc321d83f3a8a19c60d078654

Total reclaimed space: 201.9MB
+ docker network prune -f --filter until=12h
+ echo 6988
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7474620360513157937.sh
+ docker pull python:3.7
3.7: Pulling from library/python
c7b7d16361e0: Pulling fs layer
b7a128769df1: Pulling fs layer
1128949d0793: Pulling fs layer
667692510b70: Pulling fs layer
bed4ecf88e6a: Pulling fs layer
8a8c75f3996a: Pulling fs layer
10b7379e5573: Pulling fs layer
ca1b6fe24628: Pulling fs layer
9a90211ec083: Pulling fs layer
667692510b70: Waiting
bed4ecf88e6a: Waiting
8a8c75f3996a: Waiting
10b7379e5573: Waiting
ca1b6fe24628: Waiting
9a90211ec083: Waiting
b7a128769df1: Verifying Checksum
b7a128769df1: Download complete
1128949d0793: Verifying Checksum
1128949d0793: Download complete
c7b7d16361e0: Verifying Checksum
c7b7d16361e0: Download complete
8a8c75f3996a: Verifying Checksum
8a8c75f3996a: Download complete
667692510b70: Verifying Checksum
667692510b70: Download complete
ca1b6fe24628: Download complete
10b7379e5573: Verifying Checksum
10b7379e5573: Download complete
9a90211ec083: Verifying Checksum
9a90211ec083: Download complete
bed4ecf88e6a: Verifying Checksum
bed4ecf88e6a: Download complete
c7b7d16361e0: Pull complete
b7a128769df1: Pull complete
1128949d0793: Pull complete
667692510b70: Pull complete
bed4ecf88e6a: Pull complete
8a8c75f3996a: Pull complete
10b7379e5573: Pull complete
ca1b6fe24628: Pull complete
9a90211ec083: Pull complete
Digest: sha256:6b0f3071440e6f3218cb4dd829ddff6763b3a028abf64c090b89cec04c99eeec
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7490537969329498298.sh
+ docker pull python:3.6
3.6: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Pulling fs layer
f59f6b55cd0f: Pulling fs layer
6513a2441bbb: Pulling fs layer
b8dee03529b9: Pulling fs layer
b8dee03529b9: Waiting
6513a2441bbb: Verifying Checksum
6513a2441bbb: Download complete
94d1c1cbf347: Verifying Checksum
94d1c1cbf347: Download complete
b8dee03529b9: Verifying Checksum
b8dee03529b9: Download complete
f59f6b55cd0f: Verifying Checksum
f59f6b55cd0f: Download complete
94d1c1cbf347: Pull complete
f59f6b55cd0f: Pull complete
6513a2441bbb: Pull complete
b8dee03529b9: Pull complete
Digest: sha256:f67587d3be2691a2d1a8776f4e5a61c95bd516d93459e23c6246754c861a92a2
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8759855004143133639.sh
+ docker pull python:3.5
3.5: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
94d1c1cbf347: Already exists
556620bd1286: Pulling fs layer
e734e9b755df: Pulling fs layer
b8309abd73a5: Pulling fs layer
e734e9b755df: Download complete
b8309abd73a5: Verifying Checksum
b8309abd73a5: Download complete
556620bd1286: Verifying Checksum
556620bd1286: Download complete
556620bd1286: Pull complete
e734e9b755df: Pull complete
b8309abd73a5: Pull complete
Digest: sha256:b06beeeb077ce3d1a46ab9a382718839ecc971243b8fa5411f733caaa91ffaf0
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins516139092812426489.sh
+ docker pull python:2.7
2.7: Pulling from library/python
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
bed4ecf88e6a: Already exists
d1794cae6bfb: Pulling fs layer
2fc5ff046661: Pulling fs layer
4a03547767ba: Pulling fs layer
a9c0bbbe543a: Pulling fs layer
a9c0bbbe543a: Waiting
4a03547767ba: Verifying Checksum
4a03547767ba: Download complete
d1794cae6bfb: Download complete
2fc5ff046661: Verifying Checksum
2fc5ff046661: Download complete
a9c0bbbe543a: Verifying Checksum
a9c0bbbe543a: Download complete
d1794cae6bfb: Pull complete
2fc5ff046661: Pull complete
4a03547767ba: Pull complete
a9c0bbbe543a: Pull complete
Digest: sha256:e2926cc9ceb24e1f35cd117b1d8a06cd73204c9e246fc719cc1f039633be946b
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins252943683040019110.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-17T12:32:36Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #370

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/370/display/redirect>

Changes:


------------------------------------------
[...truncated 26.43 KB...]
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7359937992184932118.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
1bff7a6537af: Pulling fs layer
6ae475e50652: Waiting
1bff7a6537af: Waiting
ea67eaa7dd42: Waiting
4c55f6f5d7f0: Waiting
6f4152644229: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
1bff7a6537af: Verifying Checksum
1bff7a6537af: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
1bff7a6537af: Pull complete
Digest: sha256:c1e0d9e3c009dfc09c4b7e73ddccaa930264e42ba201c7d2781fd41cb8c10226
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1488928745630918306.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
222a3d65fb3c: Pulling fs layer
222a3d65fb3c: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
222a3d65fb3c: Verifying Checksum
222a3d65fb3c: Download complete
1cafc1648588: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
222a3d65fb3c: Pull complete
Digest: sha256:0dad2efaae6b5e9f89b902820dcf596048f354b9ee9ac16a26db4b71d692b91a
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2839591459898578608.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
2b49c024638a: Pulling fs layer
2462712d3519: Download complete
2b49c024638a: Verifying Checksum
2b49c024638a: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
2b49c024638a: Pull complete
Digest: sha256:5f87a68f2da0101dd4015f3538b65678d215b240ca50d1c9a3f22d3ccfcec0db
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3757580702810472623.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
e556316f9586: Pulling fs layer
b5540ab00950: Pulling fs layer
b5540ab00950: Waiting
e556316f9586: Verifying Checksum
e556316f9586: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
b5540ab00950: Verifying Checksum
b5540ab00950: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
e556316f9586: Pull complete
b5540ab00950: Pull complete
Digest: sha256:9edabaa17c0b017794621bbd3f61c3cf02f6298f466b78351b2519a1c45a9b7a
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8870854409225288205.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting colorlog<4.0.0,>=2.6.1
  Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
Collecting virtualenv>=14.0.0
  Downloading https://files.pythonhosted.org/packages/89/66/786e0d6f61bd0612f431e19b016d1ae46f1cb8d21a80352cc6774ec876e3/virtualenv-16.7.6-py2.py3-none-any.whl (3.4MB)
Installing collected packages: argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.6
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f4e9ca7d9d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.75s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #369

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/369/display/redirect>

Changes:


------------------------------------------
[...truncated 148.42 KB...]
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
1a9427fe8dd99cc26c9c2b51138b20c61182b4600b27b45bd29a440a4bf69451
95354353004eccab226eda149a3c801b5e6428af627d70a5047f7a7fdf7baf7e
9ed225bb2043bd5c726ca4b12e56a2c8ef1a2a8eefb007328ba617a4f3def672
9059bc1a8ea30311717bb5eb9b19be05bebc1b81ea78f18a166ef33e864cfd06
27220bbccb5c41ba66c200a15178abe0da6467eb51ac4d7bc515ecd45f2067ef
473a8428fca26a7f0a4aca5e93c9744aaf7a2bb5f1b5e8e1add0cd8443023416
f1980f58d3e9528ae77aee049fc7be142555f82aa6597320a34d0d173f9cc6f1
71e8ddd85d54d78c18031622077bcc572b5f543bd68d8e9772f246f154a0961d
f6031b0b641e6a4a776edf9519852db2b7e1f3bd5e344a7fcba7471449854c45
c4df6a7d34e3faf56163c5cfc8023a83fb7c50280f145f22ee4e4860894e3c85
bf5e32c5781a8bc64e8a13c55c7fdb3800a6731f21ee559568080ed8e4cc4fa1
9088bc16b56dac884b1949e17737d7ba2d571d41bb7f4f18dc9bc0fd9d722903

Deleted Images:
deleted: sha256:a9c72c9d095b2585e0d3e395dcfa9cd87a948cf1986cd9fc303858aa70741b06
deleted: sha256:ceab0c07e5fe0b3056b59b4329ff91c72bb492446f8ba06a84c05fd46a3e3d6a
deleted: sha256:d58fb943ec4cd78d01a25d131362882acbe833174a1e0c771319d02ca43c0988
deleted: sha256:5ffbe6977d7bd081c614c9bbd7f25cbe91d6c5e0d19625ff11a9e451c6bad0a9
deleted: sha256:827b9e78f2e8ff706380a4f11a8f728c13654764aae3e415bf8aa0dd908de8e8
deleted: sha256:67fa590cfc1c207c30b837528373f819f6262c884b7e69118d060a0c04d70ab8
deleted: sha256:877b494a9f30e74e61b441ed84bb74b14e66fb9cc321d83f3a8a19c60d078654

Total reclaimed space: 201.9MB
+ docker network prune -f --filter until=12h
+ echo 42162
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2494734746344985386.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
ea67eaa7dd42: Waiting
6ae475e50652: Waiting
6f4152644229: Waiting
4c55f6f5d7f0: Waiting
6933d3d46042: Waiting
4d134ac3fe4b: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4a56a430b2ba: Pull complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8886410292588490163.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4575581725657846057.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2866787709911419722.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1747524864761956237.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-15T12:32:29Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #368

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/368/display/redirect>

Changes:


------------------------------------------
[...truncated 32.24 KB...]
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6764649145338128106.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6f4152644229: Waiting
6933d3d46042: Waiting
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3624216228130720127.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2888519929404137115.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4349362008318525382.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1203629305310494684.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9b4c46bb90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.98s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #367

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/367/display/redirect>

Changes:


------------------------------------------
[...truncated 29.43 KB...]
deleted: sha256:d7738edf339c2d4972f893608245f57466bb74b44b2e78a9395d80343a00e2a0
deleted: sha256:57644d9b7120dc6aeedb6235b831b94d633b571ef58fd2529e0429d6e8b874c7
deleted: sha256:bd2270220ae4de0abd93a8dbb1f1ea245994fddde9fc6cc22d6229ff4a48aad1
deleted: sha256:babc471a32eec5cc24b2920af56eba6dcc54d853d5c5929cc4c774c2bcc22d3f
deleted: sha256:a9d1294400e4f9a2575bafce395a2a2f119e103bf927eb26721e84e1a4541cc4
deleted: sha256:b9403f58dd07ff49e56376575b9d149ea59933412d2e2a053109126f21cf8f02
deleted: sha256:420f1156260b63a9bff3c3605ad07d68da685cfa4515c68e0788b9365868a076
deleted: sha256:7f370a99ac266687655c5fa7ba34b2f2b3a2aade02190d0faae737b7f892a12f
deleted: sha256:b81792bfafb08b61c1a3c9781ef4ecbe4cfe7db9b7830e74071d0b4166f3d26e
deleted: sha256:ee32c06be90a02cc56e3d91c345708a81c26f558e34ca7ba001a225ae2b0ba63
deleted: sha256:cb5d186cce5379395b676365a0d0db1c32b08cfc81370d6c4fba8319dbea6f45
deleted: sha256:6e488b33d0ba65211d940c9aa517f8732b92d0f3fed722b3609f6a2ccd895218
deleted: sha256:86583462c3429b975707edc38d2ac3a27270122e551b3cc42bf9e8f8a2b6b99c
deleted: sha256:c5aaadb3a3b252d0c68ec94f059ad00c32698919ac7052a95a351073abcfd8f0
deleted: sha256:08c3a5a74e482dee31ba94618108bab1775b117bfddce7235117e89a2a811512

Total reclaimed space: 1.548GB
+ docker network prune -f --filter until=12h
+ echo 9654
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4542126306610814550.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8026493533826238541.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7263924974756845551.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6902299949964764056.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4940518875884959041.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa54df1f190>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.90s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #366

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/366/display/redirect?page=changes>

Changes:

[eolivelli] Call exceptionHandler if Bookie.start fails with exception.


------------------------------------------
[...truncated 109.09 KB...]
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.4.0-164-generic
 Operating System: Ubuntu 16.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
8f7bb521addd495135f898ae7b38e5776d789f178ea8573b4616afbbf2d78a04
c1d4f0b7358ea1aaecafaae6b7d064a68eebb2bbad14255050d3881496d35c66
d45ac8825d68e893e16376563243a511a9a2ee880ba75f713c00ac93cd623411
e287628b88da65a78ef6972cb1e81656ba86ff8e11cb2a9bd3d7bb7337e57c86

Deleted Images:
deleted: sha256:f09833338cae9815393c075edca8e7b33c889d9ceac02211b5fa86f78a7bd8f7
deleted: sha256:2b83262eacc1d9f42dc45c2dcfcc89b9deff1499ff85dd027e4206bf2e47e8fc
deleted: sha256:feac4304ecd1f6c09d34983d1d6c8d303661f51b860f3c563af619310e5b52cb
deleted: sha256:1b68ff3342b2b25e23d42521a764b13f7594fe2645acc3439c7b869ac9d9fb44
deleted: sha256:a28b4102a37f607894310971a511672267f703e6e0ad3fcd042122609fec0764
deleted: sha256:7989b52aa8e8967488240be59488e78e3ab2af0a20b104fcf71cd5eb9060d9b3
deleted: sha256:a1f35667f5e35af8151cd030d5e18412e06761727a760a53b82a32c46994a118
deleted: sha256:4e194eee324bdbf2e9357ef06d0e1fb3092f911de7c7a5eafc76bcafb611dd44
deleted: sha256:65fb2373b1646e8c3d09fdba3f400921a8483673f75e2bebfbc2b9c1610952ee
deleted: sha256:598227270e0c2cf49cf0cf428fffcdb7ae0ef3d89cf9058b33bc340b8a635eb3
deleted: sha256:f85b851db047a044561d4dce7cf9060dc7a2fc76a4ea27d22cfa3fd410b8e131
deleted: sha256:fe6fdb1fc1064e608856c88dcae5d22ea27423a0f23b12e790bec00946456ade
deleted: sha256:12ec899565f969e794e0f915a6e9b7e60f1cc1b7969b1a94640a1e9f357d6072
deleted: sha256:495986b5af7051a1022da414ebb4222cf696d9bc9b739367d887f2f3c21f9f1b
deleted: sha256:820a044123a32d277f88c5ba7a9681257ef8888e84a2632c480ef4740f755fc7
deleted: sha256:c86361c237fd52849714e65437fe952f6256779edbcf1b6723742d3b44a2680d
deleted: sha256:55e6b89812f369277290d098c1e44c9e85a5ab0286c649f37e66e11074f8ebd1
deleted: sha256:986d1576fa2d21e8e40e091de4ba85b9649ddf98c7b6fd8433ca6f78e725bf3f
deleted: sha256:9f85b454fef43c5d55e8263c3fcc13025c0237fc8d0a5fbe38ae516187602b21

Total reclaimed space: 514.7MB
+ docker network prune -f --filter until=12h
+ echo 55276
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
5c94f9cbba07: Verifying Checksum
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4403355763606041139.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
ea67eaa7dd42: Waiting
6f4152644229: Waiting
6933d3d46042: Waiting
4c55f6f5d7f0: Waiting
6ae475e50652: Waiting
4d134ac3fe4b: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5184746150925659925.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8099890856896722951.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins307596064922229939.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4002956470449364428.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'
docker: Error response from daemon: no status provided on response: unknown.
time="2019-10-12T12:32:27Z" level=error msg="error waiting for container: context canceled"
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #365

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/365/display/redirect?page=changes>

Changes:

[eolivelli] Add documentation for ByteBuffer lifecycle when adding entries


------------------------------------------
[...truncated 35.96 KB...]
deleted: sha256:5510d2e234abc1ef3357247045be746b041dff1b4fda807d0919f62c3c82c035
deleted: sha256:f5594235f32f611076eb154790ddbdef5c1ea49744def7d281777313ca1274ff
deleted: sha256:54bc906f2a0e8d269d285fcb809f187a42d18241981a4cbc62581d60071fb056
deleted: sha256:f30cfb81457d8990353981f0d4b3b8c963b4d47e88bf7d707b1236bb55200771
deleted: sha256:1d440600931a1f1aac7815b8ae0df836cd4e5f6c9c6012f8e2fd32f4d81af534
deleted: sha256:b52daeb154810acac6d4c02b294fc01a5aa320f4a61e4b2f30c8c877b089cee3
deleted: sha256:bf829912670678ec78658d2675d75369dc684d0bc30a45d43eae09d77a1f9a68
deleted: sha256:5fde2a28fffb66850e0ffaa35a56b0afd4ed5dd33db5c4e51a519819259730e9
deleted: sha256:f0137d87fce22f381cb684c6684629412d0068ba52510a7886695aef781f8138
deleted: sha256:6556e47faf6c55124a5007f796cdc7baa3526a8c8a811eee6b5bce87b580c870
deleted: sha256:ed183d66a6e1006fff8cc7b2dd0d0d6339742cf63d80e7ca69427c6e5c80c0f4
deleted: sha256:0ec514fc975c9814cea0e9c7c7501776df69bc6024eb89bb8dd4e1de5b61a13d
deleted: sha256:6f80c87acfa21db30fd65f76f442abd3f31da0f0215206907ce18f3a740dd62e
deleted: sha256:ed8c2c5dfba0458b1f68eae28534819bf13624867dd3205653588dd78885e77f
deleted: sha256:8ff35e0b5d59e7164a66a89195a37785158f98563351d7369fb43ba0ed6591a6
deleted: sha256:bb9f7e5f04d42b56aa43f7c21a22d972c57a11ed8ee6351a48db2bd5d669541f
deleted: sha256:4d0f994acd7c9b318ba1dfe6a9b1c89ee1d8fb5de8125e9030f8b1521aa5280d
deleted: sha256:42ad8b5cebceec4bdc86bac8afa50d6337f7bc1b0c62a7d4e9258daa0f128d3a

Total reclaimed space: 6.544GB
+ docker network prune -f --filter until=12h
+ echo 18206
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2780222340191473555.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5241581459678444904.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5943311921969680585.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4445844751845818538.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3815051591310012264.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f798daa1b90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.06s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #364

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/364/display/redirect>

Changes:


------------------------------------------
[...truncated 507.27 KB...]
deleted: sha256:4e6c1aa8c3b1e59626976c29140c2b95c86c6cbaae36d33239ea3111b9243c82
deleted: sha256:0e603551b56a1b79bd4bcfc36103b5adf3c96c4efc62c0ba4cc90cca1b0e2dbc
deleted: sha256:4d060f8e038ad130b7126db1dfbf9bf59d42913ecbc4c8bb3d3b460fbdb4f829
deleted: sha256:cc73f50aa190c5562823cb752d7ddc03e7899eaf7411e8371904b01d67264ebb
deleted: sha256:a35438be6d9111fcaeedc7818c1f42542056c6c699a644e552d1d9b3e2980685
deleted: sha256:59e7d4064a44b1f709e2761086ec13e7afed09d9586bb753a81e65e48027e0f0
deleted: sha256:689a2140326dd34f8432e6dcd5eba40c926d2496cd2859a6039763f446d82d7e
deleted: sha256:b31accf15c18cdaccfeda68f4dfae442d7340aaec30aec8460c5d8dcb157acc1
deleted: sha256:b708473d996590daa4912029a033564e03fb793c7259e6beb4ad0b3ea3b361d1
deleted: sha256:c56d3c1c98c3f66bd5d3ba3de84a0e2ea7f310e86b4e7cc7e95ae0730e963d2b
deleted: sha256:08e95f26b921d44af7fc8b92f053b71634aeb284c2878b8582fa9eff414c1b4b
deleted: sha256:4a485b05851f3a77729b39c6874b17ec9c9b3d89b5c90af8b40fb7af1a1e1de0
deleted: sha256:aabbbae9fc3343991b77799adc21523b57370edc84d356ece10bebe6be50eeda
deleted: sha256:5cef4cc090e5cd83d2c43e8b8c5952f8c308079c7389376465e686186021d4cc

Total reclaimed space: 6.42GB
+ docker network prune -f --filter until=12h
+ echo 22139
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2355422299883439524.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:9455815814cd05da0fe73fba64dbed5a3dcb582c757b6c7591c49178c3a4398c
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8219867413039515463.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7913632987172114212.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7065991701009922762.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:bf1fb44b14b9bd95b00d7fdf454b0f2922c5af6f2445d4933d340314a7e5db7c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7951529682406574540.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f33e37f2b90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.01s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #363

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/363/display/redirect>

Changes:


------------------------------------------
[...truncated 167.05 KB...]
deleted: sha256:d90f7efa563c7aec7dffd6026e37775bacaedfa49e906d3c62b5a4b7cbc7244e
deleted: sha256:00ea43cd837b8e1b84d1fbc5a777b2df17345ee3b67fc9e3560e9d18902057d4
deleted: sha256:53c7ded4170d920d2510320ca183e993765f9a8fd31d322c4dffe54a45aee270
deleted: sha256:e82bf8ea50499a1f1e2a3a3d9cfdf1c5fbb35fdde82a079833cf3ec24e8c944f
deleted: sha256:5d4d08da9f3829143784f3695265472ac1b72f94ef4b98dc0993ad5b2e7d1da8
deleted: sha256:7a12ada792db1c76f373005d4f88575d5847b7de0113b2ef96e89cc8fffa446a
deleted: sha256:49fed9b832e324f570253b1bacf54edd3f483bcc41ac678f600facca7e45090f
deleted: sha256:dcaa7200b2fd04f1d8bfd40af8a4f209bf2de59e1966bd0c77d944de06e1112c
deleted: sha256:a3afb5254c7f7635b0316a7143dc0a9bf4e9090785aed56fdc7b4f47ea13b6f0
deleted: sha256:0c4ffd2e5f7f9cca26d59a3de1969c1d6723be289c4187ed368663597eaaab34
deleted: sha256:de3eb3be6190ad101cfad41abcda1b254b17bc274a57479492d4868cc1ccdefc
deleted: sha256:4d56770f5decf2b3e84c517cd1041d71dcf173493877f924988054414ef8ee82
deleted: sha256:c2dda9a7e2da24ee2d935fbb857b279d3cad5541b9941f6effb34fe19da6dde7
deleted: sha256:14cd455d73a940b5c1668cbb10b626f83f24eb8ff22d65f07df3fb111bae64a5
deleted: sha256:fe5b483a8a1bcb7b7304f677bf1f533ec51c6b7e0eb9ce9c82608bbb85496164
deleted: sha256:b3f341acac20fb7cb20b9f8984f50fb2608ea1ff2018827dd1cc2caae996c7be

Total reclaimed space: 6.424GB
+ docker network prune -f --filter until=12h
+ echo 28439
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1678421419670695753.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8785584249011818391.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1821200745620878945.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6440002419440520536.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins862707030703654290.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1fa092fb10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.01s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #362

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/362/display/redirect>

Changes:


------------------------------------------
[...truncated 28.49 KB...]
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
4f721f9a642e9a468377ab86e5ee2fdcc9ec9d5482319c0ba0775a8cfa6881e5
af7d60b982d359dcbdb81eec5bf51a4415624feb97892e91f3740d41f989ccc1
a88ec3e0436b8c17c016203d3bcc6045fed9aa2a2c62e822b3c64232bab1d8de

Total reclaimed space: 425.8MB
+ docker network prune -f --filter until=12h
+ echo 3914
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5615370054609164226.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5645129143482664733.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins288037210121480189.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1182963617607689123.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2075998852617596925.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f4a3755cad0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.15s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #361

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/361/display/redirect>

Changes:


------------------------------------------
[...truncated 25.20 KB...]
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
36e943d1483b04f3be4289088edf2f1ddbcdbc1550e894ed20ae335ada20c917

Total reclaimed space: 22.11MB
+ docker network prune -f --filter until=12h
+ echo 8283
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins748546456676341151.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7237132188365817376.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5996943016058028840.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
2462712d3519: Verifying Checksum
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins697510651752256749.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5669609549917588958.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd1f0bc1990>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.67s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #360

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/360/display/redirect>

Changes:


------------------------------------------
[...truncated 37.21 KB...]
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3776734188752120817.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
4d134ac3fe4b: Waiting
4c55f6f5d7f0: Waiting
6ae475e50652: Waiting
6f4152644229: Waiting
ea67eaa7dd42: Waiting
6933d3d46042: Waiting
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4a56a430b2ba: Pull complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1250073735024038438.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1308406136231662857.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
f60ad4796556: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3161960305621836850.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7227614412016819672.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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 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: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f86d46efa10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.06s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #359

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/359/display/redirect>

Changes:


------------------------------------------
[...truncated 34.39 KB...]
deleted: sha256:fa0ff57ba64778917fc4111300a23bee56b80bf7b405d0ab0fc20aeb6d2bb58b
deleted: sha256:9cc9050fd2958f81fc771ce288c2391cf7d127259bd03fc4a2ced35971030cd2
deleted: sha256:ef5b0e3c9c4a54fab18a9e2ddec5453aeb0b64291d8d92d1f96eeb2c02e4eea7
deleted: sha256:20873d212612b90eb0443f9df530fa5ca43d4f71f1429ed80ce1b6c810abc491
deleted: sha256:965ec5838974643a35416aa7b1017368c46ac71130378ffeb2592b7b05c73674
deleted: sha256:9b6d398b0d347bd8516719c93dd25daaa02c0c940c927759d750d65754aae9aa
deleted: sha256:63823a27b84a58c7674a54163c74fc4636711149e5eaae9c9162e5d470058fe9
deleted: sha256:e8f19709abdf3bedf3b6128d745f0ef65a3b56c78a6d9770a1cf66650f1d4f4d
deleted: sha256:590aa86890e119236ee7cc1b0fa273d3965f25f410c0241de1783f48fbdc2dba
deleted: sha256:5af3fe9deb8eacb197adf4c45af6aa526fb30f7561ca77a76e7fc6bdba32987e
deleted: sha256:016b3114a5361c61c7ae3f66097622edbe22770036901e231929ad42635a39e7
deleted: sha256:57131659dfd0c39fffbdbf7a36e0f7fb5bff0e0904443eda487733f90067f959
deleted: sha256:bfa619a89fb33edf5b9061c9c26b4c49a5ff60607de34a35ccaa805940a67571
deleted: sha256:9b496ed420c266b07f2d56114bc28d59d558a0ef11c4e119246b78c52d456033

Total reclaimed space: 6.419GB
+ docker network prune -f --filter until=12h
+ echo 12775
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4521292426529626617.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6679552482357372020.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5906106423698176534.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6194265352444841332.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8779198369988935476.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1faf8be290>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.71s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #358

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/358/display/redirect>

Changes:


------------------------------------------
[...truncated 35.69 KB...]
 Name: asf948.gq1.ygridcore.net
 ID: 2BGH:GPS6:WI4Q:GXTQ:DVAS:G4SZ:OROA:6OM3:7FQR:XS44:IVQY:AJUS
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
6a91bfd84bf3cd501a3a9c0d903c0a2fbcccaae5d47493b2b51678bb8f0dab01
35806701abb123d2517bc4eedf85b071b59977b378499fd3d5fd93c020388e5d

Total reclaimed space: 5.686MB
+ docker network prune -f --filter until=12h
+ echo 14783
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3093843109038344926.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins800109533385186472.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3534869521777846969.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins784278459167587516.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7197158872584797919.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f92eda73190>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.02s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #357

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/357/display/redirect?page=changes>

Changes:

[github] Enhance deferLedgerLockReleaseOfFailedLedger in ReplicationWorker


------------------------------------------
[...truncated 179.95 KB...]
deleted: sha256:482dab5956a8cf3c502c53a7e2f16c5aa24ed109ce09506d072014fdfa143c69
deleted: sha256:8537f22c7af8cc7fda95b221d99533afce7bfcb570ef34ef60b465fb3e95dd1e
deleted: sha256:7fac10164f0c2e87d6886a4dcb594a2d307d38980721723943229d1adacc78ad
deleted: sha256:d8df75cd9867c49f69f429f6e8f342c20997ed1302910856442d0e4158b9fad4
deleted: sha256:8c3a6d95c35385ac910e0b2cdd7e7646a8adaa8e42d70fdd68c709e77df1fe8f
deleted: sha256:b27ad17a65fb52d9824e8564e0f86ae681d4113c56e1e4a037f0f2130d6e71f1
deleted: sha256:0db954effd91ac0e7c59193ad00b97b082745f754282e4fde3272f89beddeb99
deleted: sha256:2ce5e6169625c06d2caee5794142b99adaf7e32fffe07d71c5d01f18fb975cb0
deleted: sha256:f22dc258964c403d5e755e0daea1cecde3e2adb70f3e6892097fb74f2ff5df42
deleted: sha256:e9c2b769163aff8b3e3602845bc4d14ce359c2ed6be7df3e826c966004303887
deleted: sha256:af0228e2001ba2a64cd33a33631d44d0661ceb6d0e93ebe84fa0166cf8ce5d55
deleted: sha256:54f7cb2b9923f12f7031841e680b9781faaf1ece4dfc9c279d871553c74fb9d6
deleted: sha256:04b6c177cff065ca014f36a748ad6c11cc4f829ff45e73fb8c48fb864d9ba43f
deleted: sha256:179399e78a712016e70e1e0a1f2cc9dfbeaf11c445525c6db7f706206fd8df5e
deleted: sha256:af05ee4dd6808d6131226503bd3825eca921dbc1f5938d38400310bbd6351fc3
deleted: sha256:ee9d475d0d3b25c2192a5b3e906e95b74b2ea941b5a5bb2abd28cb17d42c1580
deleted: sha256:aa8c1bf633beab14a10ad054a4833f8323ec794a00f257a5c729b19feec8bec3
deleted: sha256:479514b8a39368d7f57b0252b716b621ba58c975b6ff158a86cea1b45ff3d6a8
deleted: sha256:77a701a8aae0c8f881f2e4c48d3073b5a24248dbcdc83a14f96e9e2b0de22db5

Total reclaimed space: 6.415GB
+ docker network prune -f --filter until=12h
+ echo 6489
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
ab017ee82de8: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2008057545287619425.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6520103147303712118.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6862929365959835553.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8787281418722668690.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4774520193142391129.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe7f739dbd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.84s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #356

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/356/display/redirect?page=changes>

Changes:

[github] Update bc tests to include versions up to 4.9.x

[eolivelli] Avoid throwing exception when doing EntryLogger.internalReadEntry


------------------------------------------
[...truncated 29.21 KB...]
deleted: sha256:60b5d73e16c23e36fbe594fd74b96e82c20378607e698277767de6b564e9f3a9
deleted: sha256:79ce00a9421c1e31e7a58fc7181810c125f335c07f0dd0d030aaa532f5ca1384
deleted: sha256:217cb186c4b2cd4f2da08e3fdf82d1cba6b7ac7f66f2cadacf7c3f1ec7cb2566
deleted: sha256:514fc9b704758796de9ed951c68555a28ef459bde8ac82c50a3f585d4bcd7cf0
deleted: sha256:8d4ac3ce4d86301ff8305aca3533d58017c206c5c5f56bcfe66aa70123e6b70d
deleted: sha256:b33fc1d9979ceb938dbb8c45527c698175b93330ca165bac1273f774f62ca366
deleted: sha256:6655692ac8681a889cc20e728bbc45b9f03e2ea1976c265406c82f823db33cdd
deleted: sha256:48d458bf36892666c82d333c537f8e635b0835858612ed93a2ac99a1d5e7cce8
deleted: sha256:0088cfb5a22e6f42da5bc1a41380a6dc18e55aa9db507ab9ed34b34d5f8ec116
deleted: sha256:2aea9f47825eb2772ad9385ff3db8f86772d3a18d9392bfa860a1f36e4c07577
deleted: sha256:d960250ea320fe302b48d13624fa1db4c9fdf83d57dacd55c2bc28ed99ccddce
deleted: sha256:f0203fdd49f6cda9e6a411108a43f72b8bce9a2836081c7b54f258b6aa5e1046
deleted: sha256:19485c79a9bbdca205fce4f791efeaa2a103e23431434696cc54fdd939e9198d
deleted: sha256:6c0ea40aef9d2795f922f4e8642f0cd9ffb9404e6f3214693a1fd45489f38b44

Total reclaimed space: 1.719GB
+ docker network prune -f --filter until=12h
+ echo 13621
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2803973956061348186.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1278161205559015525.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6103981223024466480.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins760798957494092005.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4308132888921393509.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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 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: virtualenv, argcomplete, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa6deb4cbd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.62s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #355

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/355/display/redirect>

Changes:


------------------------------------------
[...truncated 31.65 KB...]
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7681121666542410697.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6f4152644229: Waiting
6933d3d46042: Waiting
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6f4152644229: Verifying Checksum
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9148436010018861110.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7910233490895846291.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8010726982631345552.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2185044577356605882.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9e0ea9e150>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.33s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #354

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/354/display/redirect>

Changes:


------------------------------------------
[...truncated 166.97 KB...]
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8021358965525141097.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6933d3d46042: Waiting
6f4152644229: Waiting
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5631700463680880743.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6605605605254624271.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3685017885545492241.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3619508232621156903.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, colorlog, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f172d94a9d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.18s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #353

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/353/display/redirect>

Changes:


------------------------------------------
[...truncated 23.80 KB...]
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: whiskbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
04da5b62a8519d007ddda0594d5e00fc3dcd6e0bc3ce35d6883c074b6b26b60d
712b90e887e752756a1a54153b019ff7c2fd4a7d7816366693aa19cf9a573e0e

Total reclaimed space: 354.3MB
+ docker network prune -f --filter until=12h
+ echo 37261
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins551202808454112247.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8637612621005318704.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1845313572206844225.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
2462712d3519: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6235355324083137759.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
aabbe3b30f01: Verifying Checksum
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2988753818977759283.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7faa1624d650>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.02s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #352

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/352/display/redirect?page=changes>

Changes:

[github] Fix tests and upgrade libs to make tests pass on JDK13

[github] Change Python client version to 4.10.0

------------------------------------------
[...truncated 35.56 KB...]
deleted: sha256:c30b4aded53146931518e68a283f1686e5aacfd2c7facc080aecde30325a1e09
deleted: sha256:0ccd458b5e38397c17eeb5f5a23711cdcf01b7e8ca88bca622d920986d52fd1b
deleted: sha256:b2750da285290bc8a18fae7448816698a7121fc63ecdc118d5d59350822905ab
deleted: sha256:bb45b51839b5b971cd48bac79d5c2b946508a6f9b823439e58484a180b232989
deleted: sha256:5f4c510f2fbbf35adeccff787d615b143e6c4521b657678d4c31c384b050d4e9
deleted: sha256:002f46c17f73f5eef12b27b3694d5c614e114b53a2518c2b1c96828b72b3c46a
deleted: sha256:4a97d00a92d68cea532597fb949d97fd7926cb85f36e09733a2e33d1af2f40c2
deleted: sha256:af4378645bf3ecdf07c23d86ac31717dad087989797aad7e81f0af42aba75c2b
deleted: sha256:88de2753a82306d85fe443e794ab641ff2e814515693cc9b0962b5631b7b5f36
deleted: sha256:3088959266bbf53a77b9a9ae700d426eec2b876836736bf653e8b95b5952425e
deleted: sha256:19a1ef10dbde22f79cf32e9975b6d381744d5d033f22e86fa7a070ef9c2b5ebe
deleted: sha256:db46ea46e5cb883cde76c4ad47027ffe5952f11d6ac2439fc1ce2b2c3660be12
deleted: sha256:84c47f88bdfeee5b3656809c0a72b3f9812b9546f3e6eac5b2bb93c3c39c4251
deleted: sha256:4160d7f87dce65241df8457e0f2411ab4193434d1a9817e9678d213d71b133e2
deleted: sha256:c47b27c3c3703131d6088e0f7ee036dc147b4f9573add7cb153fdea9da92ea11
deleted: sha256:3cfe932bdb08a426e1044e1f23e80503b1c027ba16150f47622ee2d0d76ae84d
deleted: sha256:c13c7a68106872251bb1fd6241716c3a169f51f338731c8053e7d4ab50f38ff8

Total reclaimed space: 391MB
+ docker network prune -f --filter until=12h
+ echo 40452
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
ab017ee82de8: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2716344148730867037.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5776784245821337968.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2901171745012315665.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
2462712d3519: Verifying Checksum
2462712d3519: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5509401291247480954.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8626722709596962851.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1f4d793650>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.15s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #351

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/351/display/redirect>

------------------------------------------
[...truncated 759.61 KB...]
deleted: sha256:5b9abc0813498fb2d27de5116a1c57439f457a34199fc85bae9dab261d1ad43f
deleted: sha256:ed646064be7c04a98085efb1839d5509ad8088ee86bd581167f7e3665426c490
deleted: sha256:9e7113df34c63daf7fef6d5f7e42f3d73761d1261ebbab8d614bb97438f3598d
deleted: sha256:fbd9371c5ae0293eb8cf80a79c0c885b2afd888b5df39930f84095e396c04426
deleted: sha256:34a9b90b1fadd53a1c41551dd7f3f30cf4182f5338fdf4e5803450f073a4dde6
deleted: sha256:5c428b8e27a62d50cb1e4ad26a852cbe83ac98ee1cf5b91905195d7b0c606b26
deleted: sha256:ab1d18df249494025835348df027e0526508dc928f3483daba06a49d0814b759
deleted: sha256:52dbb5d540a45a9f60cd621988f9a06dea602ea0f99403bce18154130103fbcb
deleted: sha256:e4559947cb98890f9bbf4d87741dac02a62b1eb659b86df57e6713d098780863
deleted: sha256:e3494e3e7e7c8f9b5f6cb0a9448cd02900550fa63822f3d7d2cc101ce9c621f8
deleted: sha256:ece7529c83611f9923440ed97b7323b3ab2abb4249a4a1948320c0ca5be03406
deleted: sha256:346d5a8b3d41bab2f3ef994ac0966a5fc136c946a0fee7c60060eac31ebfef6e
deleted: sha256:2bf0336d449704c1f7dbdf307ed105e51ee1673d02c77fbc6ff905e12a9b1810
deleted: sha256:69a43237d0e3d8ddd970de77fd71c9d06b24039f075684c40650fd4fc8b6d1ef
deleted: sha256:d34b6ff8e225d43a2f7f594600e6ae0ad747f79fa6ace06874bc3ed23684ccab

Total reclaimed space: 6.373GB
+ docker network prune -f --filter until=12h
+ echo 28770
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2375066288188260296.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5476622875245747499.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8241773623177611800.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3156587703115068383.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4708747011086909532.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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: argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5fcd77d510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.91s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #350

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/350/display/redirect?page=changes>

Changes:

[github] Make the project buildable with JDK12 and JDK13

------------------------------------------
[...truncated 43.01 KB...]
deleted: sha256:6bbefa8a9a273a97147bd9b5359b58a53e8500955ac0614ea4f90bc1958d6bc8
deleted: sha256:029fae3b0410f6300d435c8aa82f3f3169a9ca80aef31dba65093e6b983f1159
deleted: sha256:81ddcc8524816a3c7887cdcd2778333e340387d4739f84c6e5ae253e586f449c
deleted: sha256:7b01f03beb3ed4bab92e1e2a675463c53e6e6f90567ec52336f90c68be373ff7
deleted: sha256:3a6bbc6e4acee4bfa8bb955d860208a3069c1b3503c6153ae567f3ca9c0e1252
deleted: sha256:a2922c03940efbb27fff0dd836ba957fc2d05cf28ed7a8e6b0a33cac348ab234
deleted: sha256:a500e037faf8039af5d273f315412b8498a29b7430bf1693b79a75f8d0c111e6
deleted: sha256:e9f0d695a0ce22de13507d9cdd024cd657a2470bc8b56b231cf2298f8e4bbc39
deleted: sha256:24dd859193a13b8f3f4eaa2fb56dc670f9e991890c413e7bf50e3a19ebabc0de
deleted: sha256:2b4163b84b4f3ec9797889337167e6cb88c263b751c4d2452c98322795aa2a3d
deleted: sha256:5c0ac7bdd45cc0bb0c4e9981bdb83a0502457af3851726996059304cdc41887a
deleted: sha256:21cdc7fbfc70845b28ca52a918c1cdcd9f52916544ea6b22d281fca17ba06ed3
deleted: sha256:d31433f0e9e3ba9cf451c840312bedf9d7b217fef86edaf0e691657c97759546
deleted: sha256:bea79b7c2d5f091f2e56997428c9c587e4f1ccf3d73d2661444046ba661c9a98
deleted: sha256:e9710353e30f35d5adcfd0a7b984a6cd65935fc1302e4bf8db074f150826ce9e

Total reclaimed space: 6.752GB
+ docker network prune -f --filter until=12h
+ echo 37448
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7686124778617239047.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6962658545896011362.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2925954337947857127.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Download complete
2462712d3519: Verifying Checksum
2462712d3519: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins49426996366690378.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6140537933209674383.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9939791810>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.22s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #349

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/349/display/redirect>

------------------------------------------
[...truncated 28.80 KB...]
deleted: sha256:ec196e0aae41e791cbf74b85c264612c409f204711aed64cb8dcbe4655d6f1d3
deleted: sha256:8161589bb5050a76755b024e65d1c027748b2f78bd231e21b29a9e9e32ff7a86
deleted: sha256:d84a933a11414cdbff95ed466f0c9559d2a5c274f21b2ea1204da285132df11f
deleted: sha256:015d910c66f7790e27f36aece1e8c987f2f7e15942829a401e33221e17a99a32
deleted: sha256:31c727d795f8a6c6c992ebb3cbb001c9429dfaab96f8cc03eaeda9ba91840010
deleted: sha256:c6f2252db1798acce03e62a24569e1839620dac2ffb3a6182db46b30a24b05fb
deleted: sha256:2a1b2572eb8ee5c21df685263684398ba4e0cd8c554d8820b0a2a693c05cb3ae
deleted: sha256:62fec5653e06bb778ff6ac6325d9925371b573fa7c7ca64d771de998d88fc84e
deleted: sha256:081a51d3ca45123b1b10d152372e150b64909084023c1735ab39ceeb4054334f
deleted: sha256:a4583645474d1c82eb6fba9cb2d4afb6a20106240e86379d80233f9e0b3f2575
deleted: sha256:891c33563829edc077e7f1031be06b1e85ddfb57f2aaf90e7c8f33ba8db379b0
deleted: sha256:d15e9a888b72463c901d6e4f632d767442523ecb18f583a11cfb98aea275fcae
deleted: sha256:4a1f7a34da7c2e76f9d948a2f1103244b91f3521511fafbbc9ee801543158af2
deleted: sha256:19485c79a9bbdca205fce4f791efeaa2a103e23431434696cc54fdd939e9198d
deleted: sha256:6c0ea40aef9d2795f922f4e8642f0cd9ffb9404e6f3214693a1fd45489f38b44

Total reclaimed space: 1.712GB
+ docker network prune -f --filter until=12h
+ echo 4341
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8612606305270179876.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7588571819523658211.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5897977003312276385.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1428115050358302756.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins313757551295328094.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f82523a8590>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 8.63s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #348

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/348/display/redirect>

------------------------------------------
[...truncated 529.97 KB...]
deleted: sha256:fa9f61fd4c90ace011ea86856addd54acdf54097f6e4c18ed8b40970271b2f6e
deleted: sha256:295ae5a5b25d060a357509a93dcf2453a95e981860cd96ab4bc4dedb88028754
deleted: sha256:337ac2e92c7af8804ea5ef71bbf68351a4020909119f9511a178d43fc9f33a8f
deleted: sha256:5427f12fd271719fa0b60723b355a5ec84027919b6d97d1501138169e3e9aacb
deleted: sha256:e6ef5a85cfb92110cf6ca027dc6da666407f88e3dfdf2515813ff33641293007
deleted: sha256:ca10965eb9e3f11cf69fc9176884a8721f0fed45fb1e4f5bd0c03e4b77f2eceb
deleted: sha256:ed490cdb14da530f6fd0a3348da0d03d6c519ebceeef07a43adade6617fc0da4
deleted: sha256:489280762f24657575b9e308582ea4bacde01f04cdb5d6459368f4f5d977adef
deleted: sha256:05fda626e0bb4068da70198a0e69df6c3b5346336f0e5e884e35d0427f18eb10
deleted: sha256:97aa52b347d0091c7bc25a47d5844751dac4fafbeadc56481a3552f7b08e702c
deleted: sha256:bbe31729cf95ba977cfc3a061ee22a3d204dbf7901ccc28aa10893da6abc985c
deleted: sha256:239331c40f709331b500cc7e83a8f42ab931c867ba8ded651c6ac82197ac179f
deleted: sha256:b08cbd4c0e576f323ed25955af1a118778d06fd74353d4c9c27dea8eeefbb17a
deleted: sha256:4127593b0693c92f77aa764a239fe889baa2f111753d59dd7728973eb3577ba2

Total reclaimed space: 6.374GB
+ docker network prune -f --filter until=12h
+ echo 26931
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6396704065721302191.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8349596615493861298.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5127805970083963282.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7545311993970466532.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4240066538123352267.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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 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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: argcomplete, colorlog, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9513f8b410>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.94s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #347

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/347/display/redirect>

------------------------------------------
[...truncated 177.28 KB...]
deleted: sha256:54e87cff71764f94c83c5956a7ce676e0b118055724c63438cab09cec28967aa
deleted: sha256:62c4cb2679f2f00abbbc0e20f3b733ea751fc1a274fbe935b011b460edc18f3a
deleted: sha256:e1cb59a8d9e1515cdabb9750ccfc92a4c8889309e6f4f32b38d7d4d46d7da581
deleted: sha256:22ce8fb2a72e83e15e195befdad287be02dcab483ad9c2a1958e4c94bd291c30
deleted: sha256:9897f6dac2199f463a76c445833020295df6641542f8ae785eece03d2326bc70
deleted: sha256:9c6f2a47eeddb1d5902096378de74643490b738fb3ba7e06edbf913e99d97888
deleted: sha256:e458f08c470f214994c220b13fb8d5a7a48a1e96fc60898cded2749bf0388bfc
deleted: sha256:05dd20d40a3cfef4f35abcfe91ead9c7598f2bc48202d39e56c07c8996ff3a80
deleted: sha256:fa7d4249d3ce8f3354ca971437ed38eab71bfcc1757e864504d8e9671c38a1ef
deleted: sha256:9c39a685633f73efb09a75afb4d18a7992a2ea9cf5a909a63a0ca46c5525e190
deleted: sha256:8ba8ac14ce06c2eb63ccbfae1ea9018f2165e9c2c6f55af8486365bff568b43b
deleted: sha256:281fa337c636c15985456b9cfa7f90dbc6ee3320d364ca1d2644d7b482c40bb7
deleted: sha256:a080fc72f2c18f9db37d2b797bcfd704261872ef91b4bd5591d49aaaba8c3009
deleted: sha256:e4d458fdda29f7f5e97a8a5dc2a5752e83bbf87978c4169f71126662c5404b89
deleted: sha256:c299104199dcce5a32d02c5db2621ddb80a8b335f344e26cc80c33c8d06185e1

Total reclaimed space: 6.374GB
+ docker network prune -f --filter until=12h
+ echo 27645
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2651746762383173707.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6228203456717151833.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins252382087542106340.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2817457846532415592.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Download complete
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4448553940396895970.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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: argcomplete, colorlog, virtualenv, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa01e8e5510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.89s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #346

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/346/display/redirect>

------------------------------------------
[...truncated 29.25 KB...]
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1187316108042269475.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
4c55f6f5d7f0: Waiting
6ae475e50652: Waiting
6f4152644229: Waiting
6933d3d46042: Waiting
ea67eaa7dd42: Waiting
4d134ac3fe4b: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Download complete
6933d3d46042: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
4d134ac3fe4b: Verifying Checksum
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6058521749172461948.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5682750222672663734.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2548786413073208720.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2693606797370478320.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f88c7262910>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.85s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user guosijie@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #345

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/345/display/redirect>

------------------------------------------
[...truncated 163.40 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5485590013193946699.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
4c55f6f5d7f0: Waiting
6ae475e50652: Waiting
4d134ac3fe4b: Waiting
6f4152644229: Waiting
ea67eaa7dd42: Waiting
6933d3d46042: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Download complete
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1293984965326294206.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1565820730057353721.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9024388380072257164.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8646137866670049071.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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
Installing collected packages: virtualenv, py, argcomplete, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fda796576d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.97s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #344

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/344/display/redirect>

------------------------------------------
[...truncated 38.36 KB...]
deleted: sha256:57c2f7e051086c7618c26a2998afb689214b4213edd578f82fe4b2b1d19ee7c0
deleted: sha256:d92778f30ffa208b6ad9c5598eecd3eb786567f07cea1fa03930d3075cf97115
deleted: sha256:cff1aeeecaa7a9111e707d1fb832d6b6e33689246c76c4fadbfb7b49a9c89e3f
deleted: sha256:8d6228e2e8b45f7406e37562af912ac147b7f477403aad62345c1bb79c4e6f85
deleted: sha256:c4798a10290816fcf21b776476ccf9592ea63cadb7ac9c69f31b5ba45e278c6c
deleted: sha256:1a0abfb5b592db41e6cd53fe22f7a21eaf6e15056ef6276ca94669e51b29474e
deleted: sha256:e2fa6504026d7b0e07592eed86d8ccc89128248b2d277ef20664ed9bcc57a129
deleted: sha256:698fa89bbb569ec4927d8d47e3704bbcfe912ef6a8cb859b978cda9b3a2ff32e
deleted: sha256:7063b28c2b29dc72b89ae1870427b0cd9ca36fd05f7e245e0fd15b06183197bc
deleted: sha256:61d1e2c3af0be29cf42291868506a4edbcfec04e08582a6077b3ad4fb1bfe304
deleted: sha256:9f6a9daab62ba80b0c15987c10e0284a54ed6e4215b3c12b8608b2e4aac3b3e2
deleted: sha256:a8b8e5eedb5fd2d3fb35ed4773d6b0cdf1d4e4caddccd5d55b5d39c6ce5a4cda
deleted: sha256:30f14160ebdacef8ca253a54e9c86aa993f4666c24efa4dc27e02e76b9661bc7
deleted: sha256:f749b9b0fb213e9897417a985aaa9753d41bff474e1d0c0d1d266c4512eaf031

Total reclaimed space: 6.81GB
+ docker network prune -f --filter until=12h
+ echo 17577
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7050818036685522427.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3645503963432461339.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7280390435269021855.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1750789372186277143.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8886832423818625671.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff2c4e6b810>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.10s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #343

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/343/display/redirect>

------------------------------------------
[...truncated 67.97 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins33123043719847491.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6f4152644229: Waiting
4c55f6f5d7f0: Waiting
6933d3d46042: Waiting
ea67eaa7dd42: Waiting
6ae475e50652: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5307113137933299976.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3102044589067013952.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
2462712d3519: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3989460311709178967.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins247134973528890118.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f6e389c5550>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.06s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #342

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/342/display/redirect>

------------------------------------------
[...truncated 163.50 KB...]
deleted: sha256:c5606084e88254f2a6f8e3467c4ef5ad7e0fb94e5733d8229cd7a04751a96b38
deleted: sha256:3ee58195a9a5bc16460a24c4623fa83c4adf6fcf3cc26ed2fbb9a6ed37920106
deleted: sha256:232f0d8c9c9547607d7fb57667629f55e23608099314516ba176e62fa66f7361
deleted: sha256:97e45ea708e7f360a6a6a9b8859bfdf236ab56baa1c18f15aa934f0c7e0c527f
deleted: sha256:24b08c4afcc4c552aae1ae0b1f74c928472e6bf4cd090a7314acb52d34e4f874
deleted: sha256:f8ba2a2f858a0b5b88c3203916f88adb20476387d8d3f04ce0d2d5b239f47fa9
deleted: sha256:7606e23193b65f9eb2b723c007e6685fcf33bd316ea53016a14d6e0b1120473b
deleted: sha256:034aca6b6ae12425ee1283898a793107650dfddfbf7bcb06af781736d7c76198
deleted: sha256:6fb22c9d667eff45c4fe4d7e353624a3197682776c837acab6eb3a86f911537e
deleted: sha256:0ca72b9db35bc300f810d544446b7d3dc3e3e93dedb02f1492a4f8f142a74783
deleted: sha256:01d8a6bcf6d205d9aea03ae43cffab9cf2ca1e72dd4d0e3a181349cbf8bb275d
deleted: sha256:5fa6efe32dbd04c9c672f6fda656916003378164342a0faf0f506531d2b2aabf
deleted: sha256:fe2eeeac3d4d780cf5cfcc8ea5377fb0677de2d1bb586b38d3e3bd686b8588f3

Total reclaimed space: 6.4GB
+ docker network prune -f --filter until=12h
+ echo 5049
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1467066515413835192.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8223595395442016681.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins605771417204318554.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1886951138335255653.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3754473391037073478.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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 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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5ab697d690>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.92s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #341

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/341/display/redirect>

------------------------------------------
[...truncated 511.67 KB...]
deleted: sha256:868eb64617ee36af8b762a1009037f9017c903cf47efdf5b3d17442bff088c48
deleted: sha256:0bca5759d923fea0f2a71a52fd8859b1d0babfed70d8ab6cdf8eb8f1c6c3e3d3
deleted: sha256:8181efb17dc35a5d727f008e7e5153682ea21d9be9d3172d99d6a4dbbad66295
deleted: sha256:cd686742a667185f07cbfa0e0a30555e340adbe0e4a59f9b9a0bc90dd8459cad
deleted: sha256:9ba4e05f5509a626c8268efae7fec03aa72949b95a317ea4b5b894dec28ef052
deleted: sha256:27e1a006672484bb1436e7397e573c3827a1d1cd852bfaa757be9343d6cd0ddc
deleted: sha256:71fa9ffb227e7da53be7895febb84610e87cd9accd86e383d028346a5f575905
deleted: sha256:bde646ce8acc40cbc6df2e7efd4ae4d5b06955cad0bab97c26eb8c8ca1ca0263
deleted: sha256:1c37e0e326b686fccd7e167dc7d65e88594991c70b8a51be886210c9980be97e
deleted: sha256:985972edfc3817a18e5df638cd5044bf338fe58b901f25659141202dc0bec521
deleted: sha256:5930bb5bcbab68d949417b42f43bbba6f0532aa3144c4646e45bd8d44eb3991a
deleted: sha256:e3b748cad849436ff3fe9f1b2a19374ba381523e02e82ee58c8d71d772b6dbb7
deleted: sha256:7dbad1a719fbe3032d170fa2b362e94798b0e19a22cc680c1939999b8e5d71c8

Total reclaimed space: 6.379GB
+ docker network prune -f --filter until=12h
+ echo 18902
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7648760916550457260.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8612028695122382068.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5827058951056416511.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8535671771666696482.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9148911535836045898.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2cc93830d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.27s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #340

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/340/display/redirect>

------------------------------------------
[...truncated 33.44 KB...]
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4954962457944267612.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
4d134ac3fe4b: Waiting
6933d3d46042: Waiting
ea67eaa7dd42: Waiting
4c55f6f5d7f0: Waiting
6ae475e50652: Waiting
6f4152644229: Waiting
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
14408c8d4f9a: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4818018810791624951.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3577277485375643314.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Download complete
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Verifying Checksum
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6304052232445544777.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
2e009887a409: Verifying Checksum
2e009887a409: Download complete
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
adb876b6ea0f: Download complete
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1599991158430383128.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2190c1d610>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.81s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #339

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/339/display/redirect>

------------------------------------------
[...truncated 24.75 KB...]
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-60-generic
 Operating System: Ubuntu 18.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 94.37GiB
 Name: asf926.gq1.ygridcore.net
 ID: 562A:OAHD:6RVW:HWHL:M2EB:J2YL:K3EJ:Z2NJ:B4MM:HW2H:BNTY:FE3X
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
4ea3bbd89acc4a7eccc0452662bdd48b8f1fce09fb6077158ee886afeaf2a7a0

Deleted Images:
untagged: python@sha256:249258b22b29eef36607fcefd5e713fa8bc34e020fcbb14c07760981f9ae64d9
deleted: sha256:653edda0213f80522d4b910442140ab5cce1221b676ecbd548b14880fd9df969
deleted: sha256:78a609006f0b2fc6b3a6f1fe64e83b0f6edc500f60b14eaf3cc64d7d6df11a5a
deleted: sha256:f760dd36a81d0e4836c00c46698c3756c5b1cc2640e5f445b9a2d8be493b5a0e
deleted: sha256:ff1e120a69f2ee4f32aff3ee6bb90cf4f67675e2b78437ec305cdc86679b31cb
deleted: sha256:b3441c25cda3e60b3453e42de236bde860cd6ccc273a7dd82fd6a18a9ffb632c
deleted: sha256:791bbe0e3b127dc3fbce172e097c7aa0fd846f100eaed967aff148097b93ecb9
deleted: sha256:ff191d6dca5fd6b1e664e70bbbed24a038c21e974f585071b839b124936e8596
deleted: sha256:d0aebdc0193f36f1def4e8c1b6470f2a1f8cc34c95f6eaba0a5cd3fd212f65e1
deleted: sha256:adc1af8115e795ba786bd7e65f9dcf5cf32d6ee23def7ed64b880f94abc2550e
deleted: sha256:1bfeebd65323b8ddf5bd6a51cc7097b72788bc982e9ab3280d53d3c613adffa7
deleted: sha256:ac5764aa2448ba1fde6f486afae415825cd493b58a0e5abc6085b0b319b0548b
deleted: sha256:2e45dab92617cc5009e8d58c86185e2b9eaceacc2798a15e95dff1562769ecff
deleted: sha256:cc7137eb7f8326a237b7e228e5db345ca44538bd9b34011ff28a8b3f692ebaa1
deleted: sha256:30555b93e4cc8efa949c129bf97da153f45de2c44a6cc1694e1913032dca943d
deleted: sha256:75f7dbbba739f23278e3867f114e6dc86420537a6e0fcf4889275512fd2d271e
untagged: python@sha256:e187416f51f3a9cbc73c5835d306b600453ed0cb026b10f4b7409d4adf45b86a
deleted: sha256:d0ca2da1bc25c4e81592510b418803394ceeda64742dceb62884b7b1dd3d31f9
deleted: sha256:af04cc8f4cc07498f985d0a9870734fb0eb2ef8f6010498d6617d1255e3685cb
deleted: sha256:674c95c82f970a467ab6296a4877cd8b2ebe0b0ece005d3e53628531a335e60f
deleted: sha256:a723df527c5ff1d6c037a532b0e4acd106ec86bff906f633cdbeb9629209ee0c
deleted: sha256:d6742867f97c2e8fb84ed23cbef89147df9f9ccace2324e37c01bdc9706c965c
untagged: python@sha256:b1c6ef059249585dbd2b9cd9789da1532cf616df39a4e1b1bb654ac209c78cae
deleted: sha256:780bbecceca61d8d5b93968f02e4f3886fdabf4076bc1de9e85dd5dba336b2d4
deleted: sha256:c0404593dc1163fd58d9d700574d814892234eaab0215dd8e362d51aa4311053
deleted: sha256:1621b571a08569364fb2a498cef5e6a6407f33ca9d5f6a3664da40bd0271f0e4
deleted: sha256:a1e77e7b8bc325ffa5fe9d7f1603ca52c64cf6a4d445af532fb57b494fdc27d7
deleted: sha256:ba1ff80997b5bc6baff91b446d845e82b8aca6e5f92f6e52d67f43099df5d848
untagged: python@sha256:731cdf26dad6246e3d1372e1bcebeb5d5a3f21fde8547394bb5f489e74f46af8
deleted: sha256:c3d333c5615ad11a3aab97ee9e7f26951ac42dc04a3258797deb0761bf8a9dd1
deleted: sha256:a91d4fa99fa19cb6c62c78ff5ad706631e9d375755476b8c6132f62013e5a95c
deleted: sha256:d68f7e2d9b3abe26679931c89311744a642d842be4bd997a3de25a89589eb465
deleted: sha256:64fd6bb30dbb1a574dd04a988846647cfdff2c1862c41186e395a05fe184e6c6
deleted: sha256:d3dea4dee350e4e0fc327e472b4c24fb2ea7460d581664820917f4a0a777eb60
deleted: sha256:10a0194bfe302f12e1f6a3a054e5d74f7e55b557a837b0fcbb86b20370b15958
deleted: sha256:86c2a34929fb12d692141f9004935c02ef70450cf8eb3e04c364bb4260ce7c1b
deleted: sha256:fe5941d414f1fd07ffbbbc1af94133868316b9b4c14d65cc6ce541898ed375d8
deleted: sha256:6d28eb79bc667b61ccdb4ec83bb27da3f05eed64dabbccb5d97426264b524de6
deleted: sha256:660314270d7683a945d0cc83e5561d61f022e7e6731fd2e3fad04a6544bf42d8

Total reclaimed space: 1.617GB
+ docker network prune -f --filter until=12h
+ echo 1843
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1884699152527846613.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5476633199893214359.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4158470995898091450.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1526492394828136959.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2938732680225393933.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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: argcomplete, virtualenv, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fec325a5650>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.71s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #338

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/338/display/redirect>

------------------------------------------
[...truncated 26.70 KB...]
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2748257751572167858.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
4d134ac3fe4b: Pulling fs layer
4c55f6f5d7f0: Pulling fs layer
6ae475e50652: Pulling fs layer
6f4152644229: Pulling fs layer
6933d3d46042: Pulling fs layer
6f4152644229: Waiting
4c55f6f5d7f0: Waiting
6933d3d46042: Waiting
6ae475e50652: Waiting
ea67eaa7dd42: Waiting
4d134ac3fe4b: Waiting
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
4c55f6f5d7f0: Verifying Checksum
4c55f6f5d7f0: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
6f4152644229: Verifying Checksum
6f4152644229: Download complete
6ae475e50652: Verifying Checksum
6ae475e50652: Download complete
6933d3d46042: Verifying Checksum
6933d3d46042: Download complete
4a56a430b2ba: Pull complete
4d134ac3fe4b: Verifying Checksum
4d134ac3fe4b: Download complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
4d134ac3fe4b: Pull complete
4c55f6f5d7f0: Pull complete
6ae475e50652: Pull complete
6f4152644229: Pull complete
6933d3d46042: Pull complete
Digest: sha256:0f0e991a97426db345ca7ec59fa911c8ed27ced27c88ae9966b452bcc6438c2f
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5353734893906155542.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Pulling fs layer
1cafc1648588: Pulling fs layer
ba726ce251d2: Pulling fs layer
5c7384adc1f7: Pulling fs layer
5c7384adc1f7: Waiting
ba726ce251d2: Verifying Checksum
ba726ce251d2: Download complete
31ae88fffd1d: Verifying Checksum
31ae88fffd1d: Download complete
1cafc1648588: Verifying Checksum
1cafc1648588: Download complete
5c7384adc1f7: Verifying Checksum
5c7384adc1f7: Download complete
31ae88fffd1d: Pull complete
1cafc1648588: Pull complete
ba726ce251d2: Pull complete
5c7384adc1f7: Pull complete
Digest: sha256:fcade19d811329e1680defe80ac2738411d637e311d337ef9753e5601e40676e
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins365621211387551519.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
31ae88fffd1d: Already exists
250ff0d9deb5: Pulling fs layer
2462712d3519: Pulling fs layer
f60ad4796556: Pulling fs layer
2462712d3519: Verifying Checksum
f60ad4796556: Verifying Checksum
f60ad4796556: Download complete
250ff0d9deb5: Download complete
250ff0d9deb5: Pull complete
2462712d3519: Pull complete
f60ad4796556: Pull complete
Digest: sha256:be81b66442cc6f5ceee040d4347f98a5678a9aab8dc0529f84660ff25e748c5e
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4229995182553828540.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4a56a430b2ba: Already exists
4b5cacb629f5: Already exists
14408c8d4f9a: Already exists
ea67eaa7dd42: Already exists
4d134ac3fe4b: Already exists
2e009887a409: Pulling fs layer
adb876b6ea0f: Pulling fs layer
19f9812823bb: Pulling fs layer
aabbe3b30f01: Pulling fs layer
aabbe3b30f01: Waiting
19f9812823bb: Verifying Checksum
19f9812823bb: Download complete
2e009887a409: Verifying Checksum
2e009887a409: Download complete
adb876b6ea0f: Verifying Checksum
adb876b6ea0f: Download complete
aabbe3b30f01: Verifying Checksum
aabbe3b30f01: Download complete
2e009887a409: Pull complete
adb876b6ea0f: Pull complete
19f9812823bb: Pull complete
aabbe3b30f01: Pull complete
Digest: sha256:c19a5bbb640596885fc972b8e5d9b37e2a94b12d580c634ecee224d618d03354
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins163679996148167059.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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)
Installing collected packages: virtualenv, colorlog, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa8093254d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.76s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #337

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/337/display/redirect>

------------------------------------------
[...truncated 26.90 KB...]
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5296151911301264479.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Pulling fs layer
e2fb48f8b9f0: Pulling fs layer
6597bee1b52c: Pulling fs layer
53ce14448f02: Pulling fs layer
e9ab7ffbaf55: Pulling fs layer
53ce14448f02: Waiting
e9ab7ffbaf55: Waiting
e2fb48f8b9f0: Verifying Checksum
e2fb48f8b9f0: Download complete
6597bee1b52c: Verifying Checksum
6597bee1b52c: Download complete
53ce14448f02: Verifying Checksum
53ce14448f02: Download complete
e9ab7ffbaf55: Verifying Checksum
e9ab7ffbaf55: Download complete
bba8b8764dd6: Verifying Checksum
bba8b8764dd6: Download complete
bba8b8764dd6: Pull complete
e2fb48f8b9f0: Pull complete
6597bee1b52c: Pull complete
53ce14448f02: Pull complete
e9ab7ffbaf55: Pull complete
Digest: sha256:b1c6ef059249585dbd2b9cd9789da1532cf616df39a4e1b1bb654ac209c78cae
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins684162849113240905.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Already exists
842d1eca47a0: Pulling fs layer
b3fbd02886dc: Pulling fs layer
720584ff5531: Pulling fs layer
ee6f0cf7f102: Pulling fs layer
ee6f0cf7f102: Waiting
720584ff5531: Download complete
842d1eca47a0: Verifying Checksum
842d1eca47a0: Download complete
ee6f0cf7f102: Verifying Checksum
ee6f0cf7f102: Download complete
b3fbd02886dc: Verifying Checksum
b3fbd02886dc: Download complete
842d1eca47a0: Pull complete
b3fbd02886dc: Pull complete
720584ff5531: Pull complete
ee6f0cf7f102: Pull complete
Digest: sha256:249258b22b29eef36607fcefd5e713fa8bc34e020fcbb14c07760981f9ae64d9
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4192100493543824808.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Already exists
842d1eca47a0: Already exists
aa4ec5554dd5: Pulling fs layer
52983b128d77: Pulling fs layer
0504f4e99686: Pulling fs layer
52983b128d77: Verifying Checksum
52983b128d77: Download complete
0504f4e99686: Download complete
aa4ec5554dd5: Verifying Checksum
aa4ec5554dd5: Download complete
aa4ec5554dd5: Pull complete
52983b128d77: Pull complete
0504f4e99686: Pull complete
Digest: sha256:731cdf26dad6246e3d1372e1bcebeb5d5a3f21fde8547394bb5f489e74f46af8
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5521655496524109446.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Already exists
92cc40f4243a: Pulling fs layer
be55f40144ea: Pulling fs layer
803a5c0558db: Pulling fs layer
731e0ea09fdb: Pulling fs layer
731e0ea09fdb: Waiting
803a5c0558db: Verifying Checksum
803a5c0558db: Download complete
92cc40f4243a: Verifying Checksum
92cc40f4243a: Download complete
be55f40144ea: Verifying Checksum
be55f40144ea: Download complete
731e0ea09fdb: Verifying Checksum
731e0ea09fdb: Download complete
92cc40f4243a: Pull complete
be55f40144ea: Pull complete
803a5c0558db: Pull complete
731e0ea09fdb: Pull complete
Digest: sha256:e187416f51f3a9cbc73c5835d306b600453ed0cb026b10f4b7409d4adf45b86a
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6901077682112842467.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc48ccbf610>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.41s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #336

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/336/display/redirect>

------------------------------------------
[...truncated 43.68 KB...]
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7206111708156291032.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Pulling fs layer
e2fb48f8b9f0: Pulling fs layer
6597bee1b52c: Pulling fs layer
53ce14448f02: Pulling fs layer
e9ab7ffbaf55: Pulling fs layer
e9ab7ffbaf55: Waiting
53ce14448f02: Waiting
e2fb48f8b9f0: Verifying Checksum
e2fb48f8b9f0: Download complete
53ce14448f02: Download complete
e9ab7ffbaf55: Verifying Checksum
e9ab7ffbaf55: Download complete
6597bee1b52c: Verifying Checksum
6597bee1b52c: Download complete
bba8b8764dd6: Verifying Checksum
bba8b8764dd6: Download complete
bba8b8764dd6: Pull complete
e2fb48f8b9f0: Pull complete
6597bee1b52c: Pull complete
53ce14448f02: Pull complete
e9ab7ffbaf55: Pull complete
Digest: sha256:b100d4cdb54456b2ec03fb935169c182d4cb182f8c6a656410e822bc01359281
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6064545755529558367.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Already exists
842d1eca47a0: Pulling fs layer
b3fbd02886dc: Pulling fs layer
720584ff5531: Pulling fs layer
ee6f0cf7f102: Pulling fs layer
ee6f0cf7f102: Waiting
720584ff5531: Verifying Checksum
720584ff5531: Download complete
842d1eca47a0: Verifying Checksum
842d1eca47a0: Download complete
ee6f0cf7f102: Download complete
842d1eca47a0: Pull complete
b3fbd02886dc: Verifying Checksum
b3fbd02886dc: Download complete
b3fbd02886dc: Pull complete
720584ff5531: Pull complete
ee6f0cf7f102: Pull complete
Digest: sha256:d3f19eb1086920a819039a14ba33d55c919ce43b338255b554ea872b7417f0d8
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5740396279787433271.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Already exists
842d1eca47a0: Already exists
aa4ec5554dd5: Pulling fs layer
52983b128d77: Pulling fs layer
0504f4e99686: Pulling fs layer
52983b128d77: Verifying Checksum
52983b128d77: Download complete
0504f4e99686: Verifying Checksum
0504f4e99686: Download complete
aa4ec5554dd5: Verifying Checksum
aa4ec5554dd5: Download complete
aa4ec5554dd5: Pull complete
52983b128d77: Pull complete
0504f4e99686: Pull complete
Digest: sha256:03f3319a4b91b0e44f51f313f185ba9269e2629b5b7bfb376e7f972393c74566
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5729339989622613473.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
bba8b8764dd6: Already exists
92cc40f4243a: Pulling fs layer
be55f40144ea: Pulling fs layer
803a5c0558db: Pulling fs layer
731e0ea09fdb: Pulling fs layer
803a5c0558db: Verifying Checksum
803a5c0558db: Download complete
92cc40f4243a: Verifying Checksum
92cc40f4243a: Download complete
731e0ea09fdb: Verifying Checksum
731e0ea09fdb: Download complete
be55f40144ea: Verifying Checksum
be55f40144ea: Download complete
92cc40f4243a: Pull complete
be55f40144ea: Pull complete
803a5c0558db: Pull complete
731e0ea09fdb: Pull complete
Digest: sha256:a452a28b7461bf3999c54dae998cdab43176d4eda2b3d56dfb3321c1017bf5ba
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3880313808520698982.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, py, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0ced87f4d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.21s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #335

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/335/display/redirect>

------------------------------------------
[...truncated 551.82 KB...]
deleted: sha256:622b9b9fe7a562cefc38e665cb729bb94a46c5ddd93d7b3bff0d5972833c3a72
deleted: sha256:f080a98b8e589b6df8969747abe4045e6125eab73054d2f3d1d3067d00b081ea
deleted: sha256:16fb6331085fd06200d8d209d14085d199fa2931ff46b7c530d3d6ea1f89de5f
deleted: sha256:1879076a677c7b7928c109dfd1ce928dfb945d17ecbd5a5d49a468a15d36da90
deleted: sha256:422f1e9d7fd2f05d94fe0ef59e9f1d564a3a116179ddf8bc90e1f534974edc04
deleted: sha256:e16e290ed2335e262a1957b31f10a6699be1edb13f6827c36bf1fce2d957da36
deleted: sha256:e8ef401e5c66bcbace869c4a4e6b3914a99d167fec58ac1fb221c9c16929b52c
deleted: sha256:081c1f4ae36a92fdda158579386e4c5f7fbf7312f24d2cc11732809a1f0356df
deleted: sha256:eb6977c43a8d6f34b4b2252f74065280cd0b1e726d640b2db0a0db2c0233f180
deleted: sha256:2c2c2f9553e3d53f4ba0eb33fd483a6e45b2c957b45f18cbe4a3ecd0d0a6a9c6
deleted: sha256:8c97982dfb14976fce65c94819231c6951221f3ccaab6bcdb9d137b72d8824e4
deleted: sha256:e99ac6a089d3f962c71de80bc140cc917bdb52533e9eca895524bb7188ebddf6
deleted: sha256:6f1beaa1d2201be04f12368379f68da2493807d5867bdcb650d9ff9130af2622
deleted: sha256:eeda9b1f3e9649fadb26d0bba310252e81491781f99a9808c937e2136e90eecf
deleted: sha256:14686e424c6edd9215ccdb5ed6eada780c527ced26a3bd6acf59d540f30b2a11
deleted: sha256:4a5660c028f3b4e057f51e984cabafa1779e35a916dbc1ae91ab7e96303af424

Total reclaimed space: 6.529GB
+ docker network prune -f --filter until=12h
+ echo 27800
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2730410660095542030.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5003058822490744376.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8717334805266599518.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
e9f71b5e1fed: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins565376169713366787.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5449142760490285596.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, virtualenv, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7058689510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.75s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #334

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/334/display/redirect>

------------------------------------------
[...truncated 33.55 KB...]
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2108848788417659007.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
e33fb8e92c2f: Pulling fs layer
ba1ee226143f: Waiting
e33fb8e92c2f: Waiting
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
ba1ee226143f: Download complete
e33fb8e92c2f: Verifying Checksum
e33fb8e92c2f: Download complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
e33fb8e92c2f: Pull complete
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7934387202878775705.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1874872351018395739.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7605446210768646619.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7646763947393835052.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1469e274d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.51s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #333

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/333/display/redirect>

------------------------------------------
[...truncated 23.31 KB...]
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
a11b2bb0ed88370e88d061b68f6d6bedcbd387589a271c580dbf042f6f1f60b6
da62fa231d86e95797806e19f1a934253fa0cb849da4e58a42f225eebcb4ee42
855f2361ec2beb031a9177551d80dddc1d1ab5d17e6bad9acf9ef1185f0bc609

Total reclaimed space: 22.04MB
+ docker network prune -f --filter until=12h
+ echo 7644
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3724050518540541508.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2013299259011475605.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
943f57f16bdd: Pull complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8997082005692030632.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3315294022090845475.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3743467907996648966.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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 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: argcomplete, virtualenv, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f68fbac6a50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.77s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #332

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/332/display/redirect>

------------------------------------------
[...truncated 32.22 KB...]
deleted: sha256:64cca43f431c7a1b49d4cdf8d24cc5a28fe2998aa3698b22deb81e8b41fbe6ec
deleted: sha256:6c391cbae17e9a05ae84d9830dd924afd14037380ba91beeccd4484f77c112a9
deleted: sha256:75d322825fd07d2a7355636d5acb907a2ffb87e7b75a576cd62d75740892b976
deleted: sha256:593e1fc084072a6f9363a199a5eeb64320c3cdc0b50d54c0e2829591475dd7c4
deleted: sha256:17e81a98a6c41c9cf9f4784c7f741cb0f8bdcc0105f759ee72419e93df35dc80
deleted: sha256:7f8c7fb872a3d840270c1166c6aee8116f694691b967b04c470902c8225b74a5
deleted: sha256:929f4432f1c8a5fe4ed45434684e133892118e2c148d336a48e97cfd44d7a8f5
deleted: sha256:0790121fef830e5ba72f25ec3f51e83e6d06766d071b2a76eb83d290ffc87a2a
deleted: sha256:e36a384c59d542404a361a8466d264eb43cb286ce51364eb1dda9b81f06c915d
deleted: sha256:510315a42db629563b1018d0831fad6aa4cd9abb1b0a49f3377f2ea89d3a9115
deleted: sha256:00c61095b0f898a3cd1801b8c71c118cce2a6b3daf8c4eb79a6d71b57a381976
deleted: sha256:638ade929c861be9a2009bac35bf5c487d8374cb93fc049b2d7a3faaadcd0ec5

Total reclaimed space: 7.218GB
+ docker network prune -f --filter until=12h
+ echo 31877
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3052631870145042597.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8638558983550636491.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2011098095581634683.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins400581799708921455.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4497623198641368412.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f7cd0ab7dd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.75s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #331

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/331/display/redirect>

------------------------------------------
[...truncated 33.19 KB...]
deleted: sha256:8b82be44509bd75e0709a420d50a02202ae85773e2be0ec0ce488dc6c76eb2d8
deleted: sha256:04cb3b8dc0fa58411bd9794dc17881ab12dce9206da57c533dde91fb424ce091
deleted: sha256:561309fe2cdabc77465da91e13af93ad42e23e79fe5718ca13d11b99e52da9b8
deleted: sha256:4df65d7a88be04956e1dbcf4413328a51e5f83cd0496d577c23475c7daa124c4
deleted: sha256:9cd433d6086ae55acbd649001cb0a2f21726ec010c8031468eb495e7e970e86f
deleted: sha256:9898e00a8c364df87a28c91a0ebc648b69e550225bf81b95ab5da305805eb8a2
deleted: sha256:db049595ed5455fe0b5368364e311ffd3b11150d27bb66548f2ae8d2519ee8f7
deleted: sha256:59c578cdac20a680b40e4a9a7919eac0c05dff6cabb88e1257360ffa95922573
deleted: sha256:79b40d496de12f260508d038275d9ec6770cf1543b8476ad07653971ad78305f
deleted: sha256:a572e67b613cf277abb95a3d18546d49b12cce3f1bfbe9e5a7507c4c078039d5
deleted: sha256:336878b0d8002ff2810a413006b7f157cf603a2dd4b1c703fbdb680a4872b3bd
deleted: sha256:235f7625962fd095ed36a6f1906d7c4ee033c1b02d045e73cc108270f460524f
deleted: sha256:78b1dc2baee6aabe24ad8fc94831c4aa195f211e68ed9f45353c0d2654fc678e
deleted: sha256:4f307497981a7389bd12d53c3fe751bd5605d062a16c35dbdbcf6c7fcde10003
deleted: sha256:38c74ed3925df6682285f63abd3e296b36188257655dfa71383d6de746b7c907
deleted: sha256:a2bb7bfa108727a734c614779efaac3c96b014c4fd19b7d3ea8ebb09bc95b7c3
deleted: sha256:15578a1b2c4d8265357d5942f56465eb89b9bec6649b2fc251a754554719a462
deleted: sha256:eea71d2ff726d635074650d24987d675d9f60f2fff17ac1c58adc7b33d802e60
deleted: sha256:a0b58d0520b6e2961dd06972bf3709e7d9cc285a035382a394c2d3ba0a283885
deleted: sha256:9dfee073094e6ce5ba9dad275625e7a9d7e94da7fbb8dd1e63afae5afacf79dc
deleted: sha256:8b12c4f3e9f6a46b8c43a6c1f00eb9e89ee12a05d8b679d2a9b4213fe50e64dc
deleted: sha256:47fc52c5dd3d4f44554ff306034fe9aae9faec37ed7499d55e52dd91ec2a6c0b
deleted: sha256:601b1b745f99fca1bc071061ecdcc7c99bf6a5e5abd091b0525a138464ecfe50
deleted: sha256:ae3b3590b72a29ec02a900715edaec37511f8c451dacc2fbb6fff90621404fd2
deleted: sha256:dd21052c95c49c2c45bbe1a12520a8949690f19730b089f2e6e6f4c6f1efc3a6
deleted: sha256:18bddc758e3e018d3809a04d283af0058eb252ca020ecfd4bc1558f14ea80fab
deleted: sha256:3b1665aab3a2390fe12d521809c04381319895479858ee3d5a73ebd1f73f9174
deleted: sha256:24f7afc0231f18aafee496b1c4787c6f50576581b61a203db161a3c27b1e1f90
deleted: sha256:fc979870700392254f8ee3e58699535f18d647f1607a5557238d24b4de2b698a
deleted: sha256:85d35c8fad42698ad3688ab07046144f49d5a8ccc866260fc75309d4b2ad724f
deleted: sha256:35b743766cf969889cbb3467c7cfa36bdfc604e4e945f446cc96c8cf589a5ce1
deleted: sha256:1e427582a181f94999e09606d2b6dac986b3f2c20be1ebc351f22afe20d01df6
deleted: sha256:a6d2a4d6116a954ef3a8b0db04d785571b7b2c2e3f8e7990e862b11a0deebb1b
deleted: sha256:e27a10675c5656bafb7bfa9e4631e871499af0a5ddfda3cebc0ac401dfe19382

Total reclaimed space: 1.102GB
+ docker network prune -f --filter until=12h
+ echo 47361
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Already exists
ab017ee82de8: Already exists
973721b7fcb1: Already exists
0c79b341c8ed: Already exists
1b304faacdc3: Already exists
5c94f9cbba07: Already exists
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Image is up to date for quay.io/coreos/etcd:v3.3
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/jenkins191401445553581318.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2725281622283975248.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5742940515177961356.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8509009846789136280.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7517856253703056101.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f60877d1910>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.87s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #330

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/330/display/redirect>

------------------------------------------
[...truncated 33.11 KB...]
deleted: sha256:581b87c3ddf184ff65917068369ebc78d8719a6cde2c9a7f4985a422862d23fc
deleted: sha256:a4835db3d96088d43f4d37ec8699c54f403d9669182a311d67f08c4a1359e62f
deleted: sha256:34d1e759d010c810b3684e2d7ff281964efb91609459d97696838f8d2d22dc69
deleted: sha256:6f1880c992025ccd4951d01886e36339e188de372df1e10c6444a0f229bbca28
deleted: sha256:17162f31daf0c9bca171f12993d5ebdd8cf740d327463c79e4f84aa2548ced50
deleted: sha256:07bb7a678fc02bd91d73e2bea0f1dcc9473c4565fae91a78a6ca73f6610dab50
deleted: sha256:47192ebfc38ed3820cf194e1d43a07c9c22715b1ce7b7b183b311d599f49075c
deleted: sha256:8778babf2fc127e6b43afd3041cce1256177a6a2f72b26d1a42ee0af76705a3b
deleted: sha256:5078bc5fb2f0edfff87e5942791881fe146e2a95280b1d15764a65c563c4ec6f
deleted: sha256:ceaa1e8a346fd9af594d8a101ad49642ed0745a1fd251f052cb4935c0124cc04
deleted: sha256:ff5d5946c68b0122d876e55312fd0eee6df146fc833754222517cd294a5c02dc
deleted: sha256:2e68b377913d61b8f37d8b752c6965658a18e1cc976064c57d48cfe94031b067
deleted: sha256:a31b7a62c55ad10d157ccbfcb955b2f9d1a39f2017ec801dd0786d11c0c4d91c

Total reclaimed space: 1.704GB
+ docker network prune -f --filter until=12h
+ echo 60475
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4238113374200596407.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5115756915855495511.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7737058572620439447.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7264625246702611975.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7304640279303408561.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
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: argcomplete, py, virtualenv, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fcc00b75710>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.22s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #329

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/329/display/redirect>

------------------------------------------
[...truncated 26.06 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2393576844742000926.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
e33fb8e92c2f: Pulling fs layer
96465440c208: Waiting
6ac892e64b94: Waiting
e33fb8e92c2f: Waiting
ba1ee226143f: Waiting
317202007d7c: Waiting
5b3ec9e84adf: Waiting
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
ba1ee226143f: Download complete
e33fb8e92c2f: Verifying Checksum
e33fb8e92c2f: Download complete
6ac892e64b94: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
e33fb8e92c2f: Pull complete
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7895022717918566074.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins551570925545824307.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1505016075995499165.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
9ef5af0ee617: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1834926952438243697.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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 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/8b/12/8d4f45b8962b03ac9efefe5ed5053f6b29334d83e438b4fe379d21c0cb8e/virtualenv-16.7.5-py2.py3-none-any.whl (3.3MB)
Installing collected packages: argcomplete, py, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.5
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9f22decdd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.95s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #328

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/328/display/redirect>

------------------------------------------
[...truncated 35.47 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5172258861666470355.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
e33fb8e92c2f: Pulling fs layer
96465440c208: Waiting
6ac892e64b94: Waiting
ba1ee226143f: Waiting
5b3ec9e84adf: Waiting
317202007d7c: Waiting
e33fb8e92c2f: Waiting
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
ba1ee226143f: Verifying Checksum
ba1ee226143f: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
e33fb8e92c2f: Verifying Checksum
e33fb8e92c2f: Download complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
e33fb8e92c2f: Pull complete
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3820925207111605919.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9214341255037055472.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4406780615107142713.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7283411220261894606.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f18861408d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.28s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #327

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/327/display/redirect>

------------------------------------------
[...truncated 51.51 KB...]
deleted: sha256:b5ded5f65ab65b00ce7ed29c76a2bf43d4594613368c54fb63340b1193809f1a
deleted: sha256:e4efb2be3aa3d422fba560b25d9ca672b25927212b60a1ead4e3d42537845744
deleted: sha256:029623e1825e9a0dbd9b5621b4de0428784b9e3de78724448ed4a5f2d1f096b5
deleted: sha256:2bd814461467a4a64eeec673abe27d2e3e59a05526208b3cf86a4b4e91fc1941
deleted: sha256:9e052ebc587dbb8dd6cc52cd5d9056bab5692fce06ba8ffeaf7516a5f5b5982d
deleted: sha256:f5454d20f6f5887e0e57e6c04a568a53bb9322b08bff5e21ad49daa6f2210881
deleted: sha256:a85797e346d79243344697a7bc7e5c68b89728f8052fecd3477210884fc78442
deleted: sha256:7c6d2b3c4803c6a6d12740dfe1c0d745f8907695954ed019f13bb1823a0be489
deleted: sha256:0e601df5c3da0c160074748b9e580d34feeca31af3494aa1fe37330e1449a6e3
deleted: sha256:31cc45fe6eec7519737b8202c9440437b5c792c6817282a0039a61776c1ac9d7
deleted: sha256:c7d5de2c3f259ae53a0c7a5d55d3c940ee950500568e3a48811b8ceabf6583d6

Total reclaimed space: 6.374GB
+ docker network prune -f --filter until=12h
+ echo 21096
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2753066609996482437.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8688084959283953170.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9152964877049761612.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1358004360835010074.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins155554267603276047.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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)
Installing collected packages: colorlog, virtualenv, argcomplete, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ffbdd5171d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.31s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #326

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/326/display/redirect>

------------------------------------------
[...truncated 24.81 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3534776563205563954.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
e33fb8e92c2f: Pulling fs layer
5b3ec9e84adf: Waiting
317202007d7c: Waiting
ba1ee226143f: Waiting
e33fb8e92c2f: Waiting
96465440c208: Waiting
6ac892e64b94: Waiting
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
ba1ee226143f: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
e33fb8e92c2f: Verifying Checksum
e33fb8e92c2f: Download complete
4ae16bd47783: Pull complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
e33fb8e92c2f: Pull complete
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2388295004421225587.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins627775042898594122.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1647363620455654810.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1794428607878848025.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9112ee9350>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.76s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #325

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/325/display/redirect>

------------------------------------------
[...truncated 41.50 KB...]
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4136976556319803380.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
e33fb8e92c2f: Pulling fs layer
ba1ee226143f: Waiting
e33fb8e92c2f: Waiting
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
ba1ee226143f: Verifying Checksum
ba1ee226143f: Download complete
e33fb8e92c2f: Verifying Checksum
e33fb8e92c2f: Download complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
e33fb8e92c2f: Pull complete
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2152817007661554219.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
38b0e25e4ab9: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4679885820953807086.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5802094898460310637.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3526269474553180634.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
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 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: argcomplete, virtualenv, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fbd58e6c910>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.77s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #324

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/324/display/redirect?page=changes>

Changes:

[guosijie] [BOOKIE] auto refresh tls cert at bookie-server

------------------------------------------
[...truncated 38.11 KB...]
deleted: sha256:7adfab21903e53975ee50dfc04403e5ac8eec2872560f357129dcffd7b5f94b1
deleted: sha256:00e85976c05952b665a5b26aad9fad04a0e4e5a7c1365dad1a9f6b71b831c309
deleted: sha256:3542d2aa77a5ed057cb01334a26f489f02b6fe8d625f27ac73a9a1b5e4681959
deleted: sha256:252da769345df55f79ecef00c43d59b5b9de9da2795207fdc9e4c87e7b7ce71f
deleted: sha256:1fd0ac61d57c88d2680f0b00924453db9d77010dc924b71013596659d80d4187
deleted: sha256:30e98ec9d3c2ee5be13e53a3e7b52b9198085470bbbb4a0a632c19936a553632
deleted: sha256:4650c821686328bab9fa7543c32a6e0960c197c3be5365d49aa3383cb48dbe2a
deleted: sha256:052d207f327d67460ae19196621aec37ab929be9b9b559e5026aafd742d16d7d
deleted: sha256:fc89f8f7142648d4cb99c31576628cf6a7a8d697b3c60c8870d061eb6934d4a4
deleted: sha256:5652ddeae74e4d6a62a0947bce21c9687d703e93bb6ab0aa33be1d5473ebe891
deleted: sha256:73fded5e85cf83069fccd5ffcc5e10e9d3f8a8dd68164657559e73eb2da5525e
deleted: sha256:af4c69f5d791dc2c5bad60bb576bab6c2bd38c65a79dd4a888898b0954a39c2c
deleted: sha256:ab5b3e14aa5e582a71120c988351c249bcba9eb79e787b2e22975fab7f005f6f
deleted: sha256:79e481422a9935c6a556b9aa6fe6d87e9e346a67436b29b6b10a77578f463736

Total reclaimed space: 8.07GB
+ docker network prune -f --filter until=12h
+ echo 21592
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins9102058749988055119.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7532567855930329017.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1552892169835825147.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Download complete
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5099432861487127846.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8866771202415789255.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, argcomplete, py, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f767dd4f310>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.99s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #323

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/323/display/redirect>

------------------------------------------
[...truncated 29.39 KB...]
deleted: sha256:6013c84d061bc754f5fca60f6107f8aca7ddb001eb7559daa52745fb1f0669c9
deleted: sha256:c7901f87082e03af6a6d689934d7c0b317552999892c19a3a54ec1ec9ef36160
deleted: sha256:71f5f68de799d9a782942ea32daff849521c2ba362cd578e7b80387292d3bc73
deleted: sha256:10d187382c9c85229fdef88c232ef82bbdfeec5b9e0f0bb777316d4d11cb68be
deleted: sha256:83308099658116057046d7aad27caecf3cc385ec743bccee5d990df32a21cf92
deleted: sha256:87fe140e49c9c2f05429793bb1f8b9fb7010a3cd8aca184b48dddd09008d7866
deleted: sha256:24e637e7324ed16664cfee383529a8208beac91e7f5960654a9cb0009a2bba01
deleted: sha256:3f5cbb57868c476b8824edaf8d497a0d73a92e7934bcad1d177c217483dffa4b
deleted: sha256:20568f79460538c7c29aff7cbc8561423d2cf2370efc741edef3b03eda539b7c
deleted: sha256:9f11b7c1adc925ee952998c5ca98afe231f653c2f7e3860d1153f7bcc4c1b871
deleted: sha256:7e5cefcd49e07053cf39c859138dc1a311ca54c47c881f674f1be8d66475cf10
deleted: sha256:39cef71be5a2abe4f60717f01a700dec9f932100795bb92627e74d44ccca50e4
deleted: sha256:5af9aa8b3b3a0b550b7afd4d512dd99d0e1596e397f51299f879afbba6fe4f9b
deleted: sha256:a5bc1d603be88b0a3053740ce06c147e2e50e2ca24474bb97db5a2a23490e821
deleted: sha256:c9824588aaab437415718833de6eb56a4af217c9b8903a687cfa3dc849361c68
deleted: sha256:d6fa23d9b78fcaa787553a72a2d7c3408cf4be72769710be965f1bed99d19aa3
deleted: sha256:e8b0dc73102402d69c70b0e4ae9ce8bc6d55df17f6be80e3ed7a8fa9ef0c01cd
deleted: sha256:2dc86b20949d9dc708d85ef77f0d16103fc2e7855aff63758b5c188d7006a73b
deleted: sha256:f2d98e9614b45ecf4a646765f5844e6e0f991d2ae9459bf25f534207ccade222
deleted: sha256:ac925fc638a4718fbf087d08f9527a7c9ac0ec1e8bddf8911843d1d2b6017a4a
deleted: sha256:a1c4fb785ec858f49c0a3075b824145ffec3a1759df9a768bb8de995a5a09874
deleted: sha256:c785229ac34f464b54adb07d69b7b0bcd165b9d08d5d38717255ccae39edec7b
deleted: sha256:cd152514a3446f82326e8f6cf596ae00da6865b6b87254e6f24da2c529081199
deleted: sha256:73b8c6789cd7572ccc75f310c3714950a005a7f3e9f75487db99bc3847765118
deleted: sha256:4dcfd0d238eabded9878dbc25c1eb6a8780fc863756977a5eb8cb8a9e9150328
deleted: sha256:f3d3b906ab8ef5df1f0cf855be67ee379ddb0b48e19f0ade023e9bc4c4dea8e4
deleted: sha256:2c1f553bdd0ceb9b94556c7fccb91ccc092592ce795d97e967b3669a45940547
deleted: sha256:e2668fee965cd420a2b0383bfd5b1c44f7623ed89638c8beccae6e1e8d457ce2
deleted: sha256:4ceb5dfc12ae35f694d5037aaa02e8c70f2cb66f39b4111fdc5274931f4a5dcc
deleted: sha256:5a1f66e262a30ccbc59bb76de1df43c953e114bfd6b6586a1f71490f60555de6
deleted: sha256:cf03e91c3d6a68862454af18f13560a006830242e7d1ecde3fcb0c3d8751d693
deleted: sha256:d23b00fcb3dbb4ba9ad38a86c33173e706e75e2146ede3ceb6495343122ee5da
deleted: sha256:0b6aaa1f348a62f09afaea0b5cddc209a3a925441bbf446a349ac869481c374e
deleted: sha256:2591b7a48a77299d37fcec6463601c03e127251cd76f06c8473a3cfdbba4a90c
deleted: sha256:6b5a7eee5047ff828bc259023d6c8659813cb5931d84ad46491be8dccd867320
deleted: sha256:490ed02fc43527a9c5e4d82ef74f15058212d5d062e5f2d92e3fa2db65375e4c
deleted: sha256:cd0de0e2512ea38afc9fb86af43ccd45162eae84f77077dcf7e024e37f836af4
deleted: sha256:2d3bc8c83114651c9992b3e81ef1b078dc15b89bf016a2d6b32bd772a5fe29f0
deleted: sha256:4ed7303c59970b610e19e90f627ebe2a3726b0cb9e9559aa6280138e6b91ffda
deleted: sha256:193fca0863da1d4ba125a7c88ce316ff81632c3114c8ed50f391d6f095facafd
deleted: sha256:73197a3f1863dc540b8ccdc131166299ac8b7f5da64fa8eeb0e008397de5b903
deleted: sha256:d28eda31e2dea6334afaa9aeaca71902a840234ef9d7405f2420facf9be9d115
deleted: sha256:76abba42ec498bb1336783c072480cf42e1d8a36d5ac73351ace287b5be7e1a4
deleted: sha256:c64e6e1f7c4079a895ee6b4b9bb540181f6adf2adb58079a21faea2bdaf4cb11
deleted: sha256:78a705580cef82acb73631de65288c994476c687fe49a3c62c8cdf114e566905
deleted: sha256:cb83dda2caf660931ecca88e54487966ea1057e442f503e7bb4ac862a90d4ce0
deleted: sha256:8b519e1df7b5d5211322de70d3a99e5af978d3c30c90bcac2ee6174330b60540
deleted: sha256:16793b1ca1261a62d68061f8d586245192da5aea10e8eeaecc1924ac537e6af9
deleted: sha256:82c28ba9c2cc823eaf49ee2cc3496eb5e9a839fd9bc5b05d4a0c6b989a92acd8
deleted: sha256:f5a7aa917ce9176a6a4bf574f3c4106b82fa140a63af10828d20e0a67f95efbf
deleted: sha256:f610951786b49b1feeb7b7dcad8c6253306acf4f06cc038a226540684c9d6b0c
deleted: sha256:cfe580b6f62259d7c567fd8e50a1c61d1a1e05521d3bc4fdf7e3ccb07eb838f8
deleted: sha256:688e4907dc59275b69c3d56d9a02e5ad36dfd11ec69efe60b02aaccfcab7f60b
deleted: sha256:f94dae3d7a5da60a54a015e848357e6dbc12331677b0e6576531e04388189880
deleted: sha256:7bb3be3cf93edfc2be62f88caa5460ecb245a9f139716c1af3860816b2f02590
deleted: sha256:65583ac227d901ce1cb8f79ac48bb1fd3e4ccd10ed4456f9d3596eca57a00f67
deleted: sha256:a6d760586b71b24b7d44db76e8c81c7d03388a28d8c2d7edcf2579750774f68e
deleted: sha256:f71f1e45300dd621338c9540bab1d80ea33c7e67c53328c180996c8c64d36126
deleted: sha256:ce4ac71e5f3e7fbb06b4d5b6315d474581596049ceacb2ca59001077067c1523
deleted: sha256:bd752fbeffaea59797cf9624ae7ccd4849240c34d3248e2af45fa26d7e731c90
deleted: sha256:ca1e32af09214650cb86230a8b02c4e8e5cbea4228c53b43f09ec57d38937ed9
deleted: sha256:f86e75063000d88de3df1246f46510ea4401ecd862dbe96b609d700bb39d5d7c
deleted: sha256:8c7617382e5eee0006457265d62e3337d54c93182f513e51db14f6766ef723b9
deleted: sha256:c64265e5aeba4cc296f882b28855bac1c0f11f34542ac3fa64f60b5bd67bb622
deleted: sha256:dee7f556cd1b811b9d30d9d865878c2de88f08a949cb5498b1eb27c061d32e39
deleted: sha256:b4b342202be41b693c9c27b03143950ea3eb762c0f1074dd3529de26daf92169
deleted: sha256:7ea2d04f70002b60dbc468cb66b7cf46cf8e9e5757ed6fee4fee0558e5f1654a
deleted: sha256:6a4ac797e5a05d190550bb5a24f274da057531b288d3eb1734c494e459769768
deleted: sha256:e6c0e8a09a5949c7930d51051cae9dc3551698a668bf303742d4dafd0e8f1b12
deleted: sha256:15726e78cee2aff62158fb2a37ef20b7a8a1228e8ccae5ad397ca554f4907f38
deleted: sha256:4b947e1fb4e611e0af34311c08e088e9c209cfc620e00538f815518d6744e64a
deleted: sha256:f18c5fa815ba1eda9f566adee44e21924ba61b553a2a34c9122fd3c95b876304
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 8.941GB
+ docker network prune -f --filter until=12h
+ echo 32336
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2280141726386458162.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1307999657867570322.sh
+ docker pull python:3.6
3.6: Pulling from library/python
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Image is up to date for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1400815480049050277.sh
+ docker pull python:3.5
3.5: Pulling from library/python
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Image is up to date for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7425133149366909198.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Image is up to date for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1136395286695756819.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc525175310>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.76s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #322

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/322/display/redirect>

------------------------------------------
[...truncated 37.36 KB...]
deleted: sha256:73fe94a2814120d46cc81caffff795f3eeb0fda77b2ea3d190723007d9c2d200
deleted: sha256:5d5a3be81c16452cd2dd91baecf6c0dd7fbad9f7007a82c0f71142827322bf47
deleted: sha256:9c0df8ba50b6b459e14c06e1b9e961c37151883ca571bfeeaefb52c902614bba
deleted: sha256:82172bfe8e19ddacd9f8e45aa022d0787f7b18b831d4ef94425c49adc03c9da4
deleted: sha256:c5dcbc94d0d96436fe9cf27735c35f9aa947adcaf934a55216530b52f5dc814c
deleted: sha256:2eb1eae6d1a246027ac0646730a9d0365080b3cc4707ae7fbc76e90ed8539b19
deleted: sha256:4d7382e6ae4c3a452886ed8dece6c05f8ab9d9624cf9939a90de002759a86341
deleted: sha256:e4f7295927f86dcd7e5b577653222073342c724e65501b4be891a3cdbdf72ae6
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 6.804GB
+ docker network prune -f --filter until=12h
+ echo 12263
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4944941669906857226.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7656165039696222914.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7116679922109000098.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2010905278537693415.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Verifying Checksum
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6116840518809243110.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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 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: virtualenv, argcomplete, py, colorlog, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fabfd710310>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.57s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #321

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/321/display/redirect?page=changes>

Changes:

[github] Journal should respect to `flushWhenQueueEmpty` setting

[github] Improve journal throughput when journalSyncData is disabled.

[guosijie] Issue #2152: Amend disk usage warn log

------------------------------------------
[...truncated 27.78 KB...]
deleted: sha256:1878a655af046d50e29ba5d2bca3c9fb69b564b388ca80499c1a68f8a88b64d0
deleted: sha256:2a5b12ce05d0091ad0f2b9757d18af5191face5dcb6ad93e18dd27b021afcd3a
deleted: sha256:583fc3a9e6d8eee96418e95d0a70a78ce5d3e58f2e039903dae080c577ccac36
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 3.961GB
+ docker network prune -f --filter until=12h
+ echo 28937
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Download complete
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5119111570946299035.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
5b3ec9e84adf: Already exists
317202007d7c: Already exists
ba1ee226143f: Already exists
e33fb8e92c2f: Pulling fs layer
e33fb8e92c2f: Verifying Checksum
e33fb8e92c2f: Download complete
e33fb8e92c2f: Pull complete
Digest: sha256:5f980d2673056ca33580979bcfb70c82f70ceccf857b77b740da40701e5d473e
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8709254220376596293.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
2d8a71bba962: Pulling fs layer
2d8a71bba962: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
2d8a71bba962: Verifying Checksum
2d8a71bba962: Download complete
cad1284c0807: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
2d8a71bba962: Pull complete
Digest: sha256:aa2ba4a0cd6d9f056778dabd8f4103255d0bcb3974d9a38880d455780550a649
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2375265114177376183.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
e9f71b5e1fed: Pulling fs layer
08e960e19b1d: Download complete
e9f71b5e1fed: Verifying Checksum
e9f71b5e1fed: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
e9f71b5e1fed: Pull complete
Digest: sha256:5a85544617908a8b10e15ce010925233413e93056042fcab3b4a0e7e4999e273
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3378903132080447940.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
9ef5af0ee617: Pulling fs layer
95b0a7d3ce20: Pulling fs layer
95b0a7d3ce20: Waiting
9ef5af0ee617: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
95b0a7d3ce20: Verifying Checksum
95b0a7d3ce20: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
9ef5af0ee617: Pull complete
95b0a7d3ce20: Pull complete
Digest: sha256:e2770e7e5984998b0902537ea041343a35e816b6e96038be928855ddff4b4446
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1021928985118370124.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, py, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc0d83aba10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.74s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user reddycharan18@gmail.com
Not sending mail to unregistered user noreply@github.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #320

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/320/display/redirect>

------------------------------------------
[...truncated 54.02 KB...]
deleted: sha256:ee353765967260cdd9ef9502c6aba5344996a0522d71d8736f9456501167d734
deleted: sha256:416f17f081b84351a37e397615ba3e51eb37b02f75bd93703fad4ce7fcf60c2b
deleted: sha256:256d9c90d8133556b504c483587af5e0d9174e8adf27f06cedbebd29a9516832
deleted: sha256:1e45d61aad7188c3ab8b8fb922d1015a671dcfd373ed1786c33721015ee04b63
deleted: sha256:f36a4316e51f564d2327cf1147fb42e6d5ff53aaaa995e6ac5f123c0d415bbab
deleted: sha256:e9a88e5f8504d7337b2d321bd92da53dc91db3a7bdb3d21a5aa9d4115df92808
deleted: sha256:b3addcf94ab0760712113005684e9340e1fc0fb0902d52a7cac70b103c74e3cb
deleted: sha256:520fb12f87608b4df823f4c218d551ae55bbd9317117dae240129f02f7ec3d55
deleted: sha256:2fef9c8f1175a46576aeae5e4aae0b4a6d78f988f68b82dcf48d952dff9b6cbe
deleted: sha256:a56ee52a298d20307fc70074bfc7225d18e681c2018013489995df09dda6f326
deleted: sha256:a50f2a2d014bfb8004eecb5c2e30b8589f4c50eb9fbdc4d0034d0bc0b066b1dd

Total reclaimed space: 1.704GB
+ docker network prune -f --filter until=12h
+ echo 13757
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins9190109204069076881.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2431218228120374843.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Download complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6342780628910737943.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
8ec7ff9a6780: Verifying Checksum
8ec7ff9a6780: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7684652313774750866.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2493767898939478796.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
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 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: argcomplete, virtualenv, colorlog, py, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
WARNING: You are using pip version 19.2.2, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f132324d310>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.06s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #319

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/319/display/redirect>

------------------------------------------
[...truncated 29.66 KB...]
deleted: sha256:4888f1af6b82227b48f20db36fc1ec08382057eea22d086740a416452f701307
deleted: sha256:658d307587cf5f1c596bac2abc7d4425179ad23896bbf62ba96c984119ad4b22
deleted: sha256:979dabef458c734411b232fcd22081d7f6e7e072b99a98b22f1db9241806b6ae
deleted: sha256:21e2d602361dcabfe503f9218417b26d25e5140fa67a8c5a63371384a99aff3c
deleted: sha256:a3bfd44fe6c98fe0494406217cee29b052fbeb6101ccba24ccc2422e8ff4c7d4
deleted: sha256:b0bd99577a21b59716672ddbb18af487ab9efd03fa9816f64446f92efa6e53a4
deleted: sha256:2ada1c4d4903545a7412e0d964104f3370895f1d80ecb6d4c85ec5222f12a666
deleted: sha256:320f88fd0386efd8a3074be0c4b9277b8c8d6e7bb49453ebdf3a446ee6e9d645
deleted: sha256:fcdf191d6ecdfdc7f619ab119ddf7de0897bf4a5f4a402ddf2494287107e073b
deleted: sha256:58d77cf7eccf7457493d75dfae3a734edf51962ac2a49ce81565706212ffff38
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 1.705GB
+ docker network prune -f --filter until=12h
+ echo 14436
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8966743327568620104.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2383023245426968849.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4790731070087318044.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
8ec7ff9a6780: Verifying Checksum
8ec7ff9a6780: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4324594646941223849.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins808675678894544671.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-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/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, argcomplete, colorlog, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
WARNING: You are using pip version 19.2.2, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f41816b7a50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.21s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #318

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/318/display/redirect>

------------------------------------------
[...truncated 28.83 KB...]
deleted: sha256:d920fdff5eaf2696bbf663018ad85424fcc40825bbaace2f9974c657c912dea7
deleted: sha256:27c01e1fe203d29ecccec5d0972c4f84fb6e1a44a0abbe7dd3e29b6827703f2d
deleted: sha256:526137ac4b010c4f59543ca96985f9cb84c018e63dcba5fb61aee311a13e434e
deleted: sha256:5e9ef477c63f287534d14352824ba77c788b5705d6d0c8ede17bf8a1fbfcaa66
deleted: sha256:3682576aa06a28d0c10da929b15cc68db3173963385ee3f91e6fb248074dc76e
deleted: sha256:b78a5b9ef6b3e3cec95773b67792ebaea361f5ab38bd2793d05454886a452b2e
deleted: sha256:e68d28274b94e863def3d6b5d52e8dd44e695335f9c7ba7944c049ec2d66dfe1
deleted: sha256:192ee2f80dd8ff205b67456c0d58c7df17e6e41206db4ddf67409011dde63da6
deleted: sha256:272812e257b45889f532c7d1974a7f549d3f5fefba9aadcd7b4853f5872278a4
deleted: sha256:1a076ec0e50c58a7633f1a82c9e1e6d4599c419014f0f28d19898555b5496ef6
deleted: sha256:99d3285e77b1c8d24213576e8f85b72eb47e403dc4ebd37ca334e98f74263bfe
deleted: sha256:188dd085b01e2be7caa737fd3c255fb1c961714d7d00372efdf2d068600c53a4
deleted: sha256:a0ec047d4789b6a6a43b0c8732ef5cb3d1a650a958507f7dc95dad25164808c2
deleted: sha256:e740098c16af2dfcd1d4bcc478282394d0302dd4fc7ea01de58a2412968fa0a1

Total reclaimed space: 653.8MB
+ docker network prune -f --filter until=12h
+ echo 15484
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8569747550408383583.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8517979813013846040.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4902406561470782363.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
8ec7ff9a6780: Verifying Checksum
8ec7ff9a6780: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5521604796794061408.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins695638616647379559.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
Collecting argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: colorlog, py, virtualenv, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f4cb2e0a790>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.96s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #317

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/317/display/redirect?page=changes>

Changes:

[eolivelli] Simplify if statements

------------------------------------------
[...truncated 40.79 KB...]
deleted: sha256:f244f2c63baa9410e305f0bc9408aea10a9d7245bb42cb3cc503931c06150ee9
deleted: sha256:b4681ce2367789ed94625f309ff5ead992342fd3a5e891bcc40d66e83a169fb1
deleted: sha256:d548bdec8d08e78a2cbd1ddfdbfbb5a4aae40fb7126bd65045f684fcc6c93d2d
deleted: sha256:20b5d385a659f5a5d3f91ce2fd817f47c467e46391d5c51cbd2548fadbe85372
deleted: sha256:e47c0c9f9ef45814e13bf03b1ca9d1cfee4fafb06d46618640ed8dc2980233d8
deleted: sha256:1219db85c8ba5110641628a62b1c7a843b81d9a83c22e552413904f7b46ea8f5
deleted: sha256:7e791c5dbdc0fc741c42322d74480caa30bb77306e74635edf73919f4bd45c59
deleted: sha256:c3ed6849a9c23df66fa7eb6544645da639083f2235fa7edf6c5858e4a7d24e16
deleted: sha256:d9567774dda36072fc8097edec818e8141e5cd95bb5becef5138aed83319dbc6
deleted: sha256:c56698f3251901620526c2750d878fdbff9aa9b520fd213169f5a5bf49b1a0cb
deleted: sha256:7fbedea78ea3a4ed555ae868ca1ca5f7df1b5c96a44f7bbff3a93094298cfb74
deleted: sha256:93226dde9e8bae0cb644795939cf448950323dc55a452408e12cbf9724a0c83b
deleted: sha256:8c019deebcd598bea048e9f12dc1fd2b3e6be95cc4d70546a996203f8f3c2098
deleted: sha256:82ee1f8796be0ad0134ba1fc2dea035d1930e808e650080f374faeed08f4bc43
deleted: sha256:1c904f0211d191cedfe3969ee1da47addaf40e4b6bcb6a3e58c3204d3a83bfad
deleted: sha256:dda8174a14f9bfad57936743cf48792a1c9727627bbb7a6ee26b141ce9f1da51
deleted: sha256:92ce99ba2bc2f5d22a31c8f0e371d38a286b0ed4e3d90fd407e74ffd93b1ada5
deleted: sha256:009ca3efe86272eab7676de98e57c5e0ced166735e358f70d2022e85fc2a28f8
deleted: sha256:2aca90145ed726d3b1e5c8d8e88426693a35ae96822b9ff1836a7c7a575e73da
deleted: sha256:9fda5ec6f4ad6f0ca6901539b39e9f30c2d233481926494905029d589a1eb3a3
deleted: sha256:bb30b594db26660abfbd3feb9b179845028e513604d8f785add12af086b99d79
deleted: sha256:d8a59e59a8cd4fad436eabe285200d94d1909dc0d6306d82c71446ec8dbd2fbd
deleted: sha256:27efb328864194dfca9764898c36fc59d1f38ac50488975ac9b6238baa48ddd2
deleted: sha256:d68fc36ba454aab5a26667f4e9af81aea356ad0fe4077dcae28b86c67f9d8061
deleted: sha256:bc159e820b7936f8c387837caf2aea84c2fcb7bd608823050867a2c9cda013e6
deleted: sha256:a0dfd7d2653802b07b9e83fb084a286d86eed4b228d2c52443deaa3f4b50b75c
deleted: sha256:eff0aa91d47a89c9cf4e88d8c67ae37b167e698333d90e5d8a888f2ea81fd8fb
deleted: sha256:19a0ef5ae751c7d31fdfc9a02e0072a3042fcb84f23dbe6c04a3bc1898144931
deleted: sha256:594049ec67de51fb921106ce36519ac8531d7ab751c80bc0369f91e4850fed3a
deleted: sha256:4c977fc4232293a54c52b15ab3b472ff6cc5502cff1de839b6d94bcc889750b8
deleted: sha256:47ff2124cd82f704d959af16ec48cadf9ff27e88d1f791dd87b657e05d7f5c38
deleted: sha256:4e56b259a282dc9b5d5374013b50a213ddfa6e32a501e0532640a82c750b3a73
deleted: sha256:3772b6b36a6cc50ed053e3fa16dbf2ec8bbc8fb908eb690171895ba0cc2908a7
deleted: sha256:0b698cb02680cf0b2e59f8a6da887987922d3c93a4d770ea01085a9c6cd4a182
deleted: sha256:a0f25113d03d23c7bbf34c56ac2e8b6d2808f1258294df7444ca085dcb427084
deleted: sha256:d4f83aeedec1b24f88d62d847d0f792d4e7962b0c8815b28eafe88aaf31331a1
deleted: sha256:648bd657df9ee1ac16924e9adea0d8abf412a7556cd029a315622ff2406fe738

Total reclaimed space: 6.368GB
+ docker network prune -f --filter until=12h
+ echo 3344
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Already exists
ab017ee82de8: Already exists
973721b7fcb1: Already exists
0c79b341c8ed: Already exists
1b304faacdc3: Already exists
5c94f9cbba07: Already exists
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Image is up to date for quay.io/coreos/etcd:v3.3
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/jenkins3757880638842906760.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5351996365190369759.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6146977749767937396.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
8ec7ff9a6780: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8134319630455738132.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6127601287694628635.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB)
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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb671c5c410>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.68s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #316

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/316/display/redirect>

------------------------------------------
[...truncated 54.42 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1567090675290749376.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
cba5f4ed3782: Pulling fs layer
6ac892e64b94: Waiting
5b3ec9e84adf: Waiting
317202007d7c: Waiting
ba1ee226143f: Waiting
cba5f4ed3782: Waiting
96465440c208: Waiting
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
5b3ec9e84adf: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
ba1ee226143f: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
cba5f4ed3782: Download complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
cba5f4ed3782: Pull complete
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5349789897002026801.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8259136465110702758.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
8ec7ff9a6780: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6260564692386080067.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7955155099968316170.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, argcomplete, virtualenv, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.3
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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)
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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f30f6c42390>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.67s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #315

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/315/display/redirect>

------------------------------------------
[...truncated 725.46 KB...]
deleted: sha256:61b607d13f8cfb2905ad517c4311208e6a450a3877c80f0f7e143c990480316c
deleted: sha256:d7478e8a89f78e18e1ca8301319c0efd0c9efc6e948c8fa763fda72963771cf9
deleted: sha256:cc4f458d40a8b644c3e9177399fa257762cedd5d34b36c5a25b0ac433f6f3c5a
deleted: sha256:5359e0de4e8b5c1a4b95ca2702af48d556555eb453c409d9f73a1510bbb6f904
deleted: sha256:9168268457ee5c420ffd796e8436163bf9ba5fb45cbc4d41ccbce06ccb41cd97
deleted: sha256:dbf4a680e77e2a407afbffed5070c2c669453da454c06824c5950dea728ee421
deleted: sha256:02ec1ef382e8a2ccc1016f4fa8c4778fd58ebcbcc8dcabfb28fe44a111463cd9
deleted: sha256:c235f7d3e6070fda914949a5dd10b6051ce0d58ccd98650bb2d201646872f4d0
deleted: sha256:5dea84d20986e90b699b2e619be0dd72dfd7b2760553c1d718c1e84a27041935
deleted: sha256:58c57d2dc9c3fb31dbc820a02d0f8feb8bc1884117612f85ceaf673edced5028
deleted: sha256:2d6524224ca82761e561d2bcf8e9498f30b9a75be8bdf326cf32f4ca03e3398e
deleted: sha256:db0db45927153399bb96fcd9f60b39b953d9e61e7ecc7a0a6633fb017977bfe7
deleted: sha256:d2ab128ee34914f9efe5970c6e13d4cc4cfb703785c0e750800be6060f8933a6
deleted: sha256:33bd657b27bbd5bd094ee28eb1a33b806c2151bce1883b30d47c788f6705c104
deleted: sha256:de573a59114e9a3525d5bb83502c11cc2000e9f0d16e329f913c0a720e4d9b97
deleted: sha256:6bec3eaa6c7b0bb611f1e8fe842a12b846eca11ba82a5b0321f0a547fa1fb69d

Total reclaimed space: 5.642GB
+ docker network prune -f --filter until=12h
+ echo 3625
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8198648155380777143.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8914016136573132255.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
38b0e25e4ab9: Download complete
f697d20669c2: Verifying Checksum
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3137527515552947576.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
8ec7ff9a6780: Verifying Checksum
8ec7ff9a6780: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7618913010357412482.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Download complete
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8048773901104233672.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
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 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 argcomplete<2.0,>=1.9.4 (from nox)
  Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl
Installing collected packages: virtualenv, colorlog, py, argcomplete, nox
Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.3
Running session lint
Creating virtual environment (virtualenv) using python in .nox/lint
pip install flake8
pip install .
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/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 virtual environment (virtualenv) using python in .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0f48add5d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.87s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #314

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/314/display/redirect>

------------------------------------------
[...truncated 32.23 KB...]
deleted: sha256:59592befa202054b17fb8b2988f42638c74ac86aa3f05db17b7fa762d0cfd64a
deleted: sha256:2da792dc4fe43280833ff101dd10af423e6e2f794adb526db96fcd57546a3938
deleted: sha256:a8f9c40eb5e62608fe7e20bb2c835123f9b2332efa179eeea348b942941df718
deleted: sha256:cd0ba536229714649b5a4dc7faef687ae7a647ddb18e9b3a3f55287969a928b1
deleted: sha256:58ff85c7a1cb63aad2ef73b890bd8ecedaafc2378894dd988d00616e55f073f5
deleted: sha256:80c5b360d915ecc726746594d286c6ac041774c403baf8e870da87a3bac267d1
deleted: sha256:eb64297af5dea81eaa7865b5fc61b7fbdfa9f07037e79a0b0c845f308e0cde57
deleted: sha256:2c3b6e451218402b5f6ad8cde56cd926303643538fa4278d1b89c8a98fafdc1b
deleted: sha256:662d1034a5be99a6475a5e762c1c67db47f1df9b5427b58c46d99f030b6d2d74
deleted: sha256:10ba22931fc84ebe4bcd317643fa8207ccce71faeed46d99f5efd271a06feb3f
deleted: sha256:58fa09842cf8cf04b20063ec60370c7ba139101782078366420f0ad45c44e0e1
deleted: sha256:26f45c3966467682ac74f2b5535cd51b2830d108b3965caf6009e7f6658a8bd4
deleted: sha256:1052bb46a41e7726b856682864f99e5b1489a30eb1cb4f724a241293199e22b4
deleted: sha256:af5e3840598d3a487065a6cccf07174fa1f34b54f3fc263cb074a55c7d123dc0
deleted: sha256:e5ac62e90e3347aab2ef01f498934df0d57d93bfe8aa2cd2b544205754bfeaf7
deleted: sha256:4a1462febd469ed37df5681fa493ca0d26339bc13ed457f5e50822ed44e2d01d
deleted: sha256:891417539d4771678f62492999bf16bb790e5d678a48f06b9c3b3e2a866c3c51
deleted: sha256:e576651cec693951a4f01e7f3785a763029236e9d4e6cfaacdea9a3f2dbf1e06

Total reclaimed space: 1.97GB
+ docker network prune -f --filter until=12h
+ echo 45336
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7827769201504166832.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6862352549941361377.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2682246244264327714.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
8ec7ff9a6780: Verifying Checksum
8ec7ff9a6780: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6189528101753152176.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7912158414220824140.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, colorlog, py, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.3
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1741757150>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.02s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #313

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/313/display/redirect>

------------------------------------------
[...truncated 31.90 KB...]
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
afe293ffe5e62d2a6bb91719f5ba0c70a70dddbe3a8c380ffdf02e273cfabe94
d2e8ce72ff66b4f329d8447186b0f166debe28ad9a8d013b2036ae094200f969

Total reclaimed space: 162.4MB
+ docker network prune -f --filter until=12h
+ echo 17984
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1327578029994575485.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8781581561885174246.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins379032685952552986.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
8ec7ff9a6780: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4722602471480866440.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5294101986099267285.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
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-2019.5.30 py-1.8.0 virtualenv-16.7.3
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fc2fe87e850>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 5.47s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #312

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/312/display/redirect>

------------------------------------------
[...truncated 38.25 KB...]
deleted: sha256:218ec792168fa0ed192701e46999d9185f73bb1e0b95899166f1ba86753345e7
deleted: sha256:68e442ef76f8a069b41fa516a072226ce90155e3baaea974bf20bf22897f127c
deleted: sha256:3d801199ffc1a0f63a1ee4918150da4ed4f2e252441855e46b53da9f5d2b11cc
deleted: sha256:1abf4d4dd678f965230a1492252a7f5de50bf0b5557a42f6c067ed9c4861f538
deleted: sha256:bed975c2c13ac00cc8a97b669faba3cbf38cdf305373e216030a4c94f62244ca
deleted: sha256:b134eb7443483702eba6f53f33b02fc02391326ac34f014ecaaace502b4b4abe
deleted: sha256:2ce6e5432c6df251647425b6bc8490c1a7efec0009797435651f53f1ba890c75
deleted: sha256:98403186ba9f113411a774aca758487258939cac7993a6c11352b40d72ec5be9
deleted: sha256:adc69e12a667584d3e46d2f2dc91b3e23f58958d6b99db2a53bd71117afcd35c
deleted: sha256:8fe17cada1e4638a8eda6559cb1978b66cd2a0d3d861fd39b01a169880b44440
deleted: sha256:4e23ce1c809a7d81c6d58d8f86990f2cbbe6dd97228529607c842af92aff9e4f
deleted: sha256:6dcf0f61492a6a23e37019467879fdd5c10a9bab0158830b14e7b9f094e74bb3
deleted: sha256:0a47ade39dfbe159be5c93163cec42dc29778e98a978aa48e1f6c027d0be6712
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 5.781GB
+ docker network prune -f --filter until=12h
+ echo 57640
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7766269384146598643.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4218644518660311384.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins688479076741240424.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
8ec7ff9a6780: Download complete
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8305105638556878534.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3341691535168472544.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.3
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f72048624d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.82s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #311

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/311/display/redirect>

------------------------------------------
[...truncated 60.24 KB...]
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8137162070898525109.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
cba5f4ed3782: Pulling fs layer
cba5f4ed3782: Waiting
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
ba1ee226143f: Download complete
cba5f4ed3782: Verifying Checksum
cba5f4ed3782: Download complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
cba5f4ed3782: Pull complete
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3675606829275855351.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6314458958044279252.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Download complete
8ec7ff9a6780: Verifying Checksum
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5185613647066107366.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7387190582206443469.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, py, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.3
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1709c46690>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.98s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #310

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/310/display/redirect>

------------------------------------------
[...truncated 289.09 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3038743937970140758.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
96465440c208: Waiting
cba5f4ed3782: Pulling fs layer
6ac892e64b94: Waiting
5b3ec9e84adf: Waiting
317202007d7c: Waiting
cba5f4ed3782: Waiting
ba1ee226143f: Waiting
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
ba1ee226143f: Verifying Checksum
ba1ee226143f: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
cba5f4ed3782: Verifying Checksum
cba5f4ed3782: Download complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
cba5f4ed3782: Pull complete
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1200652236970365399.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9175958045433534429.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Verifying Checksum
08e960e19b1d: Download complete
8ec7ff9a6780: Verifying Checksum
8ec7ff9a6780: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3184808653849133251.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2004340719985371964.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/5e/6a/fa7e7f533595402040c831500bb10576e1f4b8f54d476f3994c7c55d8f5e/virtualenv-16.7.3-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, colorlog, py, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.3
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0ef00e07d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.46s
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #309

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/309/display/redirect>

------------------------------------------
[...truncated 29.25 KB...]
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6750775471114552147.sh
+ docker pull python:3.7
3.7: Pulling from library/python
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
6ac892e64b94: Pulling fs layer
5b3ec9e84adf: Pulling fs layer
317202007d7c: Pulling fs layer
ba1ee226143f: Pulling fs layer
cba5f4ed3782: Pulling fs layer
5b3ec9e84adf: Waiting
317202007d7c: Waiting
96465440c208: Waiting
ba1ee226143f: Waiting
cba5f4ed3782: Waiting
6ac892e64b94: Waiting
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
4ae16bd47783: Download complete
5b3ec9e84adf: Verifying Checksum
5b3ec9e84adf: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
ba1ee226143f: Download complete
cba5f4ed3782: Verifying Checksum
cba5f4ed3782: Download complete
317202007d7c: Verifying Checksum
317202007d7c: Download complete
4ae16bd47783: Pull complete
6ac892e64b94: Verifying Checksum
6ac892e64b94: Download complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
6ac892e64b94: Pull complete
5b3ec9e84adf: Pull complete
317202007d7c: Pull complete
ba1ee226143f: Pull complete
cba5f4ed3782: Pull complete
Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8785278473697990585.sh
+ docker pull python:3.6
3.6: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Pulling fs layer
cad1284c0807: Pulling fs layer
38b0e25e4ab9: Pulling fs layer
f697d20669c2: Pulling fs layer
f697d20669c2: Waiting
38b0e25e4ab9: Verifying Checksum
38b0e25e4ab9: Download complete
943f57f16bdd: Verifying Checksum
943f57f16bdd: Download complete
cad1284c0807: Verifying Checksum
cad1284c0807: Download complete
f697d20669c2: Verifying Checksum
f697d20669c2: Download complete
943f57f16bdd: Pull complete
cad1284c0807: Pull complete
38b0e25e4ab9: Pull complete
f697d20669c2: Pull complete
Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6472363294628545711.sh
+ docker pull python:3.5
3.5: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
943f57f16bdd: Already exists
c190296edbd1: Pulling fs layer
08e960e19b1d: Pulling fs layer
8ec7ff9a6780: Pulling fs layer
08e960e19b1d: Download complete
8ec7ff9a6780: Verifying Checksum
8ec7ff9a6780: Download complete
c190296edbd1: Verifying Checksum
c190296edbd1: Download complete
c190296edbd1: Pull complete
08e960e19b1d: Pull complete
8ec7ff9a6780: Pull complete
Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4610862121232215336.sh
+ docker pull python:2.7
2.7: Pulling from library/python
4ae16bd47783: Already exists
bbab4ec87ac4: Already exists
2ea1f7804402: Already exists
96465440c208: Already exists
6ac892e64b94: Already exists
6f7ce750b843: Pulling fs layer
886c714e5c8c: Pulling fs layer
11129766a052: Pulling fs layer
4a086c8425c2: Pulling fs layer
4a086c8425c2: Waiting
11129766a052: Verifying Checksum
11129766a052: Download complete
6f7ce750b843: Verifying Checksum
6f7ce750b843: Download complete
886c714e5c8c: Verifying Checksum
886c714e5c8c: Download complete
4a086c8425c2: Verifying Checksum
4a086c8425c2: Download complete
6f7ce750b843: Pull complete
886c714e5c8c: Pull complete
11129766a052: Pull complete
4a086c8425c2: Pull complete
Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2921236259185022757.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, colorlog, py, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fadb4c4ddd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.95 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #308

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/308/display/redirect?page=changes>

Changes:

[github] Replicascheck comprehensive testcases.

------------------------------------------
[...truncated 28.02 KB...]
+ docker system prune -f
Deleted Containers:
52bd14ca5a1f8461c0678caa5c585bc8d994e3f5c3efbfd9e31710b74187f5cb
15d757d6c2389007b48a8845524be374da9c47d190d0ae2853455fd6633eee1a
578f14ed6108856fde9079fe2efd0cf104c732c0d115caebf480dbc74f590b96

Deleted Networks:
testnetwork_d2490971-02eb-4c7e-b76c-07621ea74415
testnetwork_7419f8f4-69df-45dd-a09a-5d4749c29de6
testnetwork_9f853c56-97e7-4b12-86ff-8846d560fc36
testnetwork_d364b3fa-8096-4e47-8913-b472526e263c
testnetwork_3c0ea687-d331-4b55-9e74-98c3fc01c546
testnetwork_709e2221-42cf-4df6-8a0b-1fe3966916af
testnetwork_ff0c4b29-47f4-4271-9e01-da6a001f9d38
testnetwork_ebc2c18d-e6ec-4b21-a354-0d29f903cae7

Total reclaimed space: 0B
+ docker network prune -f --filter until=12h
+ echo 8635
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5138660153824300668.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:a4af2feaa779da5af6caebbf7de7dc4758bb7133e9041fc595a55b3b5d50e8f7
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4634248012484528195.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3f9d626a13fc: Pulling fs layer
3f9d626a13fc: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
3f9d626a13fc: Verifying Checksum
3f9d626a13fc: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3f9d626a13fc: Pull complete
Digest: sha256:a7f7441f1a83da79e4f6c81291251b0920826dd6021e346425717c68de7ee83f
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1790272362564965270.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
d48f1439f8f6: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
d48f1439f8f6: Verifying Checksum
d48f1439f8f6: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
d48f1439f8f6: Pull complete
Digest: sha256:85081fd2430230fc2bd78749b1b147371a3d9b4f4910868b48b8a51288c505f6
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2364823138573190977.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
dc197a10fcc7: Pulling fs layer
ff2addd41f3c: Pulling fs layer
ff2addd41f3c: Waiting
900d7861659d: Verifying Checksum
900d7861659d: Download complete
dc197a10fcc7: Verifying Checksum
dc197a10fcc7: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
ff2addd41f3c: Verifying Checksum
ff2addd41f3c: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
dc197a10fcc7: Pull complete
ff2addd41f3c: Pull complete
Digest: sha256:736d3064330c5bc7c111dc027f16d4a7ee34df16f143a1a561e2d36fd2e5fb9a
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3523635647486309585.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:474: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f3da82cd350>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.08 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #307

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/307/display/redirect>

------------------------------------------
[...truncated 58.29 KB...]
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2494244301442015443.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Pulling fs layer
ed3d96a2798e: Pulling fs layer
f12136850781: Pulling fs layer
1a9ad5d5550b: Pulling fs layer
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
a08a60370b4d: Pulling fs layer
1a9ad5d5550b: Waiting
6f18049a0455: Waiting
ce39fa9d79d1: Waiting
3a91ffcf88ea: Waiting
ee82cc8e1506: Waiting
a08a60370b4d: Waiting
ed3d96a2798e: Verifying Checksum
ed3d96a2798e: Download complete
f12136850781: Verifying Checksum
f12136850781: Download complete
5ae19949497e: Verifying Checksum
5ae19949497e: Download complete
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
1a9ad5d5550b: Verifying Checksum
1a9ad5d5550b: Download complete
ee82cc8e1506: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
a08a60370b4d: Verifying Checksum
a08a60370b4d: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
5ae19949497e: Pull complete
ed3d96a2798e: Pull complete
f12136850781: Pull complete
1a9ad5d5550b: Pull complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
a08a60370b4d: Pull complete
Digest: sha256:323486e71d000d9793894eb3b2f217dd06f80910dbd59dc42231d50c74d47862
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3391289161698778445.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3f9d626a13fc: Pulling fs layer
3f9d626a13fc: Waiting
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
3f9d626a13fc: Verifying Checksum
3f9d626a13fc: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3f9d626a13fc: Pull complete
Digest: sha256:f5b5a9455412481c849635570a792eb80f52c6d1f661dd9ef20deb82a3841235
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8400519895836021306.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
d48f1439f8f6: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
d48f1439f8f6: Verifying Checksum
d48f1439f8f6: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
d48f1439f8f6: Pull complete
Digest: sha256:1383ed8ac0b480dcb9173edfd879ec4f89d496894bdb7efc7810479673f5b1ee
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4804004385439110082.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
dc197a10fcc7: Pulling fs layer
ff2addd41f3c: Pulling fs layer
ff2addd41f3c: Waiting
dc197a10fcc7: Verifying Checksum
dc197a10fcc7: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
ff2addd41f3c: Verifying Checksum
536c9e631831: Verifying Checksum
536c9e631831: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
dc197a10fcc7: Pull complete
ff2addd41f3c: Pull complete
Digest: sha256:3152e620a18b0050a8ce6d76b375930f2c57063f049ee533a35d1e6002d4b22f
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1148350850815479234.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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/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)
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff8aa9a2c90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.56 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #306

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/306/display/redirect>

------------------------------------------
[...truncated 29.01 KB...]
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
42fb60119b253ded2322765b492e4331b8962a9db54583b54d4df25889db468c

Total reclaimed space: 21.81MB
+ docker network prune -f --filter until=12h
+ echo 20065
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8528866434284888947.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5760352641913943099.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7995804868462298115.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5098846777430461587.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3602403230064035320.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
WARNING: You are using pip version 19.2.1, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fde954e48d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.96 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #305

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/305/display/redirect>

------------------------------------------
[...truncated 28.11 KB...]
 Total Memory: 94.38GiB
 Name: asf937.gq1.ygridcore.net
 ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
473602150c5335766c1e2387da7d73d6eb87dd76aa8241ce036c7d16f0dd80cc
8509756e1c12224dd9a9a6035029b1e6aeae8f8a3ba25ac24e2883170af9f868

Total reclaimed space: 161.5MB
+ docker network prune -f --filter until=12h
+ echo 45003
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4897346558563368406.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins687880373033447001.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1393820820442423384.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
9e89e2e794a3: Download complete
a6fb723ae44c: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4191154707069446654.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
900d7861659d: Verifying Checksum
900d7861659d: Download complete
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7858562237126298496.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa203f75bd0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.95 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #304

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/304/display/redirect>

------------------------------------------
[...truncated 37.33 KB...]
deleted: sha256:8db65be4a6ddf84f460ed7127146186ad8a0eb9dbf4707f9d59a60f07e571e03
deleted: sha256:5afabfd8e41d896f2d128609f4b7490d9b04344e3f65410e6767ef073e8fd769
deleted: sha256:40c49ddcbc4a1cd5c9bdb6bdda8bb565f933305979f7fc254ab28378018227e9
deleted: sha256:1e070992107700fd1d869b9ed16d1ee60363e8a9c2fe0c8d81057c8667244008
deleted: sha256:39ec5e0d541f316b90a3994c9a4a11da74fc1f0b81d20420cae377df0e5861d4
deleted: sha256:b4876b6c11c5eb34c2dd115732da19df4aa7b168b88f103aa2337e49e5a132cf
deleted: sha256:f9bbdf8ec088d32fe05ca39cfba7d73877f405ff7411b1da3d59205de8aec4ff
deleted: sha256:4252344da5f6f9d6df670785fc9fcf2036d47c4b6355ceee4561ae081a00577e
deleted: sha256:a986b6ae4022a3cd4c189eccbfcdcce2e2e531f21c0c1808ed867edf1a221c49
deleted: sha256:410bf99c6bf14f646e85574876a12b5221f3ab8c3bce1b3ce997501dfd26a4a9
deleted: sha256:b02f532b2f20b57f87ff2f871890ff426c68211bac59ecc9f2a001e3d907bfd4
deleted: sha256:d37020acca1d5dad199f6694d87226ac7c255100a273cfb8caa513f5e53f624c
deleted: sha256:55572d0f3f1b4d079b0b99d6bd61c8e448610bfdcf0ce5fbab896ceb660b199d
deleted: sha256:6bcd8bc2607fcf5957e4c72dc19d6c342fa2434e5f482da41f5725b8df0a547e
deleted: sha256:3033aed64d82fec7d41e3f334edbe1061f743a99b695122c52dea1b74ad0a080

Total reclaimed space: 5.781GB
+ docker network prune -f --filter until=12h
+ echo 9073
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2093885815477491376.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6560841583116010156.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3358568851636577799.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4316255370541682998.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins181349704390723164.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, py, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f641403d8d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.88 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #303

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/303/display/redirect>

------------------------------------------
[...truncated 46.60 KB...]
deleted: sha256:b4e2056d6509043a093da52d6dc04c2abadec8441cb7cfb6de3b4f659c29af21
deleted: sha256:2db624a58f154d221316e54d34e640dd3298f7795474c3673ddd58eabfd8b3b3
deleted: sha256:ca7af07e5812853f4da1ab7fe493f60829e229534f806b0c10c301adbd288b53
deleted: sha256:4be1f118f90a85284e518464f0c8f1851f7b7851a377faa08ea34a6636eb8e5d
deleted: sha256:e75aa829f6bfbd63e052d3b5eedc17da69c7b1ddefb8160ec4569eaaccb61521
deleted: sha256:372824d1c22fe40f4db62994838160e420c4576d0225959e3b2cd1f4ff56af14
deleted: sha256:6f06f6be05ca2e451ea0c3651cacb647a4f41580d143d1c5cf7c0389e496ee2c
deleted: sha256:9070122155873ffc98e2c9058c72e05b873e166978b7cd362c70185190cf567f
deleted: sha256:72bcc0df9e9604bbdb110187b229e238147d3d9696a5a3682f565a73deb91ad7
deleted: sha256:74a1324188a379e6e35e0bc1d660d01913974013652b65911e4259dc3501fdc7
deleted: sha256:eb243b017fcea58d124a049af162d25e6e93422b933f750605c4f3895099efd5
deleted: sha256:11268927c79c3b49506fe828f0d7aba28500ef57f46d51cbb9058648a911b616
deleted: sha256:19d7d6d80cb5df4bcde22c59b2065b7121f876b2bcd2a98abe018b7bc8bce1a5
deleted: sha256:a8806cd0ca0803568cd894135770fadaf225ceb2d5de8016f13c33b81961f7af
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 5.641GB
+ docker network prune -f --filter until=12h
+ echo 28005
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins1592539902914347236.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5492277168179642636.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1610097575340359034.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3164229951413014441.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7144195361027803662.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, colorlog, py, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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/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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f8eb92378d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.12 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #302

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/302/display/redirect>

------------------------------------------
[...truncated 53.95 KB...]
 Debug Mode: false
 Username: mesosdockerbot
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
10bb28dd63ba726ef44cc75cae5cfc7821b2cb96f232d8f66805c141b9ba8201
df3cf39ba29a68e00a8db8740956aa271a0edc87d84b41a351fb1ee6b795940c
3b8a0a63101ccb40a4dcc358755d41382716310d32cba566d6c285abcd544b10
b458862ba334131d2ab2b06169f2b6fbbc2276de5260d77815f961a4e7516f2f

Total reclaimed space: 559.2MB
+ docker network prune -f --filter until=12h
+ echo 14552
+ docker pull quay.io/coreos/etcd:v3.3
+ docker system events
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6783921363578222669.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5378603585951919030.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6179879689772989754.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8839300877576297209.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Download complete
536c9e631831: Verifying Checksum
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9130709809842168193.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0da5c85450>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 6.13 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #301

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/301/display/redirect>

------------------------------------------
[...truncated 29.71 KB...]
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6772887970033353502.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
f0fe55e0f617: Pulling fs layer
ee82cc8e1506: Waiting
f0fe55e0f617: Waiting
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
ee82cc8e1506: Verifying Checksum
ee82cc8e1506: Download complete
f0fe55e0f617: Verifying Checksum
f0fe55e0f617: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
f0fe55e0f617: Pull complete
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5000606612007448713.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins656018209078404439.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Download complete
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4602746209131752392.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8254194665707389062.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f3d083568d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.55 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #300

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/300/display/redirect?page=changes>

Changes:

[guosijie] Replace C style array declaration with Java style

------------------------------------------
[...truncated 43.27 KB...]
deleted: sha256:8bc90ef0ece68deca7b60d06582b2258bfbdf65382154c67cc071d6d6d9c49a0
deleted: sha256:61cac4d17aab742a3b93739216e3bc77b613bacac00a27be2678002cd24ee2a9
deleted: sha256:7a7b0e156d5a07df630c0c0138a0e156e5126c9f5753fb2c5f98786032668de9
deleted: sha256:364922f81aed8ae3236a1df185e99e6e4a0a591b30ef565d2b5def5ed9e04f28
deleted: sha256:d91ff592d48a7169ccf3bf448122299ed0522102df32dd416234e11f9f30fce6
deleted: sha256:cc09721a701d80411d4b1f716c007a62f6489e73b12a81f3b1b1d82339fe0621
deleted: sha256:f32f7831860145a561a1414d1f3859afbce1ba3de1a8a0c1c942880bd3d874fa
deleted: sha256:552ce73270c69bd5442b72f88670240b7970699292b0d6031c37ed6e476b3d88
deleted: sha256:f395a2df6d8171567cd965e8b8f82627e65da2ba9ce5135c75f3ea1c16c770ae
deleted: sha256:e91a3a28de6f32e67f5e8f96a04c7088a4535320e008a44ea1c04a742301d9f1
deleted: sha256:d705c23492d5b829cb899cfa7c219b1e316f7a667fe9305a6c7a628e23525b90
deleted: sha256:c2396f2d0a78868bccbf7c2e2d0d80c48a357571145d6b30a08ae1e230c64406
deleted: sha256:d40ac506388c30d34600d510a7bafc83469cc0d1e18cb2329c76f3dc94ef162b
deleted: sha256:e3d98db22be3fbcac3a13b4c56f395e453816ee1eaa82db179261c4af3c8b6c4
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 5.633GB
+ docker network prune -f --filter until=12h
+ echo 15883
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins7720439765942209156.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins595387615202940393.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7066543828639940760.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Download complete
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2837608111600847044.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1340792460656976824.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f3caa060490>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.11 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #299

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/299/display/redirect>

------------------------------------------
[...truncated 53.63 KB...]
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8378121439362580557.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
f0fe55e0f617: Pulling fs layer
f0fe55e0f617: Waiting
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
3a91ffcf88ea: Verifying Checksum
ee82cc8e1506: Verifying Checksum
ee82cc8e1506: Download complete
f0fe55e0f617: Verifying Checksum
f0fe55e0f617: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
f0fe55e0f617: Pull complete
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4189034118764985145.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2734798551339416419.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
da6fafdc8b3e: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6904985528985135463.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins100200573756303082.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, py, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f088510e8d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 6.64 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #298

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/298/display/redirect>

------------------------------------------
[...truncated 27.49 KB...]
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins6475740371553592137.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
f0fe55e0f617: Pulling fs layer
f0fe55e0f617: Waiting
ee82cc8e1506: Waiting
ce39fa9d79d1: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
ee82cc8e1506: Verifying Checksum
ee82cc8e1506: Download complete
f0fe55e0f617: Verifying Checksum
f0fe55e0f617: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
f0fe55e0f617: Pull complete
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2507712548597904460.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1817499658412083382.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3578795011716673374.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins826702989962190338.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, py, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff7e76fc510>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.22 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #297

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/297/display/redirect>

------------------------------------------
[...truncated 37.09 KB...]
deleted: sha256:e6c50b34d9a122945d6e168bacafe7f2f79d721b58b45f4c66ef280bde0b9601
deleted: sha256:5b196628cc699c28c852c212546583a378cba347b54695b1d91fabcfecbc6ed0
deleted: sha256:0c7646d8a30a9e5f08cd0d705dacc6f072a56ad65b919c340a116cd736230213
deleted: sha256:74cd233f5b992e7bc8d863e5109300bab7c6956181e47e882f52224084dc989f
deleted: sha256:9fe657885163e0542b1064a339b26e451b9474d75a78711d47bc7da1a994ef31
deleted: sha256:e8548e6ac60072df35f8d4d0e37afe220955b46d4e98e251abc91816f03051ee
deleted: sha256:710d07f53350038628d2dc020c3e1f255b829de6e9f643fbc8f952d0e43ee714
deleted: sha256:42ffb894835d57afc2b7e58bacef2d60f4d846e63f6758879080a70358f10556
deleted: sha256:fd014f9735a2bd1b3957042936a9a7bba23a9057a539ae45d95ddce0fa6f1613
deleted: sha256:359e56773773a90aeff63d70b982d91f8207196cff16cfbacb057ce293d11fd9
deleted: sha256:9acffd9c8a9b97de85fc4dcd21afe69cf66655542e205b69ec793a5b27ee963c
deleted: sha256:e0156e74167c19223309ab901b31e7c1b0463e50da89d4f774c3cdfc36ac8735
deleted: sha256:2ec44c46ed1b7004474344cc69ef82fb9a52bfef29d109a1b8d6aa150ccb1ebc
deleted: sha256:e322ca3efd98ed989a898426e000d0e77d5c2e4f1d3fcf73fe01b84ddb220419
deleted: sha256:b804fdb36b206f762339eaf2f9d3348250f20927375f678060640a09057a01e7

Total reclaimed space: 5.92GB
+ docker network prune -f --filter until=12h
+ echo 65267
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4412256916630044568.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2847050992025682146.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1040741033635234396.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8848351283588481823.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8381336623186835488.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f1814f048d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.78 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #296

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/296/display/redirect>

------------------------------------------
[...truncated 38.26 KB...]
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins3281861861756142066.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Pulling fs layer
ed3d96a2798e: Pulling fs layer
f12136850781: Pulling fs layer
1a9ad5d5550b: Pulling fs layer
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
f0fe55e0f617: Pulling fs layer
1a9ad5d5550b: Waiting
3a91ffcf88ea: Waiting
f0fe55e0f617: Waiting
ee82cc8e1506: Waiting
6f18049a0455: Waiting
ce39fa9d79d1: Waiting
ed3d96a2798e: Verifying Checksum
ed3d96a2798e: Download complete
f12136850781: Verifying Checksum
f12136850781: Download complete
5ae19949497e: Download complete
1a9ad5d5550b: Verifying Checksum
1a9ad5d5550b: Download complete
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
ee82cc8e1506: Verifying Checksum
ee82cc8e1506: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
f0fe55e0f617: Verifying Checksum
f0fe55e0f617: Download complete
5ae19949497e: Pull complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
ed3d96a2798e: Pull complete
f12136850781: Pull complete
1a9ad5d5550b: Pull complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
f0fe55e0f617: Pull complete
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7457130063813296405.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4234033367195860145.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3643332863330417386.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4809884696614946641.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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/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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f775e4158d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.92 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #295

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/295/display/redirect>

------------------------------------------
[...truncated 30.79 KB...]
WARNING: No swap limit support
WARNING: the aufs storage-driver is deprecated, and will be removed in a future release.
+ docker system prune -f
Deleted Containers:
cd4017d3450fc1f0d2393e22d6cfbfa5da598f2106c81cbc87c1ea3c1e5c7c2e
7706125caa346dce10db1e66508d8c6ca5d7935aa59b921ad3ea815c396ed5bd

Deleted Networks:
testnetwork_b71515b4-3627-42e7-ba61-aac9ea30bab4
testnetwork_e52b4073-ac89-4eaa-bcbd-a66257d4bb8e
testnetwork_5dff3860-0c7b-4f76-a53e-e24200eb3a49
testnetwork_3ca822c7-b0f1-494b-a2a0-a5eefac99f93
testnetwork_d3efec07-db10-4446-a5f2-28281ba22923
testnetwork_937f8c52-a2e7-4000-8ff9-8993dd96f42c
testnetwork_0fdc0861-bc0f-4660-a642-58832508ba84
testnetwork_bf0e90bd-7fcf-4160-a02e-cb3de4b5368f

Total reclaimed space: 12.54MB
+ docker network prune -f --filter until=12h
+ echo 23215
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
0c79b341c8ed: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2948162237153465512.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2232812692519924725.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5178181301358855060.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4717381398342840007.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2983682138840192233.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9790fb5f10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.96 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #294

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/294/display/redirect>

------------------------------------------
[...truncated 29.28 KB...]
deleted: sha256:682aa725fde1865da4d4fb36800660db0e1883e95fbfbd9407b0a07163133973
deleted: sha256:edf8a639b4150f6ed1d3088d0332a80ca1c24688fcb7012f730d00adeb4d0d60
deleted: sha256:ed07a6ee6272ee8d2e54e2d020722a0d7be5389902f7388ae30b62f780152e2b
deleted: sha256:ae85657f84bccfcb4f614b359144c3864157d2feabda4c865012af2c9ac02871
deleted: sha256:792666c709fcfa2dcf00b2893dfc1b9e994ed5a3040e8bc618d4b9659a431a7a
deleted: sha256:2b06310d4be7a313880d16c899e425153d391363a3aaa77c3aac2a45cfa7dd61
deleted: sha256:43bd811dee2477f373cb0b3ccf98f81d85b3a62b8c82979ad9cc439a905cb45e
deleted: sha256:3fd45cfa4116b60c5554519cef120ca29bdba8f9713ddd80c6c25102f74ef5f2
deleted: sha256:a9a688075f1d4ecc78e39a9be937f389c7c385a963250ae6c79447ea2646974f
deleted: sha256:6ec313658661d344ee01ff8289071f3bcb6255ca276755ecf65871af49099ea5
deleted: sha256:00dfa432444b90e747b85e6370a0fd1fe7e53015fa95b9d25d482903088fa746
deleted: sha256:39c732ba95e6914c6bbd518f705dd4813a8ac6f02020995a191cd75d53ef1897
deleted: sha256:4a2ebf63bc8e809070f25cc60ce8f50abee068997db22e7f2e93f0a51153bd6a
deleted: sha256:2c0f4b8f5a5a1a648f9fecf0284da1389cc55d78e9c41be51132056e73adcb39
deleted: sha256:63820a7dd5b2d0d7de5d66ebfb800b7abfe8df9e652921fdce873678f8c27671
deleted: sha256:b73bf4a0da6e1f56f90f2bc03ce42cc339837729c2ab3b1bb848067c20f13375
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 1.7GB
+ docker network prune -f --filter until=12h
+ echo 61074
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins8580612221970706863.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Image is up to date for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6010931631849427327.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3245280491624415209.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3909871592624073873.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
26bb094a8db8: Verifying Checksum
26bb094a8db8: Download complete
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4470160417094741787.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f2e9b74ef90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.10 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #293

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/293/display/redirect>

------------------------------------------
[...truncated 34.76 KB...]
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Download complete
973721b7fcb1: Download complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4555748286672929094.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Pulling fs layer
ed3d96a2798e: Pulling fs layer
f12136850781: Pulling fs layer
1a9ad5d5550b: Pulling fs layer
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
f0fe55e0f617: Pulling fs layer
ce39fa9d79d1: Waiting
3a91ffcf88ea: Waiting
ee82cc8e1506: Waiting
f0fe55e0f617: Waiting
1a9ad5d5550b: Waiting
6f18049a0455: Waiting
ed3d96a2798e: Verifying Checksum
ed3d96a2798e: Download complete
f12136850781: Verifying Checksum
f12136850781: Download complete
5ae19949497e: Verifying Checksum
5ae19949497e: Download complete
1a9ad5d5550b: Verifying Checksum
1a9ad5d5550b: Download complete
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
ee82cc8e1506: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
f0fe55e0f617: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
5ae19949497e: Pull complete
ed3d96a2798e: Pull complete
f12136850781: Pull complete
1a9ad5d5550b: Pull complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
f0fe55e0f617: Pull complete
Digest: sha256:6eaf19442c358afc24834a6b17a3728a45c129de7703d8583392a138ecbdb092
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3678230297324131051.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
e236f0a1bf43: Pulling fs layer
e236f0a1bf43: Waiting
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
e236f0a1bf43: Verifying Checksum
e236f0a1bf43: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
e236f0a1bf43: Pull complete
Digest: sha256:25a189a536ae4d7c77dd5d0929da73057b85555d6b6f8a66bfbcc1a7a7de094b
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3166508800494318888.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
a6fb723ae44c: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
9e89e2e794a3: Download complete
a6fb723ae44c: Verifying Checksum
a6fb723ae44c: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
a6fb723ae44c: Pull complete
Digest: sha256:4598d4365bb7a8628ba840f87406323e699c4da01ae6f926ff33787c63230779
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7305965471995082628.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
26bb094a8db8: Pulling fs layer
d7d14a785fe2: Pulling fs layer
d7d14a785fe2: Waiting
26bb094a8db8: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d7d14a785fe2: Verifying Checksum
d7d14a785fe2: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
26bb094a8db8: Pull complete
d7d14a785fe2: Pull complete
Digest: sha256:d2aaba463a323836d5ad168c1180f22a4351f0f1c732f40d308d8772a39c1be1
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5118516236881648797.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, colorlog, py, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff605689f90>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.48 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #292

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/292/display/redirect?page=changes>

Changes:

[github] Upgrade to latest Maven version 3.6.1

[eolivelli] Issue #2127: Allow user override default SASL service name bookkeeper

[guosijie] Make default Bookie scripts work on JDK11+

[guosijie] Remove redundant array creation

------------------------------------------
[...truncated 31.51 KB...]
deleted: sha256:2e9e61b43c252bf5a3a975b73657f5a9a885b3895a99f3e595b9cf6f8cd9e27f
deleted: sha256:47c74ffa3226fdea1e7c4dd26c08aed18e011362ede35a16cdaab6cd481b4d3e
deleted: sha256:720569c63552894502c23cda1f3c4ce772e7524ae77f3c3ac22827ccd61269ff
deleted: sha256:2ebb5c23d76c78d65fd8d8113634d960bf014467f7ca11356f5d888652fb6e81
deleted: sha256:54e0817d0645ad42a44326f9b5b9e13c7b0b2d7b62149d72500d1c353c8bbbeb
deleted: sha256:e33b303968ee065c60d6b95959dbd9f37b79872d615fcd494576a2dcdce66586
deleted: sha256:af27956a264154a7d407c74a3672a3a1b19144f6b22a43a243f28b9f8f93426b
deleted: sha256:6f1be23eca30f8e4395caeac06bad7cc70066d2c6f65171d0337bfb5aeade343
deleted: sha256:b6906de3f0a18be9786de38635c0626b194557b159ce4c229291429e48fb8fef
deleted: sha256:a063ce4e3042e556618122272f84d42b2e87682a9b814c6bc3375ffbd2b5cde3
deleted: sha256:f73f78b5f8066e7a41ba10e44429ec32c77288455f97f657c59e3e45f4f715fe
deleted: sha256:9f38484d220fa527b1fb19747638497179500a1bed8bf0498eb788229229e6e1
deleted: sha256:d69483a6face4499acb974449d1303591fcbb5cdce5420f36f8a6607bda11854

Total reclaimed space: 2.78GB
+ docker network prune -f --filter until=12h
+ echo 26562
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5010095495198265845.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1109203803898441118.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3279740701564527379.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3414314084227871256.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4803081691740223093.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
WARNING: You are using pip version 19.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f0f6095fa10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.23 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #291

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/291/display/redirect?page=changes>

Changes:

[github] Make build pass on JDK11, fix javadoc configuration

[eolivelli] Issue #2130 : Fix for broken URLs

------------------------------------------
[...truncated 36.32 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins143606135951277388.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Pulling fs layer
ed3d96a2798e: Pulling fs layer
f12136850781: Pulling fs layer
1a9ad5d5550b: Pulling fs layer
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
bf0dbf90a115: Pulling fs layer
6f18049a0455: Waiting
bf0dbf90a115: Waiting
ee82cc8e1506: Waiting
1a9ad5d5550b: Waiting
ce39fa9d79d1: Waiting
3a91ffcf88ea: Waiting
ed3d96a2798e: Verifying Checksum
ed3d96a2798e: Download complete
f12136850781: Verifying Checksum
f12136850781: Download complete
5ae19949497e: Verifying Checksum
5ae19949497e: Download complete
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
1a9ad5d5550b: Verifying Checksum
1a9ad5d5550b: Download complete
ee82cc8e1506: Verifying Checksum
ee82cc8e1506: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
bf0dbf90a115: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
5ae19949497e: Pull complete
ed3d96a2798e: Pull complete
f12136850781: Pull complete
1a9ad5d5550b: Pull complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
bf0dbf90a115: Pull complete
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8201976163372787345.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins736205147196821762.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5927968985322751917.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Download complete
536c9e631831: Verifying Checksum
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8220219508038974470.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
WARNING: You are using pip version 19.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f5aa2180850>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.61 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #290

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/290/display/redirect>

------------------------------------------
[...truncated 59.19 KB...]
deleted: sha256:e29d4932dbaa9e0b3827e7d21b9672cfd1cc861b4990a753eacaf11997a2e0f2
deleted: sha256:fd5fae6e9f955ee2e3c897729f6e59f692e009591ce8e9a2caa97a81fd1151b5
deleted: sha256:ec31fbb708daf9bc5475def6ac5f61b91b04be250db745783cde8f88e2e8796d
deleted: sha256:fb4ed45221ef0366f3ed4ad5b78f56e0549d127b84b1c0a942bff225a1f42242
deleted: sha256:5f079f1104332ee2a3d14dc0e61f4e2410abdd1c8d89b117e573eb6393b2697e
deleted: sha256:8f14c8584b4246bdb662b04b1429847125e4de8cdf30e89751bb2aeaf6be1716
deleted: sha256:dfe0bba41f723424dacdfdb817db2a22ac5376be0e7b70e793ade755d36ffc32
deleted: sha256:34386f033d786e17539563d184c3e3c4c6393cc502288b1a4f91e43bf5c703f1
deleted: sha256:aac125dbb27cb23108ba337e53987bb708657dbad33add1ebbd867a74685c730
deleted: sha256:0eb1f3a44bdc007a50a9ed8a0d22c14ec65b20b4112b3d1bbe92d7bedd0251d5
deleted: sha256:9e70c05370e6999906953f4b44ed9027a49e13c4f684fe46270deb010d2cdef7
deleted: sha256:b22eaf216bea7da1ce63ddc2b5c37a25abcfe1d70e1da0c987f328b561f91e85
deleted: sha256:d08c3f3fc9216da03cc960374ec12e36c09769c823ce801c0cfa82df7b44b6c6
deleted: sha256:a656dca4653de3d3d05c89750fad148f4373ae87afe4cd2739f400465cfedde6
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 5.627GB
+ docker network prune -f --filter until=12h
+ echo 3530
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
bdf0201b3a05: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5675298392515660571.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8041400043606837494.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8138724130395155450.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7870660648180268475.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Download complete
536c9e631831: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4543744303912704783.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
WARNING: You are using pip version 19.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f9aee2c6850>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 6.02 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #289

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/289/display/redirect>

------------------------------------------
[...truncated 21.60 KB...]
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
1b304faacdc3: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5672508611517410246.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
bf0dbf90a115: Pulling fs layer
bf0dbf90a115: Waiting
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
ee82cc8e1506: Download complete
bf0dbf90a115: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
bf0dbf90a115: Pull complete
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2674614516340458480.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins103678796290561238.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
37f879cc65bb: Download complete
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4033989801329239263.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7184608233447098265.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/db/9e/df208b2baad146fe3fbe750eacadd6e49bcf2f2c3c1117b7192a7b28aec4/virtualenv-16.7.2-py2.py3-none-any.whl (3.3MB)
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 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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.2
WARNING: You are using pip version 19.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f00d3f748d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.03 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #288

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/288/display/redirect>

------------------------------------------
[...truncated 25.83 KB...]
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins2811204276777769684.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Pulling fs layer
ed3d96a2798e: Pulling fs layer
f12136850781: Pulling fs layer
1a9ad5d5550b: Pulling fs layer
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
1a9ad5d5550b: Waiting
ee82cc8e1506: Pulling fs layer
bf0dbf90a115: Pulling fs layer
6f18049a0455: Waiting
ce39fa9d79d1: Waiting
ee82cc8e1506: Waiting
3a91ffcf88ea: Waiting
bf0dbf90a115: Waiting
ed3d96a2798e: Verifying Checksum
ed3d96a2798e: Download complete
f12136850781: Verifying Checksum
f12136850781: Download complete
5ae19949497e: Verifying Checksum
5ae19949497e: Download complete
1a9ad5d5550b: Verifying Checksum
1a9ad5d5550b: Download complete
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
ee82cc8e1506: Verifying Checksum
ee82cc8e1506: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
bf0dbf90a115: Verifying Checksum
bf0dbf90a115: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
5ae19949497e: Pull complete
ed3d96a2798e: Pull complete
f12136850781: Pull complete
1a9ad5d5550b: Pull complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
bf0dbf90a115: Pull complete
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6816323220298141939.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4481983745042461746.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4844878244257926102.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins391383995936243994.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/4d/db/acb67ef8acd1a7c54884eaeb0b60b612c6cc6cce4b3d1bae091b0793e692/virtualenv-16.7.1-py2.py3-none-any.whl (3.3MB)
Installing collected packages: py, colorlog, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.1
WARNING: You are using pip version 19.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fa3c93c98d0>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.97 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #287

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/287/display/redirect>

------------------------------------------
[...truncated 41.53 KB...]
deleted: sha256:d1c2ab6ab4ee25f44f83b8451b75c6e66780fa544e3d0c48a82e32c88322ebad
deleted: sha256:510b2853be5be22c3a165d10156382956fc06321916015986a4faf3b8f20ebf0
deleted: sha256:dfc0ce9f9ba463db02cb03caf7f1c2c86be13919c07f033c6fb64e30ad71e061
deleted: sha256:7a3d9ca07e1ac0e3a3c11db93fb6c7e134bcc69fc6af643191d5f967fec2760c
deleted: sha256:16d8072ca9a182c4216ec032612e0c852d006cae9e567257f2e7dc97196b77e4
deleted: sha256:1b78d0430b036d15abb9892fde9760496d5944f5019323a232163987c1cdfda8
deleted: sha256:6493f27040acd649dbfad85a723427ba25cf77e1c3f124eb15b6d6fe53dd4960
deleted: sha256:05bbcc6643505108a8c54ab863d96c08c003137ece838c9de6f41918cbc2c31b
deleted: sha256:aeded3e18eed6b62df8394656c364d123048a70bfa048d68a041a36fec185b04
deleted: sha256:d1e3d3e4b7bf7dff86022ba0dcf079b91078145faad92f47476c2a236466a393
deleted: sha256:4b49fc989bdf9d293302669694c86da5e5035bc459bd58867f54677501abcf0e
deleted: sha256:26a2d4e476978d7c7062a89d504dbb2d6e961d72d5d436d28fda1d2d163a48b0
deleted: sha256:a911a3c6971bb4e0f7e831241722cd8b5cdf04ce9b50e8cd64a38ff657dc7148
deleted: sha256:8a6daa670d7572583024615238722625eeb81fd5430ee0d39ee9f8f04c7dfb4e

Total reclaimed space: 5.687GB
+ docker network prune -f --filter until=12h
+ echo 48805
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins4625365175390694826.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3239139500230364815.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4535660665581194410.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5721967346826081148.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3632823167558360034.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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 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/45/b3/8b25c258dbeb3310b1f04281553665c83cd89275f63ff1702a60e2120927/virtualenv-16.7.0-py2.py3-none-any.whl (3.3MB)
Installing collected packages: colorlog, py, virtualenv, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.7.0
WARNING: You are using pip version 19.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7f017d0bd850>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.00 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #286

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/286/display/redirect>

------------------------------------------
[...truncated 148.82 KB...]
deleted: sha256:0c08d7f0bd12bfea5c2642fbfd74138b457ebd0309e12a43a03b4f38cc17cdfe
deleted: sha256:b443d861a7126bc53d8aacac21b2de63a345b8cb722351567c0dce6b61ab96f3
deleted: sha256:7decad71643c8147f92720713a0c18d5d6e165814e415b0841ee0d1ce5e0f18e
deleted: sha256:3c9ef86e17dbf39b00d83abd6cea90d5b4d65bc5f460fc2c3646ab36e684abb5
deleted: sha256:95c45b238b70765d5691f79c1733cd77b6e027f2910813f252156dc8441b59b3
deleted: sha256:bcb4ad0785ca07af035d2f34bc38f70131d18619175616f9a0dea89b5427d5ca
deleted: sha256:aab19d2124aabd24834b06208a889b568efd630cb90fd765f29e2e83911d7367
deleted: sha256:1b2b0f21d78d2505fcc753be69ae9fb74e42a3bebe78dadc28024bf86cb4e97b
deleted: sha256:500cb748addb56255d3e6d5574d8337abed127628db62acfa6c8ba6243779e7d
deleted: sha256:162c1d28f0ada7746ee2ff3b41718ad2013338212a0ca092070fff12c13e552b
deleted: sha256:ae55b1c0b8d3927aa03d298dfe60fe20b9c9345c74ba715b4c2a8060c863e7e2
deleted: sha256:3b1af8cdc3ed8f1c95ed0b29cf33c41d6c48eb38ce3d3a7674ec87c5ea009d28
deleted: sha256:815d347344222229c53d703489339e2612b9208c759de8507a0bad62821b10b2
deleted: sha256:db8ee88ad75f6bdc74663f4992a185e2722fa29573abcc1a19186cc5ec09dceb
deleted: sha256:0d315111b4847e8cd50514ca19657d1e8d827f4e128d172ce8b2f76a04f3faea

Total reclaimed space: 5.629GB
+ docker network prune -f --filter until=12h
+ echo 7225
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
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/jenkins5495972513151279385.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
docker.io/library/python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8658448873721208563.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
3708aa655c90: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
docker.io/library/python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8848943886987391225.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
docker.io/library/python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8817886778422549742.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
docker.io/library/python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3377836064853352272.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/eb/9f/33373d471bb9337c8db86b763052964c42f5079ea0de9517bc88acfbad26/virtualenv-16.6.2-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)
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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.6.2
WARNING: You are using pip version 19.1.1, however version 19.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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/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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fe5e50ebc10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 4.09 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #285

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/285/display/redirect?page=changes>

Changes:

[github] Implementation of new scrutiny - replicas check (Part-1)

------------------------------------------
[...truncated 30.22 KB...]
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
bdf0201b3a05: Pull complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
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/jenkins3932046562941660941.sh
+ docker pull python:3.7
3.7: Pulling from library/python
5ae19949497e: Pulling fs layer
ed3d96a2798e: Pulling fs layer
f12136850781: Pulling fs layer
1a9ad5d5550b: Pulling fs layer
6f18049a0455: Pulling fs layer
ce39fa9d79d1: Pulling fs layer
3a91ffcf88ea: Pulling fs layer
ee82cc8e1506: Pulling fs layer
bf0dbf90a115: Pulling fs layer
1a9ad5d5550b: Waiting
6f18049a0455: Waiting
ce39fa9d79d1: Waiting
bf0dbf90a115: Waiting
3a91ffcf88ea: Waiting
ee82cc8e1506: Waiting
ed3d96a2798e: Verifying Checksum
f12136850781: Verifying Checksum
f12136850781: Download complete
5ae19949497e: Verifying Checksum
5ae19949497e: Download complete
ce39fa9d79d1: Verifying Checksum
ce39fa9d79d1: Download complete
1a9ad5d5550b: Verifying Checksum
1a9ad5d5550b: Download complete
ee82cc8e1506: Download complete
3a91ffcf88ea: Verifying Checksum
3a91ffcf88ea: Download complete
bf0dbf90a115: Download complete
6f18049a0455: Verifying Checksum
6f18049a0455: Download complete
5ae19949497e: Pull complete
ed3d96a2798e: Pull complete
f12136850781: Pull complete
1a9ad5d5550b: Pull complete
6f18049a0455: Pull complete
ce39fa9d79d1: Pull complete
3a91ffcf88ea: Pull complete
ee82cc8e1506: Pull complete
bf0dbf90a115: Pull complete
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins383329797588812053.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
3708aa655c90: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1641299669530659952.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5784652815290052009.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4853394958632365233.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-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/eb/9f/33373d471bb9337c8db86b763052964c42f5079ea0de9517bc88acfbad26/virtualenv-16.6.2-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-2019.5.30 py-1.8.0 virtualenv-16.6.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7ff88ccf6c10>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.44 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #284

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/284/display/redirect?page=changes>

Changes:

[guosijie] Issue #2124: Test 'ListBookiesCommand ' is failing

------------------------------------------
[...truncated 28.09 KB...]
OSType: linux
Architecture: x86_64
CPUs: 24
Total Memory: 94.38GiB
Name: asf937.gq1.ygridcore.net
ID: ENLG:WKJW:NBYJ:YBQB:VOZ6:LWAZ:MF2N:LYGR:YQUT:EYVH:BPRM:ED26
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: mesosdockerbot
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

WARNING: No swap limit support
+ docker system prune -f
Deleted Containers:
0b9c33631edbbb010485d00716f1c5953010e8c846e36994e76f4d334be9cca1

Total reclaimed space: 18.87MB
+ docker network prune -f --filter until=12h
+ echo 46984
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
5c94f9cbba07: Waiting
1b304faacdc3: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
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/jenkins8158055371995867510.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Image is up to date for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2932103155511681954.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6498108483090617481.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
37f879cc65bb: Download complete
da6fafdc8b3e: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6808237814348615612.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
d03d3d7b603d: Waiting
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Verifying Checksum
900d7861659d: Download complete
536c9e631831: Verifying Checksum
536c9e631831: Download complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
900d7861659d: Pull complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5324781976293612397.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/eb/9f/33373d471bb9337c8db86b763052964c42f5079ea0de9517bc88acfbad26/virtualenv-16.6.2-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)
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: virtualenv, py, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.6.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fd1feb89c50>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.82 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com

Build failed in Jenkins: bookkeeper_postcommit_master_python #283

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/283/display/redirect?page=changes>

Changes:

[eolivelli] [CI] Prune networks older than 12h

[guosijie] Fix log statements with incorrect placeholders

[guosijie] Use bulk operation instead of iteration

------------------------------------------
[...truncated 36.16 KB...]
deleted: sha256:be0d35170624730ef616fb86666cee930f2365c82f10a4694515f19e8391b466
deleted: sha256:431dbbdad62872b1e226b48c3de01ea93eb0ba889fe281e691f286074e7e0da9
deleted: sha256:1b38b9db79f653ffcb6f722248989f15dd9ea69112dde483466fba9cb0b423b4
deleted: sha256:6000356bd2fcbda743cc7486915fbbf1ae6ae624d722005c56761ef742b296a2
deleted: sha256:e95b7c3c59b334472ce343f41d20a935eb5ca8a31194a91bf3bff10c6782b709
deleted: sha256:94979012eaf6c23298fba44e7e418a5c61311f61e34a083c87b47fc795533dbb
deleted: sha256:d55718f05f3b933c71aeeb752a1e92030bc2b7a122d110d52e70518cde3ffc18
deleted: sha256:b7c5bb523b0f96bbc86a99a8c3f1b65b4e46df992fdd14d74c9a4ea980c98779
deleted: sha256:3aaba5f151aceff175901ae7e39c66779f70d99ebdf359321d684bdb5494c8fe
deleted: sha256:bd28b3a498b46f2963a83f7217bdfca098f7ed536b2ecc28bb87326b418222bd
deleted: sha256:228688944242e360d510cb42475b25fcf3221745acc9e4eb932272e39edce569
deleted: sha256:69e5d22dca43e68ec088c99f5653bd3d2a6190380ed8d8d47990d2906055e9cc
deleted: sha256:16809685d9a95c72ad213309248cc2683c119dff3668077dd554894a1c990751
deleted: sha256:a9a30bd4c25d12ac08353ba5ac392cc1236f86532a1c5287ede30c51cb2071fb
deleted: sha256:ce00fa248937b6e35ee7b0eb302ce45bc282b83e7192c14db3064f10a1a1e67e
deleted: sha256:525d857192dc8780f15f595a18f769d1fc9d935e464fd52677ff555a9f5c6761
deleted: sha256:c4136b4c0b72d3bff4a34235e3b5cea5d37cb583548850127e4ce45f2812c105
deleted: sha256:80613ff86409d0cff1ec4a65f33e599f51db715fa278b1f27a2725cdc7d383ab
deleted: sha256:f443907e1e081aeabdfd6b9d14c424d7f659a4f7f1a2d61bf0f06afd330118dd
deleted: sha256:79e38f28dbb7a2a8d3ff2a9cfebe0f15dc9cde6aebde5dc8ad3b2799929009d0
deleted: sha256:e5eb86ce093ffd1479ea2eb535fe713ca47bf50a42263f234675207a3a1fa066

Total reclaimed space: 5.767GB
+ docker network prune -f --filter until=12h
+ echo 53859
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
bdf0201b3a05: Pulling fs layer
ab017ee82de8: Pulling fs layer
973721b7fcb1: Pulling fs layer
0c79b341c8ed: Pulling fs layer
1b304faacdc3: Pulling fs layer
5c94f9cbba07: Pulling fs layer
1b304faacdc3: Waiting
0c79b341c8ed: Waiting
5c94f9cbba07: Waiting
973721b7fcb1: Verifying Checksum
973721b7fcb1: Download complete
ab017ee82de8: Verifying Checksum
ab017ee82de8: Download complete
bdf0201b3a05: Verifying Checksum
bdf0201b3a05: Download complete
1b304faacdc3: Verifying Checksum
1b304faacdc3: Download complete
0c79b341c8ed: Verifying Checksum
0c79b341c8ed: Download complete
5c94f9cbba07: Verifying Checksum
5c94f9cbba07: Download complete
bdf0201b3a05: Pull complete
ab017ee82de8: Pull complete
973721b7fcb1: Pull complete
0c79b341c8ed: Pull complete
1b304faacdc3: Pull complete
5c94f9cbba07: Pull complete
Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411
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/jenkins3544515433372470802.sh
+ docker pull python:3.7
3.7: Pulling from library/python
Digest: sha256:d8718f4c8f28360c88d2d8b53681edb3c95e6a7bacedabd32eb5b1d120a75dc5
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5209900378771063142.sh
+ docker pull python:3.6
3.6: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Pulling fs layer
c099d5e9ac68: Pulling fs layer
e86f40888bb4: Pulling fs layer
3708aa655c90: Pulling fs layer
3708aa655c90: Waiting
e86f40888bb4: Verifying Checksum
e86f40888bb4: Download complete
8daf83b35d32: Verifying Checksum
8daf83b35d32: Download complete
c099d5e9ac68: Verifying Checksum
c099d5e9ac68: Download complete
3708aa655c90: Verifying Checksum
3708aa655c90: Download complete
8daf83b35d32: Pull complete
c099d5e9ac68: Pull complete
e86f40888bb4: Pull complete
3708aa655c90: Pull complete
Digest: sha256:715c905479b18933f54c92feb247d6ed64509c6adc9b64989fc041d597ed94b4
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6543662012013338776.sh
+ docker pull python:3.5
3.5: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
8daf83b35d32: Already exists
9e89e2e794a3: Pulling fs layer
da6fafdc8b3e: Pulling fs layer
37f879cc65bb: Pulling fs layer
da6fafdc8b3e: Verifying Checksum
da6fafdc8b3e: Download complete
37f879cc65bb: Verifying Checksum
37f879cc65bb: Download complete
9e89e2e794a3: Verifying Checksum
9e89e2e794a3: Download complete
9e89e2e794a3: Pull complete
da6fafdc8b3e: Pull complete
37f879cc65bb: Pull complete
Digest: sha256:332137f3f4ca6afd968fe0434a8b3f662e21023aa378ec3b9609762275802f99
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7747944601138159591.sh
+ docker pull python:2.7
2.7: Pulling from library/python
5ae19949497e: Already exists
ed3d96a2798e: Already exists
f12136850781: Already exists
1a9ad5d5550b: Already exists
6f18049a0455: Already exists
900d7861659d: Pulling fs layer
536c9e631831: Pulling fs layer
cb522be31b83: Pulling fs layer
d03d3d7b603d: Pulling fs layer
900d7861659d: Download complete
536c9e631831: Download complete
cb522be31b83: Verifying Checksum
cb522be31b83: Download complete
900d7861659d: Pull complete
d03d3d7b603d: Verifying Checksum
d03d3d7b603d: Download complete
536c9e631831: Pull complete
cb522be31b83: Pull complete
d03d3d7b603d: Pull complete
Digest: sha256:7a61a96567a2b2ba5db636c83ffa18db584da4024fa5839665e330934cb6b2b2
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins897935278820825046.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/63/5c/c1f3c83bc3532cb99f2c513dfa69d6dd593f783054d12b220f64bf3bd00d/nox-2019.5.30-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox)
  Downloading https://files.pythonhosted.org/packages/eb/9f/33373d471bb9337c8db86b763052964c42f5079ea0de9517bc88acfbad26/virtualenv-16.6.2-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
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: virtualenv, colorlog, py, nox
Successfully installed colorlog-3.2.0 nox-2019.5.30 py-1.8.0 virtualenv-16.6.2
Running session lint
Creating virtualenv using python in .nox/lint
pip install flake8
pip install .
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 .nox/lint_setup_py
pip install 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.
Running session unit-3.7
Creating virtualenv using python3.7 in .nox/unit-3-7
pip install mock pytest pytest-cov
pip install -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit
...................................................................F     [100%]
=================================== FAILURES ===================================
____________________________ test_get_routing_hash _____________________________

    def test_get_routing_hash():
        router = BytesHashRouter()
>       hash_key = router.getRoutingKey("foo")

tests/unit/bookkeeper/common/router/test_router.py:18: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7fb162862490>
key = 'foo'

    def getRoutingKey(self, key):
>       return mmh3.hash64(key, seed=__SEED__, signed=True)[0]
E       TypeError: hash64() got an unexpected keyword argument 'signed'

bookkeeper/common/router/router.py:30: TypeError
=============================== 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

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):

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: 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, message.Message))):

-- Docs: https://docs.pytest.org/en/latest/warnings.html


1 failed, 67 passed, 3 warnings in 3.84 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1
Session unit-3.7 failed.
Ran multiple sessions:
* lint: failed
* lint_setup_py: success
* unit-3.7: failed
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user guosijie@gmail.com
Not sending mail to unregistered user noreply@github.com
Not sending mail to unregistered user reddycharan18@gmail.com