See 
<https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/65/display/redirect?page=changes>

Changes:

[Guillermo Cruz] [#8610] Add pre-commit hooks and clean up syntax.py tests to 
use them


------------------------------------------
[...truncated 520 B...]
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/allura.git/
 > git init <https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/> # 
 > timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/allura.git/
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/allura.git/ 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/allura.git/ 
 > # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 91d27e61a7bc286b57bb9d92970460a071f1cd47 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 91d27e61a7bc286b57bb9d92970460a071f1cd47 # timeout=10
Commit message: "[#8610] Add pre-commit hooks and clean up syntax.py tests to 
use them"
 > git rev-list --no-walk be9f33ff1953b17d309b2f78c1c823bd922fc189 # timeout=10
[Allura-py3.11] $ /bin/bash /tmp/jenkins4911598132953908829.sh

=============================================================================
Jenkins Host Info:
=============================================================================
cpu count: 24
hostname: asf956
whoami: jenkins
NODE_NAME: builds56
docker: Client: Docker Engine - Community Version: 24.0.2 API version: 1.43 Go 
version: go1.20.4 Git commit: cb74dfc Built: Thu May 25 21:52:13 2023 OS/Arch: 
linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 
24.0.2 API version: 1.43 (minimum version 1.12) Go version: go1.20.4 Git 
commit: 659604f Built: Thu May 25 21:52:13 2023 OS/Arch: linux/amd64 
Experimental: false containerd: Version: 1.6.21 GitCommit: 
3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: 
v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
docker compose: docker-compose version 1.26.2, build unknown docker-py version: 
4.4.4 CPython version: 2.7.17 OpenSSL version: OpenSSL 1.1.1 11 Sep 2018
path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
workspace: <https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/>
jenkins_home: /home/jenkins/jenkins-home
home: /home/jenkins
pwd: <https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/>
GIT_COMMIT=91d27e61a7bc286b57bb9d92970460a071f1cd47
RUN_DISPLAY_URL=https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/65/display/redirect
JENKINS_URL=https://ci-builds.apache.org/
EXECUTOR_NUMBER=2
SSH_CONNECTION=95.217.196.215 51792 67.195.81.182 22
LANG=en_US
BUILD_ID=65
BUILD_CAUSE=SCMTRIGGER
OLDPWD=/home/jenkins
RUN_CHANGES_DISPLAY_URL=https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/65/display/redirect?page=changes
GRADLE_ENTERPRISE_ACCESS_KEY=ge.apache.org=etlwjhwel56ybdijfxymbj5bb6fwydcy3sj2oe6rlwjzotgalrea
JENKINSGRADLEPLUGIN_GRADLE_ENTERPRISE_PLUGIN_VERSION=3.13.1
JOB_BASE_NAME=Allura-py3.11
WORKSPACE_TMP=<https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/@tmp>
BUILD_TIMESTAMP=2023-08-17 17:14:10 UTC
CI=true
GIT_URL=https://gitbox.apache.org/repos/asf/allura.git/
HUDSON_COOKIE=e15e09f0-d97d-43da-adc8-d601b50bb549
XDG_SESSION_ID=3584
USER=jenkins
BUILD_NUMBER=65
WORKSPACE=<https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/>
PWD=<https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/>
HUDSON_URL=https://ci-builds.apache.org/
HOME=/home/jenkins
JENKINSGRADLEPLUGIN_CCUD_PLUGIN_VERSION=1.10
NODE_NAME=builds56
HUDSON_SERVER_COOKIE=9c7f00b5d9bf9427
SSH_CLIENT=95.217.196.215 51792 22
JENKINS_HOME=/home/jenkins/jenkins-home
JOB_NAME=Allura/Allura-py3.11
RUN_TESTS_DISPLAY_URL=https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/65/display/redirect?page=tests
GIT_PREVIOUS_COMMIT=be9f33ff1953b17d309b2f78c1c823bd922fc189
ROOT_BUILD_CAUSE_SCMTRIGGER=true
BUILD_CAUSE_SCMTRIGGER=true
HUDSON_HOME=/home/jenkins/jenkins-home
JOB_DISPLAY_URL=https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/display/redirect
JENKINSGRADLEPLUGIN_GRADLE_ENTERPRISE_ENFORCE_URL=true
JENKINSGRADLEPLUGIN_GRADLE_AUTO_INJECTION=true
RUN_ARTIFACTS_DISPLAY_URL=https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/65/display/redirect?page=artifacts
MAIL=/var/mail/jenkins
BUILD_URL=https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/65/
SHELL=/bin/bash
JOB_URL=https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/
BUILD_DISPLAY_NAME=#65
PY_VERSION=3.11
ROOT_BUILD_CAUSE=SCMTRIGGER
SHLVL=3
GIT_BRANCH=origin/master
JENKINSGRADLEPLUGIN_GRADLE_ENTERPRISE_URL=https://ge.apache.org
BUILD_TAG=jenkins-Allura-Allura-py3.11-65
JENKINSGRADLEPLUGIN_GRADLE_ENTERPRISE_GRADLE_INJECTION_ENABLED=false
NODE_LABELS=builds56 ubuntu
LOGNAME=jenkins
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/910/bus
XDG_RUNTIME_DIR=/run/user/910
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
GIT_PREVIOUS_SUCCESSFUL_COMMIT=be9f33ff1953b17d309b2f78c1c823bd922fc189
JENKINS_SERVER_COOKIE=9c7f00b5d9bf9427
_=/usr/bin/env

=============================================================================
Run: cleanup previous runs
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
Removing network allura_default
Network allura_default not found.

=============================================================================
Run: build docker image
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
--build-arg is only supported when services are specified for API version < 
1.25. Please use a Compose file version > 2.2 or specify which services to 
build.

=============================================================================
Setup: venv, pip, pysvn, ./rebuild-all.sh, npm, etc.
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
Creating network "allura_default" with the default driver
Pulling mongo (mongo:4.2)...
4.2: Pulling from library/mongo
Digest: sha256:699d652ed67423d689258bad7b316cf005dfbb82b334118ec306f049042f3717
Status: Downloaded newer image for mongo:4.2
Pulling solr (solr:6-alpine)...
6-alpine: Pulling from library/solr
Digest: sha256:4f63093698313437a49b2f945c4b1545c9e3a655f52581bc6e01ea006fae132e
Status: Downloaded newer image for solr:6-alpine
Creating allura_mongo_1 ... 
Creating allura_solr_1  ... 
Creating allura_mongo_1 ... doneCreating 
allura_solr_1  ... doneBuilding web
Traceback (most recent call last):
  File "/usr/local/bin/docker-compose", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 72, 
in main
    command()
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 128, 
in perform_command
    handler(command, command_options)
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 866, 
in run
    self.toplevel_options, self.toplevel_environment
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 1327, 
in run_one_off_container
    **container_options)
  File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 331, 
