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

Changes:

[github] [PYTHON] Fix python client version

------------------------------------------
[...truncated 23.10 KB...]
jenkins  19386 19379 19386 00:13:01  0.0  0.0 bash -c cd 
"/home/jenkins/jenkins-slave" && /home/jenkins/tools/java/jdk1.8.0_131/bin/java 
-Xmx8g -Xms1g -XX:MaxPermSize=512m -jar remoting.jar -workDir 
/home/jenkins/jenkins-slave
jenkins  19387 19386 19386 00:13:01  2.9  2.9 
/home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g 
-XX:MaxPermSize=512m -jar remoting.jar -workDir /home/jenkins/jenkins-slave
root     20079     2     0 12:27:49  0.0  0.0 [kworker/u66:1]
jenkins  20204     1  1697   Nov 16  0.0  0.0 
/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 
-javaagent:build/tmp/expandedArchives/org.jacoco.agent-0.8.2.jar_56a88f9ce507637adfc797f83ef298ef/jacocoagent.jar=destfile=build/jacoco/integrationTest.exec,append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false
 -Xms256m -Xmx2048m -Dfile.encoding=ISO-8859-1 -Duser.country=US 
-Duser.language=en -Duser.variant -ea -cp 
/home/jenkins/.gradle/caches/4.10.2/workerMain/gradle-worker.jar 
worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test 
Executor 34'
root     20853     2     0   Dec 10  0.0  0.0 [bioset]
root     20900     2     0 04:24:55  0.0  0.0 [kworker/8:1]
root     21083     2     0   Dec 10  0.0  0.0 [bioset]
jenkins  21160 19387 19386 12:31:12  0.0  0.0 /bin/bash -xe 
/tmp/jenkins1565124928254566901.sh
jenkins  21162 21160 19386 12:31:12  0.0  0.0 bash 
.test-infra/scripts/pre-docker-tests.sh
jenkins  21165 21162 19386 12:31:12  0.0  0.0 ps -eo 
euser,pid,ppid,pgid,start,pcpu,pmem,cmd
root     21919     1 21919   Feb 19  0.0  0.0 /lib/systemd/systemd-udevd
root     22240     1 22240   Oct 24  0.0  0.0 /lib/systemd/systemd-logind
ntp      22372     1 22372   Oct 24  0.0  0.0 /usr/sbin/ntpd -p 
/var/run/ntpd.pid -g -u 113:120
root     22509     2     0   Oct 31  0.0  0.0 [loop2]
root     23375     2     0   Oct 24  0.0  0.0 [kworker/23:1H]
root     23483     2     0 22:27:22  0.0  0.0 [kworker/13:2]
root     24585     2     0 04:42:36  0.0  0.0 [kworker/5:2]
root     24624     2     0 00:21:50  0.0  0.0 [kworker/u64:2]
root     24699     2     0 19:28:05  0.0  0.0 [kworker/18:3]
root     25978     2     0   Feb 27  0.0  0.0 [kworker/17:0]
root     26166     2     0   Dec 19  0.0  0.0 [loop6]
root     26813     2     0   Dec 20  0.0  0.0 [dio/sda3]
root     27135     2     0   Dec 19  0.0  0.0 [bioset]
root     27272     2     0 19:35:47  0.0  0.0 [loop13]
root     27312     2     0 19:35:48  0.0  0.0 [bioset]
root     27314     2     0 19:35:48  0.0  0.0 [loop14]
nslcd    27537     1 27536   Oct 24  0.0  0.0 /usr/sbin/nslcd
root     27557     2     0   Oct 24  0.0  0.0 [kworker/12:1H]
root     28120     2     0 06:25:45  0.0  0.0 [kworker/3:2]
root     28127     2     0   Nov 20  0.0  0.0 [loop4]
postfix  28621  3066  3066   Feb 21  0.0  0.0 tlsmgr -l -t unix -u
snmp     29374     1 29373   Oct 24  0.0  0.0 /usr/sbin/snmpd -Lsd -Lf 
/dev/null -u snmp -g snmp -p /var/run/snmpd.pid
root     29489     1 29489   Oct 24  0.0  0.0 /usr/bin/ruby /usr/bin/puppet 
agent
root     29702     1 29701   Oct 24  0.0  0.0 /usr/bin/python3 
/usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p 
/var/run/fail2ban/fail2ban.pid -x -b
root     30584     2     0 22:54:12  0.0  0.0 [kworker/23:2]
rajive   30656     1 30656   Nov 27  0.0  0.0 /lib/systemd/systemd --user
rajive   30669 30656 30656   Nov 27  0.0  0.0 (sd-pam)
postfix  30858  3066  3066 12:00:01  0.0  0.0 pickup -l -t fifo -u
daemon   31541     1 31541   Oct 24  0.0  0.0 /usr/sbin/atd -f
root     32473     2     0 04:27:14  0.0  0.0 [kworker/4:1]
+ docker system prune -f
Deleted Containers:
9277731a8e7d5c23565ac8af1e858e12d1ff967d26d0f35b436c1fee1d466d54
fec6f257f560661ff340ec0bb938d26207a9be2bf38e162204c185a1d215bc07

