Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95696f7751cc0df78d70088e009b8f06c1aa5024 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2627824421797492288.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4752189147200994598.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/yamllint/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/yamllint/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7432364946893868502.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2485653222287527116.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/yamllint/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/yamllint/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7862279737816992005.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:yamllint, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:yamllint, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[latest], releaseBranchOverride:yamllint] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: yamllint USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: yamllint DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: yamllint-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: yamllint DOCKER_CUSTOM_TAGS: latest [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10979 in /w/workspace/foundry_ci-build-images_yamllint [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-build-images.git > git init /w/workspace/foundry_ci-build-images_yamllint # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 95696f7751cc0df78d70088e009b8f06c1aa5024 (yamllint) > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95696f7751cc0df78d70088e009b8f06c1aa5024 # timeout=10 Commit message: "Merge pull request #119 from lranjbar/yamllint-image" > git rev-list --no-walk 95696f7751cc0df78d70088e009b8f06c1aa5024 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:58:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:58:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:58:57 ========================================================= 19:58:57 EdgeX Global Pipelines Version Info 19:58:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:58:58 ------------------- 19:58:58 stable info: 19:58:58 ------------------- 19:58:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:58:58 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:58:58 Message: update stable to v1.0.221 19:58:59 ------------------- 19:58:59 experimental info: 19:58:59 ------------------- 19:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 19:58:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:58:59 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar PROJECT = yamllint [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = yamllint [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = yamllint-archive.tar.gz [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = yamllint [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = yamllint [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = yamllint [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = yamllint [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95696f7751cc0df78d70088e009b8f06c1aa5024 [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95696f7 [Pipeline] echo 19:58:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:58:59 provisioning config files... 19:58:59 copy managed file [ci-build-images-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config657917069337342081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:58:59 ---> docker-login.sh 19:58:59 nexus3.edgexfoundry.org:10001 19:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:00 Configure a credential helper to remove this warning. See 19:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:00 19:59:00 Login Succeeded 19:59:00 nexus3.edgexfoundry.org:10002 19:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:00 Configure a credential helper to remove this warning. See 19:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:00 19:59:00 Login Succeeded 19:59:00 nexus3.edgexfoundry.org:10003 19:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:00 Configure a credential helper to remove this warning. See 19:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:00 19:59:00 Login Succeeded 19:59:00 nexus3.edgexfoundry.org:10004 19:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:00 Configure a credential helper to remove this warning. See 19:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:00 19:59:00 Login Succeeded 19:59:00 docker.io 19:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:01 Configure a credential helper to remove this warning. See 19:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:01 19:59:01 Login Succeeded 19:59:01 ---> docker-login.sh ends [Pipeline] } 19:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:01 provisioning config files... [Pipeline] // stage [Pipeline] } 19:59:01 copy managed file [ci-build-images-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config3177081172471079802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:01 ---> docker-login.sh 19:59:01 nexus3.edgexfoundry.org:10001 19:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:01 Configure a credential helper to remove this warning. See 19:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:01 19:59:01 Login Succeeded 19:59:01 nexus3.edgexfoundry.org:10002 19:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:02 Configure a credential helper to remove this warning. See 19:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:02 19:59:02 Login Succeeded 19:59:02 nexus3.edgexfoundry.org:10003 19:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:02 Configure a credential helper to remove this warning. See 19:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:02 19:59:02 Login Succeeded 19:59:02 nexus3.edgexfoundry.org:10004 19:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:02 Configure a credential helper to remove this warning. See 19:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:02 19:59:02 Login Succeeded 19:59:02 docker.io 19:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:02 Configure a credential helper to remove this warning. See 19:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:02 19:59:02 Login Succeeded 19:59:02 ---> docker-login.sh ends [Pipeline] } 19:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:59:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:59:03 + ls -al . 19:59:03 total 20 19:59:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 19:58 . 19:59:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:58 .. 19:59:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 19:58 .git 19:59:03 -rw-rw-r-- 1 jenkins jenkins 73 Apr 6 19:58 Dockerfile 19:59:03 -rw-rw-r-- 1 jenkins jenkins 889 Apr 6 19:58 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 19:59:03 + docker build -t edgex-devops/yamllint -f Dockerfile --build-arg ARCH=amd64 --label git_sha=95696f7751cc0df78d70088e009b8f06c1aa5024 --label arch=amd64 . 19:59:03 Sending build context to Docker daemon 410.6kB 19:59:03 Step 1/5 : FROM python:3-alpine 19:59:04 3-alpine: Pulling from library/python 19:59:04 df9b9388f04a: Pulling fs layer 19:59:04 a1ef3e6b7a02: Pulling fs layer 19:59:04 7c30c5c4108b: Pulling fs layer 19:59:04 bd008e70454a: Pulling fs layer 19:59:04 07c99262a3c4: Pulling fs layer 19:59:04 bd008e70454a: Waiting 19:59:04 07c99262a3c4: Waiting 19:59:04 a1ef3e6b7a02: Verifying Checksum 19:59:04 a1ef3e6b7a02: Download complete 19:59:04 df9b9388f04a: Verifying Checksum 19:59:04 df9b9388f04a: Download complete 19:59:04 7c30c5c4108b: Verifying Checksum 19:59:04 7c30c5c4108b: Download complete 19:59:05 07c99262a3c4: Verifying Checksum 19:59:05 07c99262a3c4: Download complete 19:59:05 df9b9388f04a: Pull complete 19:59:05 bd008e70454a: Verifying Checksum 19:59:05 bd008e70454a: Download complete 19:59:05 a1ef3e6b7a02: Pull complete 19:59:05 7c30c5c4108b: Pull complete 19:59:05 bd008e70454a: Pull complete 19:59:06 07c99262a3c4: Pull complete 19:59:06 Digest: sha256:b9c3acf9463696075eb8757d7fed88ed02d2a4e566f6e4e6e15cbde35fe807fe 19:59:06 Status: Downloaded newer image for python:3-alpine 19:59:06 ---> 482b8fa3563e 19:59:06 Step 2/5 : RUN pip install yamllint 19:59:06 ---> Running in 3aecfe3f2aec 19:59:09 Collecting yamllint 19:59:09 Downloading yamllint-1.26.3.tar.gz (126 kB) 19:59:09 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.7/126.7 KB 9.6 MB/s eta 0:00:00 19:59:09 Preparing metadata (setup.py): started 19:59:09 Preparing metadata (setup.py): finished with status 'done' 19:59:09 Collecting pathspec>=0.5.3 19:59:09 Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB) 19:59:09 Collecting pyyaml 19:59:09 Downloading PyYAML-6.0.tar.gz (124 kB) 19:59:09 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 KB 16.5 MB/s eta 0:00:00 19:59:09 Installing build dependencies: started 19:59:13 Installing build dependencies: finished with status 'done' 19:59:13 Getting requirements to build wheel: started 19:59:15 Getting requirements to build wheel: finished with status 'done' 19:59:15 Preparing metadata (pyproject.toml): started 19:59:16 Preparing metadata (pyproject.toml): finished with status 'done' 19:59:16 Requirement already satisfied: setuptools in /usr/local/lib/python3.10/site-packages (from yamllint) (58.1.0) 19:59:16 Building wheels for collected packages: yamllint, pyyaml 19:59:16 Building wheel for yamllint (setup.py): started 19:59:16 Building wheel for yamllint (setup.py): finished with status 'done' 19:59:16 Created wheel for yamllint: filename=yamllint-1.26.3-py2.py3-none-any.whl size=60820 sha256=2101ae3eb9b59a59c182f7617863d461ffe8cd6ce805bbfcf7dda12bddf7a0bf 19:59:16 Stored in directory: /root/.cache/pip/wheels/b6/d4/fb/bd68a94e2059bf5a9ee004f888a4ccfba526cb8360873cba72 19:59:17 Building wheel for pyyaml (pyproject.toml): started 19:59:18 Building wheel for pyyaml (pyproject.toml): finished with status 'done' 19:59:18 Created wheel for pyyaml: filename=PyYAML-6.0-cp310-cp310-linux_x86_64.whl size=45334 sha256=94434cb0f9a2946d0d1772c8e632edbfc2048fe1180d680f2030cf6581243174 19:59:18 Stored in directory: /root/.cache/pip/wheels/1d/f3/b4/4aea0992adbed14b36ce9c3857d3707c762a4374479230685d 19:59:18 Successfully built yamllint pyyaml 19:59:18 Installing collected packages: pyyaml, pathspec, yamllint 19:59:18 Successfully installed pathspec-0.9.0 pyyaml-6.0 yamllint-1.26.3 19:59:18 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 19:59:19 Removing intermediate container 3aecfe3f2aec 19:59:19 ---> 6c8aa04e933b 19:59:19 Step 3/5 : ENTRYPOINT [ "yamllint" ] 19:59:19 ---> Running in 0de59eb99a33 19:59:19 Removing intermediate container 0de59eb99a33 19:59:19 ---> ab7b6f5f6dd0 19:59:19 Step 4/5 : LABEL arch=amd64 19:59:19 ---> Running in 520b87178526 19:59:19 Removing intermediate container 520b87178526 19:59:19 ---> 15f47e433a79 19:59:19 Step 5/5 : LABEL git_sha=95696f7751cc0df78d70088e009b8f06c1aa5024 19:59:19 ---> Running in 8c0d7045aa53 19:59:20 Removing intermediate container 8c0d7045aa53 19:59:20 ---> 279dfd3b15e5 19:59:20 [Warning] One or more build-args [ARCH] were not consumed 19:59:20 Successfully built 279dfd3b15e5 19:59:20 Successfully tagged edgex-devops/yamllint:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo 19:59:20 [edgeXDocker.push] Tagging docker image yamllint with the following tags: 19:59:20 95696f7751cc0df78d70088e009b8f06c1aa5024 19:59:20 latest 19:59:20 yamllint 19:59:20 latest 19:59:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:59:20 + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 [Pipeline] isUnix [Pipeline] sh 19:59:20 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 19:59:20 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] 19:59:20 515930d71a57: Preparing 19:59:20 37061676c4d6: Preparing 19:59:20 1c26ebb679f8: Preparing 19:59:20 8e47c95f587f: Preparing 19:59:20 fbd7d5451c69: Preparing 19:59:20 4fc242d58285: Preparing 19:59:20 1c26ebb679f8: Pushed 19:59:20 4fc242d58285: Layer already exists 19:59:21 fbd7d5451c69: Pushed 19:59:22 37061676c4d6: Pushed 19:59:23 515930d71a57: Pushed 19:59:24 8e47c95f587f: Pushed 19:59:24 95696f7751cc0df78d70088e009b8f06c1aa5024: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] isUnix [Pipeline] sh 19:59:25 + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [Pipeline] isUnix [Pipeline] sh 19:59:25 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest 19:59:25 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] 19:59:25 515930d71a57: Preparing 19:59:25 37061676c4d6: Preparing 19:59:25 1c26ebb679f8: Preparing 19:59:25 8e47c95f587f: Preparing 19:59:25 fbd7d5451c69: Preparing 19:59:25 4fc242d58285: Preparing 19:59:25 4fc242d58285: Waiting 19:59:25 1c26ebb679f8: Layer already exists 19:59:25 8e47c95f587f: Layer already exists 19:59:25 37061676c4d6: Layer already exists 19:59:25 fbd7d5451c69: Layer already exists 19:59:25 515930d71a57: Layer already exists 19:59:25 4fc242d58285: Layer already exists 19:59:25 latest: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] isUnix [Pipeline] sh 19:59:25 + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint [Pipeline] isUnix [Pipeline] sh 19:59:25 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint 19:59:25 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] 19:59:25 515930d71a57: Preparing 19:59:25 37061676c4d6: Preparing 19:59:25 1c26ebb679f8: Preparing 19:59:25 8e47c95f587f: Preparing 19:59:25 fbd7d5451c69: Preparing 19:59:25 4fc242d58285: Preparing 19:59:25 4fc242d58285: Waiting 19:59:25 515930d71a57: Layer already exists 19:59:25 37061676c4d6: Layer already exists 19:59:25 8e47c95f587f: Layer already exists 19:59:25 1c26ebb679f8: Layer already exists 19:59:25 fbd7d5451c69: Layer already exists 19:59:25 4fc242d58285: Layer already exists 19:59:25 yamllint: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] isUnix [Pipeline] sh 19:59:26 + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [Pipeline] isUnix [Pipeline] sh 19:59:26 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest 19:59:26 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] 19:59:26 515930d71a57: Preparing 19:59:26 37061676c4d6: Preparing 19:59:26 1c26ebb679f8: Preparing 19:59:26 8e47c95f587f: Preparing 19:59:26 fbd7d5451c69: Preparing 19:59:26 4fc242d58285: Preparing 19:59:26 4fc242d58285: Waiting 19:59:26 1c26ebb679f8: Layer already exists 19:59:26 fbd7d5451c69: Layer already exists 19:59:26 515930d71a57: Layer already exists 19:59:26 8e47c95f587f: Layer already exists 19:59:26 37061676c4d6: Layer already exists 19:59:26 4fc242d58285: Layer already exists 19:59:26 latest: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:59:26 ===================================================== [Pipeline] echo 19:59:26 taggedImages: 19:59:26 - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 19:59:26 - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest 19:59:26 - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint 19:59:26 - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:26 19:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:59:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:27 latest: Pulling from edgex-lftools-log-publisher 19:59:27 5eb5b503b376: Pulling fs layer 19:59:27 5c69ac0246d0: Pulling fs layer 19:59:27 ec43610c2a17: Pulling fs layer 19:59:27 3a2ae6a8a46f: Pulling fs layer 19:59:27 33b1e0a273af: Pulling fs layer 19:59:27 5d3b04190fa2: Pulling fs layer 19:59:27 2f39f015ded8: Pulling fs layer 19:59:27 3a2ae6a8a46f: Waiting 19:59:27 5d3b04190fa2: Waiting 19:59:27 2f39f015ded8: Waiting 19:59:27 33b1e0a273af: Waiting 19:59:27 5c69ac0246d0: Download complete 19:59:27 3a2ae6a8a46f: Verifying Checksum 19:59:27 3a2ae6a8a46f: Download complete 19:59:27 33b1e0a273af: Verifying Checksum 19:59:27 33b1e0a273af: Download complete 19:59:27 ec43610c2a17: Verifying Checksum 19:59:27 ec43610c2a17: Download complete 19:59:27 5d3b04190fa2: Verifying Checksum 19:59:27 5d3b04190fa2: Download complete 19:59:27 5eb5b503b376: Verifying Checksum 19:59:27 5eb5b503b376: Download complete 19:59:28 2f39f015ded8: Download complete 19:59:29 5eb5b503b376: Pull complete 19:59:29 5c69ac0246d0: Pull complete 19:59:29 ec43610c2a17: Pull complete 19:59:29 3a2ae6a8a46f: Pull complete 19:59:29 33b1e0a273af: Pull complete 19:59:29 5d3b04190fa2: Pull complete 19:59:35 2f39f015ded8: Pull complete 19:59:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:59:35 prd-ubuntu20.04-docker-8c-8g-10979 does not seem to be running inside a container 19:59:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_ci-build-images_yamllint -v /w/workspace/foundry_ci-build-images_yamllint:/w/workspace/foundry_ci-build-images_yamllint:rw,z -v /w/workspace/foundry_ci-build-images_yamllint@tmp:/w/workspace/foundry_ci-build-images_yamllint@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:59:36 $ docker top 2fbc83e7bc34be59dacf18c7d0211d1c33927617aaa0240f0307966a44dbb3d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:37 ---> job-cost.sh 19:59:37 lf-activate-venv: SKIPPING 19:59:37 INFO: No Stack... 19:59:37 INFO: Retrieving Pricing Info for: v3-standard-8 19:59:38 INFO: Archiving Costs [Pipeline] sh 19:59:38 + cat /w/workspace/foundry_ci-build-images_yamllint/archives/cost.csv 19:59:38 + cut -d, -f6 [Pipeline] lock 19:59:38 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] 19:59:38 Resource [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] did not exist. Created. 19:59:38 Lock acquired on [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:59:38 + echo total: 0.2199999988079071 [Pipeline] stash 19:59:39 Stashed 1 file(s) [Pipeline] } 19:59:39 Lock released on resource [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:59:39 $ docker stop --time=1 2fbc83e7bc34be59dacf18c7d0211d1c33927617aaa0240f0307966a44dbb3d5 19:59:40 $ docker rm -f 2fbc83e7bc34be59dacf18c7d0211d1c33927617aaa0240f0307966a44dbb3d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:59:40 + [ -d /w/workspace/foundry_ci-build-images_yamllint/archives ] 19:59:40 + ls -al /w/workspace/foundry_ci-build-images_yamllint/archives 19:59:40 total 16 19:59:40 drwxr-xr-x 3 root root 4096 Apr 6 19:59 . 19:59:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:59 .. 19:59:40 drwxr-xr-x 2 root root 4096 Apr 6 19:59 cost 19:59:40 -rw-r--r-- 1 root root 87 Apr 6 19:59 cost.csv 19:59:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_ci-build-images_yamllint/archives 19:59:40 + ls -al /w/workspace/foundry_ci-build-images_yamllint/archives 19:59:40 total 16 19:59:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 19:59 . 19:59:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:59 .. 19:59:40 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 19:59 cost 19:59:40 -rw-r--r-- 1 jenkins jenkins 87 Apr 6 19:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:59:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:59:41 ---> package-listing.sh 19:59:41 ++ facter osfamily 19:59:41 ++ tr '[:upper:]' '[:lower:]' 19:59:42 + OS_FAMILY=debian 19:59:42 + workspace=/w/workspace/foundry_ci-build-images_yamllint 19:59:42 + START_PACKAGES=/tmp/packages_start.txt 19:59:42 + END_PACKAGES=/tmp/packages_end.txt 19:59:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:59:42 + PACKAGES=/tmp/packages_start.txt 19:59:42 + '[' /w/workspace/foundry_ci-build-images_yamllint ']' 19:59:42 + PACKAGES=/tmp/packages_end.txt 19:59:42 + case "${OS_FAMILY}" in 19:59:42 + dpkg -l 19:59:42 + grep '^ii' 19:59:42 + '[' -f /tmp/packages_start.txt ']' 19:59:42 + '[' -f /tmp/packages_end.txt ']' 19:59:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:59:42 + '[' /w/workspace/foundry_ci-build-images_yamllint ']' 19:59:42 + mkdir -p /w/workspace/foundry_ci-build-images_yamllint/archives/ 19:59:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_ci-build-images_yamllint/archives/ [Pipeline] echo 19:59:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_ci-build-images_yamllint/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:59:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:43 . [Pipeline] withDockerContainer 19:59:43 prd-ubuntu20.04-docker-8c-8g-10979 does not seem to be running inside a container 19:59:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_ci-build-images_yamllint/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_ci-build-images_yamllint -v /w/workspace/foundry_ci-build-images_yamllint:/w/workspace/foundry_ci-build-images_yamllint:rw,z -v /w/workspace/foundry_ci-build-images_yamllint@tmp:/w/workspace/foundry_ci-build-images_yamllint@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:59:43 $ docker top 9bfeca9532f85db5c32b9073b0c42c16ce5e6594c43254f50839d110ce9276a5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:43 + touch /tmp/pre-build-complete [Pipeline] sh 19:59:44 + mkdir -p /var/log/sysstat [Pipeline] sh 19:59:44 + ls /var/log/sa-host 19:59:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:44 provisioning config files... 19:59:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config8526178168231266706tmp [Pipeline] { [Pipeline] echo 19:59:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:59:44 ---> create-netrc.sh [Pipeline] } 19:59:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:59:45 ---> python-tools-install.sh [Pipeline] echo 19:59:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:59:45 ---> sudo-logs.sh 19:59:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:59:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:59:45 ---> job-cost.sh 19:59:45 lf-activate-venv: SKIPPING 19:59:45 DEBUG: total: 0.2199999988079071 19:59:45 INFO: Retrieving Stack Cost... 19:59:45 INFO: Retrieving Pricing Info for: v3-standard-8 19:59:46 INFO: Archiving Costs [Pipeline] echo 19:59:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:59:46 ---> logs-deploy.sh 19:59:46 lf-activate-venv: SKIPPING 19:59:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/yamllint/2 19:59:46 INFO: archiving workspace using pattern(s): 19:59:47 Archives upload complete. 19:59:47 INFO: archiving logs to Nexus