in create_container
    self.ensure_image_exists()
  File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 367, 
in ensure_image_exists
    self.build(cli=cli)
  File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 1106, 
in build
    platform=self.platform,
  File "/usr/local/lib/python2.7/dist-packages/docker/api/build.py", line 160, 
in build
    path, exclude=exclude, dockerfile=dockerfile, gzip=gzip
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 30, 
in tar
    files=sorted(exclude_paths(root, exclude, dockerfile=dockerfile[0])),
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 49, 
in exclude_paths
    return set(pm.walk(root))
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
215, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
215, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
215, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
185, in rec_walk
    for f in os.listdir(current_dir):
OSError: [Errno 13] Permission denied: 
'<https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/allura-data/mongo/journal'>

=============================================================================
Starting up docker containers
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
Building web
Traceback (most recent call last):
  File "/usr/local/bin/docker-compose", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 72, 
in main
    command()
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 128, 
in perform_command
    handler(command, command_options)
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 1078, 
in up
    to_attach = up(False)
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 1074, 
in up
    cli=native_builder,
  File "/usr/local/lib/python2.7/dist-packages/compose/project.py", line 548, 
in up
    svc.ensure_image_exists(do_build=do_build, silent=silent, cli=cli)
  File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 367, 
in ensure_image_exists
    self.build(cli=cli)
  File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 1106, 
in build
    platform=self.platform,
  File "/usr/local/lib/python2.7/dist-packages/docker/api/build.py", line 160, 
in build
    path, exclude=exclude, dockerfile=dockerfile, gzip=gzip
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 30, 
in tar
    files=sorted(exclude_paths(root, exclude, dockerfile=dockerfile[0])),
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 49, 
in exclude_paths
    return set(pm.walk(root))
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
215, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
215, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
215, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 
185, in rec_walk
    for f in os.listdir(current_dir):
OSError: [Errno 13] Permission denied: 
'<https://ci-builds.apache.org/job/Allura/job/Allura-py3.11/ws/allura-data/mongo/diagnostic.data'>

=============================================================================
Docker Container Info:
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
No container found for web_1

=============================================================================
Setup: tests
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
No container found for web_1
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
No container found for web_1

=============================================================================
Run: tests
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
No container found for web_1
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
No container found for web_1
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
Setting environment for exec is not supported in API < 1.25 (1.24)

=============================================================================
Shutdown
=============================================================================
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in the next release.
  from cryptography.hazmat.backends import default_backend
Stopping allura_solr_1  ... 
Stopping allura_mongo_1 ... 
Stopping allura_mongo_1 ... doneStopping 
allura_solr_1  ... doneRemoving allura_solr_1  ... 
Removing allura_mongo_1 ... 
Removing allura_mongo_1 ... doneRemoving 
allura_solr_1  ... doneRemoving network allura_default
Total reclaimed space: 0B
Deleted Volumes:
1a82b874c999f34f0d924d158b15c44638e4ec85348f7ba49fdde91f67843239

Total reclaimed space: 0B
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?

Reply via email to