Total reclaimed space: 5.602MB
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 21192
+ docker system events
+ docker pull quay.io/coreos/etcd:v3.3
v3.3: Pulling from coreos/etcd
2bc1c5ee8605: Pulling fs layer
075a2fcf78bc: Pulling fs layer
35e5ff0bd5f1: Pulling fs layer
ec90809a24af: Pulling fs layer
27b2768170ac: Pulling fs layer
52ad13cdb1de: Pulling fs layer
ec90809a24af: Waiting
52ad13cdb1de: Waiting
27b2768170ac: Waiting
2bc1c5ee8605: Verifying Checksum
2bc1c5ee8605: Download complete
35e5ff0bd5f1: Verifying Checksum
35e5ff0bd5f1: Download complete
2bc1c5ee8605: Pull complete
075a2fcf78bc: Verifying Checksum
075a2fcf78bc: Download complete
27b2768170ac: Download complete
ec90809a24af: Download complete
52ad13cdb1de: Download complete
075a2fcf78bc: Pull complete
35e5ff0bd5f1: Pull complete
ec90809a24af: Pull complete
27b2768170ac: Pull complete
52ad13cdb1de: Pull complete
Digest: sha256:00304fb914dbc8205275bc7630f376171344753a17ec3c81f0b424fa8f841d66
Status: Downloaded newer image for quay.io/coreos/etcd:v3.3
Process leaked file descriptors. See 
https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for 
more information
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins3632380355517193984.sh
+ docker pull python:3.7
3.7: Pulling from library/python
741437d97401: Already exists
34d8874714d7: Already exists
0a108aa26679: Already exists
7f0334c36886: Already exists
65c95cb8b3be: Already exists
9107d7193263: Pulling fs layer
dd6f212ec984: Pulling fs layer
43288b101abf: Pulling fs layer
89dd65885f16: Pulling fs layer
43288b101abf: Download complete
9107d7193263: Download complete
dd6f212ec984: Verifying Checksum
dd6f212ec984: Download complete
89dd65885f16: Verifying Checksum
89dd65885f16: Download complete
9107d7193263: Pull complete
dd6f212ec984: Pull complete
43288b101abf: Pull complete
89dd65885f16: Pull complete
Digest: sha256:a570ef00b7348c85b546c0e67955fa3be233c27bc2379d0f87fc8e4ff25aa006
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins5402130799239186932.sh
+ docker pull python:3.6
3.6: Pulling from library/python
741437d97401: Already exists
34d8874714d7: Already exists
0a108aa26679: Already exists
7f0334c36886: Already exists
65c95cb8b3be: Already exists
36185429e34c: Pulling fs layer
99d78cb27656: Pulling fs layer
735a9c9a10ba: Pulling fs layer
6b755a515385: Pulling fs layer
6b755a515385: Waiting
735a9c9a10ba: Verifying Checksum
735a9c9a10ba: Download complete
36185429e34c: Verifying Checksum
36185429e34c: Download complete
99d78cb27656: Verifying Checksum
99d78cb27656: Download complete
6b755a515385: Verifying Checksum
6b755a515385: Download complete
36185429e34c: Pull complete
99d78cb27656: Pull complete
735a9c9a10ba: Pull complete
6b755a515385: Pull complete
Digest: sha256:7b8a64c642e7b99039b2afdd6b16ba37804ce1ace8b67bdc5f4015cf5f611372
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins7098191599634287769.sh
+ docker pull python:3.5
3.5: Pulling from library/python
741437d97401: Already exists
34d8874714d7: Already exists
0a108aa26679: Already exists
7f0334c36886: Already exists
65c95cb8b3be: Already exists
36185429e34c: Already exists
9914605f1203: Pulling fs layer
a590c5cc1f30: Pulling fs layer
db6449a17287: Pulling fs layer
db6449a17287: Verifying Checksum
db6449a17287: Download complete
9914605f1203: Verifying Checksum
9914605f1203: Download complete
a590c5cc1f30: Verifying Checksum
a590c5cc1f30: Download complete
9914605f1203: Pull complete
a590c5cc1f30: Pull complete
db6449a17287: Pull complete
Digest: sha256:8948474618d373b9b32f991eb325329c54ecb853428a78e80a17842ca81e4b2e
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins1318135737776684447.sh
+ docker pull python:2.7
2.7: Pulling from library/python
Digest: sha256:35f98a81a8346006cefcb7f2304ed198fc1b87f9ca812cf685b081b9a9074b6b
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins4135546865612117886.sh
+ ./stream/clients/python/scripts/test.sh
+++ dirname ./stream/clients/python/scripts/test.sh
++ cd ./stream/clients/python/scripts
++ pwd
+ 
SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
+++ dirname 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh>
++ cd 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
++ pwd
+ 
SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts>
+ PY_VERSION=3.7
+ NOXSESSION=lint,lint_setup_py,unit
+ [[ 3.7 == 3* ]]
++ cat
+ TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
pip install nox
nox'
+ docker run -v 
<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper
 -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit 
