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

Changes:

[guosijie] Issue #1752: Etcd docker based tests are running on wrong jobs on CI

------------------------------------------
[...truncated 23.17 KB...]
Total reclaimed space: 0B
+ docker network prune -f --filter 'name=testnetwork_*'
+ echo 1371
+ 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
27b2768170ac: Waiting
2bc1c5ee8605: Verifying Checksum
2bc1c5ee8605: Download complete
2bc1c5ee8605: Pull complete
ec90809a24af: Download complete
35e5ff0bd5f1: Verifying Checksum
35e5ff0bd5f1: Download complete
27b2768170ac: Verifying Checksum
27b2768170ac: Download complete
52ad13cdb1de: Download complete
075a2fcf78bc: Verifying Checksum
075a2fcf78bc: 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/jenkins6523179417207806283.sh
+ docker pull python:3.7
3.7: Pulling from library/python
bc9ab73e5b14: Pulling fs layer
193a6306c92a: Pulling fs layer
e5c3f8c317dc: Pulling fs layer
a587a86c9dcb: Pulling fs layer
72744d0a318b: Pulling fs layer
3493e487c18d: Pulling fs layer
a89e0510fd87: Pulling fs layer
2100d277cd6f: Pulling fs layer
b61a0d6fb492: Pulling fs layer
a587a86c9dcb: Waiting
3493e487c18d: Waiting
72744d0a318b: Waiting
2100d277cd6f: Waiting
b61a0d6fb492: Waiting
a89e0510fd87: Waiting
e5c3f8c317dc: Verifying Checksum
e5c3f8c317dc: Download complete
193a6306c92a: Verifying Checksum
193a6306c92a: Download complete
bc9ab73e5b14: Verifying Checksum
bc9ab73e5b14: Download complete
3493e487c18d: Verifying Checksum
3493e487c18d: Download complete
a587a86c9dcb: Verifying Checksum
a587a86c9dcb: Download complete
2100d277cd6f: Download complete
a89e0510fd87: Verifying Checksum
a89e0510fd87: Download complete
b61a0d6fb492: Verifying Checksum
b61a0d6fb492: Download complete
72744d0a318b: Verifying Checksum
72744d0a318b: Download complete
bc9ab73e5b14: Pull complete
193a6306c92a: Pull complete
e5c3f8c317dc: Pull complete
a587a86c9dcb: Pull complete
72744d0a318b: Pull complete
3493e487c18d: Pull complete
a89e0510fd87: Pull complete
2100d277cd6f: Pull complete
b61a0d6fb492: Pull complete
Digest: sha256:a837aefef8f2553789bc70436621160af4da65d95b0fb02d5032557f887d0ca5
Status: Downloaded newer image for python:3.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins3832075888019905165.sh
+ docker pull python:3.6
3.6: Pulling from library/python
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
72744d0a318b: Already exists
6598fc9d11d1: Pulling fs layer
770079cf7a7e: Pulling fs layer
03c4d24b3523: Pulling fs layer
aaa91e2585ce: Pulling fs layer
03c4d24b3523: Download complete
6598fc9d11d1: Verifying Checksum
6598fc9d11d1: Download complete
770079cf7a7e: Verifying Checksum
770079cf7a7e: Download complete
aaa91e2585ce: Download complete
6598fc9d11d1: Pull complete
770079cf7a7e: Pull complete
03c4d24b3523: Pull complete
aaa91e2585ce: Pull complete
Digest: sha256:be8258268093afd16846564e3963af3059fd341e16677d7cd0bc157f0d7fcdfa
Status: Downloaded newer image for python:3.6
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins6933098881290845085.sh
+ docker pull python:3.5
3.5: Pulling from library/python
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
72744d0a318b: Already exists
6598fc9d11d1: Already exists
74d2ee7772b2: Pulling fs layer
ab2e66176e69: Pulling fs layer
2c4175ee7cad: Pulling fs layer
ab2e66176e69: Verifying Checksum
ab2e66176e69: Download complete
2c4175ee7cad: Verifying Checksum
2c4175ee7cad: Download complete
74d2ee7772b2: Verifying Checksum
74d2ee7772b2: Download complete
74d2ee7772b2: Pull complete
ab2e66176e69: Pull complete
2c4175ee7cad: Pull complete
Digest: sha256:ef14a52ee8bacfa498b46ef1620ae3da16b0cbda8286b1f0a1a81aa71ac3a818
Status: Downloaded newer image for python:3.5
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins2405705489291940374.sh
+ docker pull python:2.7
2.7: Pulling from library/python
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
72744d0a318b: Already exists
23bf491a4f84: Pulling fs layer
7f3410abb2aa: Pulling fs layer
08c5081d43e2: Pulling fs layer
80a779c2daa3: Pulling fs layer
80a779c2daa3: Waiting
08c5081d43e2: Verifying Checksum
08c5081d43e2: Download complete
23bf491a4f84: Verifying Checksum
23bf491a4f84: Download complete
7f3410abb2aa: Verifying Checksum
7f3410abb2aa: Download complete
80a779c2daa3: Verifying Checksum
80a779c2daa3: Download complete
23bf491a4f84: Pull complete
7f3410abb2aa: Pull complete
08c5081d43e2: Pull complete
80a779c2daa3: Pull complete
Digest: sha256:caeeb98fc920f4f7146c929fee29b35b7c8c37e23ca194be3bb48e54c9ec8527
Status: Downloaded newer image for python:2.7
[bookkeeper_postcommit_master_python] $ /bin/bash -xe 
/tmp/jenkins4373949976956598333.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 virtualenv>=14.0.0 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl
 (1.9MB)
