See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/10/display/redirect?page=changes>
Changes: [github] [BUILD] Fix build & bash script error when not using `stream` profile ------------------------------------------ [...truncated 91.39 KB...] jenkins 20141 20139 21680 12:31:11 0.0 0.0 bash .test-infra/scripts/pre-docker-tests.sh jenkins 20144 20141 21680 12:31:11 0.0 0.0 ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd root 21004 2 0 Oct 18 0.0 0.0 [kworker/11:0] root 21045 2 0 Oct 18 0.0 0.0 [kworker/6:1] root 21050 1 21050 Oct 18 0.0 0.0 /usr/sbin/sshd -D root 21502 1 21502 Oct 07 0.0 0.0 sshd: jenkins [priv] jenkins 21531 21502 21502 Oct 07 0.1 0.0 sshd: jenkins@notty root 21661 2 0 23:23:29 0.0 0.0 [kworker/10:1] jenkins 21680 21531 21680 Oct 07 0.0 0.0 bash -c cd "/home/jenkins/jenkins-slave" && /home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g -XX:MaxPermSize=512m -jar slave.jar jenkins 21681 21680 21680 Oct 07 1.4 2.8 /home/jenkins/tools/java/jdk1.8.0_131/bin/java -Xmx8g -Xms1g -XX:MaxPermSize=512m -jar slave.jar root 21720 2 0 23:23:29 0.0 0.0 [kworker/5:2] root 21768 2 0 23:23:37 0.0 0.0 [kworker/11:2] root 21857 2 0 23:23:38 0.0 0.0 [kworker/21:0] root 22974 2 0 Oct 17 0.0 0.0 [kworker/23:0] root 23025 2 0 Oct 18 0.0 0.0 [kworker/13:0] root 23377 2 0 Oct 17 0.0 0.0 [kworker/9:1] root 23446 2 0 Oct 17 0.0 0.0 [kworker/14:0] root 23665 2 0 Oct 02 0.0 0.0 [bioset] root 23666 2 0 Oct 02 0.0 0.0 [loop9] root 23988 2 0 Oct 02 0.0 0.0 [bioset] root 24532 2 0 Oct 18 0.0 0.0 [kworker/17:2] root 25090 2 0 Oct 18 0.0 0.0 [kworker/3:0] root 25097 2 0 Oct 18 0.0 0.0 [kworker/12:1] root 25655 2 0 Oct 14 0.0 0.0 [loop10] root 25680 2 0 Oct 17 0.0 0.0 [bioset] root 25682 2 0 Oct 17 0.0 0.0 [loop13] root 25721 2 0 Oct 17 0.0 0.0 [kworker/4:2] root 25813 1 25813 Oct 17 0.0 0.0 /usr/lib/snapd/snapd root 25826 2 0 Oct 17 0.0 0.0 [bioset] root 25956 2 0 Oct 17 0.0 0.0 [kworker/20:2] root 26093 2 0 Oct 17 0.0 0.0 [kworker/15:2] root 26348 2 0 Oct 18 0.0 0.0 [kworker/1:0] root 26441 2 0 Oct 16 0.0 0.0 [loop3] root 28328 2 0 12:05:45 0.0 0.0 [kworker/u66:1] dd-agent 28377 1 28377 Oct 18 0.0 0.0 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/bin/supervisord -c /etc/dd-agent/supervisor.conf dd-agent 28420 28377 28420 Oct 18 1.4 0.0 /opt/datadog-agent/bin/process-agent dd-agent 28421 28377 28421 Oct 18 0.0 0.0 /opt/datadog-agent/bin/trace-agent dd-agent 28422 28377 28422 Oct 18 0.1 0.0 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/ddagent.py dd-agent 28426 28377 28426 Oct 18 0.4 0.0 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/agent.py foreground --use-local-forwarder root 29530 2 0 12:18:02 0.0 0.0 [kworker/u65:2] root 29750 2 0 12:18:05 0.0 0.0 [kworker/u66:0] + docker system prune -f Total reclaimed space: 0B + docker network prune -f --filter 'name=testnetwork_*' + echo 20173 + docker system events Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1010929174176123300.sh + docker pull python:3.7 3.7: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Pulling fs layer 3493e487c18d: Pulling fs layer ff536859af1d: Pulling fs layer 3427540e9cce: Pulling fs layer ddc423e256e5: Pulling fs layer 3427540e9cce: Waiting ddc423e256e5: Waiting 3493e487c18d: Verifying Checksum 3493e487c18d: Download complete ff536859af1d: Verifying Checksum ff536859af1d: Download complete 3427540e9cce: Download complete ddc423e256e5: Verifying Checksum ddc423e256e5: Download complete 72744d0a318b: Verifying Checksum 72744d0a318b: Download complete 72744d0a318b: Pull complete 3493e487c18d: Pull complete ff536859af1d: Pull complete 3427540e9cce: Pull complete ddc423e256e5: Pull complete Digest: sha256:10608fb357a18383f792efbf7472ec6d2e166dad62efc0d7c409ef2777aaafd0 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5929007647453123056.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 4b1d9004d467: Pulling fs layer 93612f47cdc3: Pulling fs layer 1bc4b4b50870: Pulling fs layer 1bc4b4b50870: Waiting 93612f47cdc3: Verifying Checksum 93612f47cdc3: Download complete 6598fc9d11d1: Verifying Checksum 6598fc9d11d1: Download complete 4b1d9004d467: Verifying Checksum 4b1d9004d467: Download complete 1bc4b4b50870: Verifying Checksum 1bc4b4b50870: Download complete 6598fc9d11d1: Pull complete 4b1d9004d467: Pull complete 93612f47cdc3: Pull complete 1bc4b4b50870: Pull complete Digest: sha256:a2e09f0ff0b5b882f372d78be242dffe2e89ccf6273d86cf8f60fcc751741bde Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4746071945621554079.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 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/jenkins8636143107333510257.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 23bf491a4f84: Verifying Checksum 23bf491a4f84: Download complete 08c5081d43e2: Verifying Checksum 08c5081d43e2: 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/jenkins6669144726900284290.sh + ./stream/clients/python/scripts/test.sh +++ dirname ./stream/clients/python/scripts/test.sh ++ cd ./stream/clients/python/scripts ++ pwd + SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> + PY_VERSION=3.7 + NOXSESSION=lint,lint_setup_py,unit + <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh> +++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh> ++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> ++ pwd + SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> + PY_VERSION=3.7 + NOXSESSION=lint,lint_setup_py,unit + [[ 3.7 == 3* ]] ++ cat + TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf pip install nox nox' + docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf pip install nox nox' Collecting nox Downloading https://files.pythonhosted.org/packages/6a/31/6d83de53dd55c1b541eae28479b011d10691dc8ac91ab34fd827ac44eca3/nox-2018.10.17-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 (from nox) Downloading https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl (83kB) Collecting colorlog<4.0.0,>=2.6.1 (from nox) Downloading https://files.pythonhosted.org/packages/69/eb/58ae10d3c46a0195ffdd0e3943d255d0d5029d71e5457785ecd665bcf0f3/colorlog-3.1.4-py2.py3-none-any.whl Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB) Installing collected packages: py, colorlog, virtualenv, nox Successfully installed colorlog-3.1.4 nox-2018.10.17 py-1.7.0 virtualenv-16.0.0 Running session unit-3.7 Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7 pip install --upgrade mock pytest pytest-cov pip install --upgrade -e . py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit ==================================== ERRORS ==================================== ____________ ERROR collecting tests/unit/bookkeeper/test_futures.py ____________ tests/unit/bookkeeper/test_futures.py:18: in <module> from bookkeeper.kv import futures, exceptions bookkeeper/kv/__init__.py:15: in <module> from bookkeeper.kv.client import Client bookkeeper/kv/client.py:22: in <module> from bookkeeper.admin.namespace import Namespace bookkeeper/admin/__init__.py:15: in <module> from bookkeeper.admin.client import Client bookkeeper/admin/client.py:27: in <module> __version__ = pkg_resources.get_distribution('bookkeeper').version .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:476: in get_distribution dist = get_provider(dist) .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:352: in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:895: in require needed = self.resolve(parse_requirements(requirements)) .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:781: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'bookkeeper' distribution was not found and is required by the application =============================== warnings summary =============================== /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/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 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:340: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working collections.MutableSequence.register(BaseContainer) -- Docs: https://docs.pytest.org/en/latest/warnings.html !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! 2 warnings, 1 error in 2.64 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 /opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible nested set at position 1 EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]') 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]