python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs 
rm -rf
pip install nox
nox'
Collecting nox
  Downloading 
https://files.pythonhosted.org/packages/6a/31/6d83de53dd55c1b541eae28479b011d10691dc8ac91ab34fd827ac44eca3/nox-2018.10.17-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl
 (83kB)
Collecting virtualenv>=14.0.0 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/33/5d/314c760d4204f64e4a968275182b7751bd5c3249094757b39ba987dcfb5a/virtualenv-16.4.3-py2.py3-none-any.whl
 (2.0MB)
Collecting colorlog<4.0.0,>=2.6.1 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl
Installing collected packages: py, virtualenv, colorlog, nox
Successfully installed colorlog-3.2.0 nox-2018.10.17 py-1.8.0 virtualenv-16.4.3
Running session unit-3.7
Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7
pip install --upgrade mock pytest pytest-cov
pip install --upgrade -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper 
--cov-config=.coveragerc tests/unit
....................................................................     [100%]
=============================== warnings summary ===============================
.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47
  
/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47:
 DeprecationWarning: Using or importing the ABCs from 'collections' instead of 
from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from google.protobuf.pyext import _message

.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788
  
/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788:
 DeprecationWarning: Using or importing the ABCs from 'collections' instead of 
from 'collections.abc' is deprecated, and in 3.8 it will stop working
    collections.MutableMapping.register(Struct)

tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent
  /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: 
DeprecationWarning: Using or importing the ABCs from 'collections' instead of 
from 'collections.abc' is deprecated, and in 3.8 it will stop working
    elif isinstance(msg_or_dict, collections.Mapping):

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


68 passed, 3 warnings in 3.81 seconds
Session unit-3.7 was successful.
Running session lint
Creating virtualenv using python in /opt/bookkeeper/.nox/lint
pip install --upgrade flake8
pip install --upgrade .
flake8 bookkeeper tests
bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters)
bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters)
bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters)
bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters)
bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters)
tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but 
unused
tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 
79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 
> 79 characters)
tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 
> 79 characters)
Command flake8 bookkeeper tests failed with exit code 1
Session lint failed.
Running session lint_setup_py
Creating virtualenv using python in /opt/bookkeeper/.nox/lint_setup_py
pip install --upgrade docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:475:
 UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0'
  normalized_version,
Session lint_setup_py was successful.
Ran multiple sessions:
* unit-3.7: success
* lint: failed
* lint_setup_py: success
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]

Reply via email to