Collecting colorlog<4.0.0,>=2.6.1 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/69/eb/58ae10d3c46a0195ffdd0e3943d255d0d5029d71e5457785ecd665bcf0f3/colorlog-3.1.4-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0 (from nox)
  Downloading 
https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl
 (83kB)
Installing collected packages: virtualenv, colorlog, py, nox
Successfully installed colorlog-3.1.4 nox-2018.10.17 py-1.7.0 virtualenv-16.0.0
Running session unit-3.7
Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7
pip install --upgrade mock pytest pytest-cov
pip install --upgrade -e .
py.test --quiet --cov-append --cov-report= --cov=bookkeeper 
--cov-config=.coveragerc tests/unit

==================================== ERRORS ====================================
____________ ERROR collecting tests/unit/bookkeeper/test_futures.py ____________
tests/unit/bookkeeper/test_futures.py:18: in <module>
    from bookkeeper.kv import futures, exceptions
bookkeeper/kv/__init__.py:15: in <module>
    from bookkeeper.kv.client import Client
bookkeeper/kv/client.py:22: in <module>
    from bookkeeper.admin.namespace import Namespace
bookkeeper/admin/__init__.py:15: in <module>
    from bookkeeper.admin.client import Client
bookkeeper/admin/client.py:27: in <module>
    __version__ = pkg_resources.get_distribution('bookkeeper').version
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:476: in 
get_distribution
    dist = get_provider(dist)
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:352: in 
get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:895: in 
require
    needed = self.resolve(parse_requirements(requirements))
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:781: in 
resolve
    raise DistributionNotFound(req, requirers)
E   pkg_resources.DistributionNotFound: The 'bookkeeper' distribution was not 
found and is required by the application


=============================== warnings summary ===============================
.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154
  
/opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154:
 DeprecationWarning: Using or importing the ABCs from 'collections' instead of 
from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from google.protobuf.pyext import _message

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

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
2 warnings, 1 error in 2.41 seconds
Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper 
--cov-config=.coveragerc tests/unit failed with exit code 2
Session unit-3.7 failed.
Running session lint
Creating virtualenv using python in /opt/bookkeeper/.nox/lint
pip install --upgrade flake8
pip install --upgrade .
flake8 bookkeeper tests
Session lint was successful.
Running session lint_setup_py
Creating virtualenv using python in /opt/bookkeeper/.nox/lint_setup_py
pip install --upgrade docutils Pygments
python setup.py check --restructuredtext --strict
running check
/opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:398:
 UserWarning: Normalizing '4.9.0-alpha-0' to '4.9.0a0'
  normalized_version,
Session lint_setup_py was successful.
Ran multiple sessions:
* unit-3.7: failed
* lint: success
* lint_setup_py: success
Build step 'Execute shell' marked build as failure
Not sending mail to unregistered user [email protected]
Not sending mail to unregistered user [email protected]

Reply via email to