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 [2022-04-06T19:58:57.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T19:58:57.698Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T19:58:57.714Z] ========================================================= [2022-04-06T19:58:57.714Z] EdgeX Global Pipelines Version Info [2022-04-06T19:58:57.714Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:58:58.478Z] ------------------- [2022-04-06T19:58:58.478Z] stable info: [2022-04-06T19:58:58.478Z] ------------------- [2022-04-06T19:58:58.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T19:58:58.478Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T19:58:58.478Z] Message: update stable to v1.0.221 [2022-04-06T19:58:59.053Z] ------------------- [2022-04-06T19:58:59.053Z] experimental info: [2022-04-06T19:58:59.053Z] ------------------- [2022-04-06T19:58:59.053Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T19:58:59.053Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T19:58:59.053Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-04-06T19:58:59.203Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-04-06T19:58:59.217Z] [edgeXSetupEnvironment]: set envvar PROJECT = yamllint [Pipeline] echo [2022-04-06T19:58:59.229Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-04-06T19:58:59.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T19:58:59.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T19:58:59.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = yamllint [Pipeline] echo [2022-04-06T19:58:59.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-04-06T19:58:59.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-04-06T19:58:59.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-04-06T19:58:59.302Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T19:58:59.312Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-04-06T19:58:59.321Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = yamllint-archive.tar.gz [Pipeline] echo [2022-04-06T19:58:59.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T19:58:59.340Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T19:58:59.364Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = yamllint [Pipeline] echo [2022-04-06T19:58:59.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo [2022-04-06T19:58:59.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = yamllint [Pipeline] echo [2022-04-06T19:58:59.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = yamllint [Pipeline] echo [2022-04-06T19:58:59.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = yamllint [Pipeline] echo [2022-04-06T19:58:59.417Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95696f7751cc0df78d70088e009b8f06c1aa5024 [Pipeline] echo [2022-04-06T19:58:59.426Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95696f7 [Pipeline] echo [2022-04-06T19:58:59.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T19:58:59.477Z] provisioning config files... [2022-04-06T19:58:59.493Z] copy managed file [ci-build-images-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config657917069337342081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:58:59.824Z] ---> docker-login.sh [2022-04-06T19:58:59.824Z] nexus3.edgexfoundry.org:10001 [2022-04-06T19:59:00.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:00.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:00.086Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:00.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:00.086Z] [2022-04-06T19:59:00.086Z] Login Succeeded [2022-04-06T19:59:00.086Z] nexus3.edgexfoundry.org:10002 [2022-04-06T19:59:00.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:00.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:00.347Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:00.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:00.347Z] [2022-04-06T19:59:00.347Z] Login Succeeded [2022-04-06T19:59:00.347Z] nexus3.edgexfoundry.org:10003 [2022-04-06T19:59:00.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:00.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:00.347Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:00.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:00.347Z] [2022-04-06T19:59:00.347Z] Login Succeeded [2022-04-06T19:59:00.347Z] nexus3.edgexfoundry.org:10004 [2022-04-06T19:59:00.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:00.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:00.608Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:00.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:00.608Z] [2022-04-06T19:59:00.608Z] Login Succeeded [2022-04-06T19:59:00.608Z] docker.io [2022-04-06T19:59:00.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:01.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:01.182Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:01.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:01.182Z] [2022-04-06T19:59:01.182Z] Login Succeeded [2022-04-06T19:59:01.182Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T19:59:01.192Z] 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 [2022-04-06T19:59:01.491Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2022-04-06T19:59:01.501Z] copy managed file [ci-build-images-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config3177081172471079802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:01.885Z] ---> docker-login.sh [2022-04-06T19:59:01.885Z] nexus3.edgexfoundry.org:10001 [2022-04-06T19:59:01.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:01.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:01.885Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:01.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:01.885Z] [2022-04-06T19:59:01.885Z] Login Succeeded [2022-04-06T19:59:01.885Z] nexus3.edgexfoundry.org:10002 [2022-04-06T19:59:01.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:02.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:02.146Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:02.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:02.146Z] [2022-04-06T19:59:02.146Z] Login Succeeded [2022-04-06T19:59:02.146Z] nexus3.edgexfoundry.org:10003 [2022-04-06T19:59:02.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:02.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:02.146Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:02.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:02.146Z] [2022-04-06T19:59:02.146Z] Login Succeeded [2022-04-06T19:59:02.146Z] nexus3.edgexfoundry.org:10004 [2022-04-06T19:59:02.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:02.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:02.408Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:02.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:02.408Z] [2022-04-06T19:59:02.408Z] Login Succeeded [2022-04-06T19:59:02.408Z] docker.io [2022-04-06T19:59:02.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T19:59:02.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T19:59:02.670Z] Configure a credential helper to remove this warning. See [2022-04-06T19:59:02.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T19:59:02.670Z] [2022-04-06T19:59:02.670Z] Login Succeeded [2022-04-06T19:59:02.670Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T19:59:02.680Z] 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 [2022-04-06T19:59:03.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T19:59:03.576Z] + ls -al . [2022-04-06T19:59:03.576Z] total 20 [2022-04-06T19:59:03.576Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 19:58 . [2022-04-06T19:59:03.576Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:58 .. [2022-04-06T19:59:03.576Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 19:58 .git [2022-04-06T19:59:03.576Z] -rw-rw-r-- 1 jenkins jenkins 73 Apr 6 19:58 Dockerfile [2022-04-06T19:59:03.576Z] -rw-rw-r-- 1 jenkins jenkins 889 Apr 6 19:58 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:03.949Z] + docker build -t edgex-devops/yamllint -f Dockerfile --build-arg ARCH=amd64 --label git_sha=95696f7751cc0df78d70088e009b8f06c1aa5024 --label arch=amd64 . [2022-04-06T19:59:03.949Z] Sending build context to Docker daemon 410.6kB [2022-04-06T19:59:03.949Z] Step 1/5 : FROM python:3-alpine [2022-04-06T19:59:04.522Z] 3-alpine: Pulling from library/python [2022-04-06T19:59:04.522Z] df9b9388f04a: Pulling fs layer [2022-04-06T19:59:04.522Z] a1ef3e6b7a02: Pulling fs layer [2022-04-06T19:59:04.522Z] 7c30c5c4108b: Pulling fs layer [2022-04-06T19:59:04.522Z] bd008e70454a: Pulling fs layer [2022-04-06T19:59:04.522Z] 07c99262a3c4: Pulling fs layer [2022-04-06T19:59:04.522Z] bd008e70454a: Waiting [2022-04-06T19:59:04.522Z] 07c99262a3c4: Waiting [2022-04-06T19:59:04.785Z] a1ef3e6b7a02: Verifying Checksum [2022-04-06T19:59:04.785Z] a1ef3e6b7a02: Download complete [2022-04-06T19:59:04.785Z] df9b9388f04a: Verifying Checksum [2022-04-06T19:59:04.785Z] df9b9388f04a: Download complete [2022-04-06T19:59:04.785Z] 7c30c5c4108b: Verifying Checksum [2022-04-06T19:59:04.785Z] 7c30c5c4108b: Download complete [2022-04-06T19:59:05.046Z] 07c99262a3c4: Verifying Checksum [2022-04-06T19:59:05.046Z] 07c99262a3c4: Download complete [2022-04-06T19:59:05.046Z] df9b9388f04a: Pull complete [2022-04-06T19:59:05.046Z] bd008e70454a: Verifying Checksum [2022-04-06T19:59:05.046Z] bd008e70454a: Download complete [2022-04-06T19:59:05.306Z] a1ef3e6b7a02: Pull complete [2022-04-06T19:59:05.878Z] 7c30c5c4108b: Pull complete [2022-04-06T19:59:05.878Z] bd008e70454a: Pull complete [2022-04-06T19:59:06.140Z] 07c99262a3c4: Pull complete [2022-04-06T19:59:06.404Z] Digest: sha256:b9c3acf9463696075eb8757d7fed88ed02d2a4e566f6e4e6e15cbde35fe807fe [2022-04-06T19:59:06.404Z] Status: Downloaded newer image for python:3-alpine [2022-04-06T19:59:06.404Z] ---> 482b8fa3563e [2022-04-06T19:59:06.404Z] Step 2/5 : RUN pip install yamllint [2022-04-06T19:59:06.667Z] ---> Running in 3aecfe3f2aec [2022-04-06T19:59:09.216Z] Collecting yamllint [2022-04-06T19:59:09.216Z] Downloading yamllint-1.26.3.tar.gz (126 kB) [2022-04-06T19:59:09.216Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.7/126.7 KB 9.6 MB/s eta 0:00:00 [2022-04-06T19:59:09.216Z] Preparing metadata (setup.py): started [2022-04-06T19:59:09.216Z] Preparing metadata (setup.py): finished with status 'done' [2022-04-06T19:59:09.217Z] Collecting pathspec>=0.5.3 [2022-04-06T19:59:09.217Z] Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB) [2022-04-06T19:59:09.217Z] Collecting pyyaml [2022-04-06T19:59:09.217Z] Downloading PyYAML-6.0.tar.gz (124 kB) [2022-04-06T19:59:09.217Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 KB 16.5 MB/s eta 0:00:00 [2022-04-06T19:59:09.478Z] Installing build dependencies: started [2022-04-06T19:59:13.684Z] Installing build dependencies: finished with status 'done' [2022-04-06T19:59:13.684Z] Getting requirements to build wheel: started [2022-04-06T19:59:15.598Z] Getting requirements to build wheel: finished with status 'done' [2022-04-06T19:59:15.598Z] Preparing metadata (pyproject.toml): started [2022-04-06T19:59:16.541Z] Preparing metadata (pyproject.toml): finished with status 'done' [2022-04-06T19:59:16.541Z] Requirement already satisfied: setuptools in /usr/local/lib/python3.10/site-packages (from yamllint) (58.1.0) [2022-04-06T19:59:16.541Z] Building wheels for collected packages: yamllint, pyyaml [2022-04-06T19:59:16.541Z] Building wheel for yamllint (setup.py): started [2022-04-06T19:59:16.803Z] Building wheel for yamllint (setup.py): finished with status 'done' [2022-04-06T19:59:16.803Z] Created wheel for yamllint: filename=yamllint-1.26.3-py2.py3-none-any.whl size=60820 sha256=2101ae3eb9b59a59c182f7617863d461ffe8cd6ce805bbfcf7dda12bddf7a0bf [2022-04-06T19:59:16.803Z] Stored in directory: /root/.cache/pip/wheels/b6/d4/fb/bd68a94e2059bf5a9ee004f888a4ccfba526cb8360873cba72 [2022-04-06T19:59:17.070Z] Building wheel for pyyaml (pyproject.toml): started [2022-04-06T19:59:18.460Z] Building wheel for pyyaml (pyproject.toml): finished with status 'done' [2022-04-06T19:59:18.460Z] Created wheel for pyyaml: filename=PyYAML-6.0-cp310-cp310-linux_x86_64.whl size=45334 sha256=94434cb0f9a2946d0d1772c8e632edbfc2048fe1180d680f2030cf6581243174 [2022-04-06T19:59:18.460Z] Stored in directory: /root/.cache/pip/wheels/1d/f3/b4/4aea0992adbed14b36ce9c3857d3707c762a4374479230685d [2022-04-06T19:59:18.460Z] Successfully built yamllint pyyaml [2022-04-06T19:59:18.460Z] Installing collected packages: pyyaml, pathspec, yamllint [2022-04-06T19:59:18.721Z] Successfully installed pathspec-0.9.0 pyyaml-6.0 yamllint-1.26.3 [2022-04-06T19:59:18.721Z] 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 [2022-04-06T19:59:19.681Z] Removing intermediate container 3aecfe3f2aec [2022-04-06T19:59:19.681Z] ---> 6c8aa04e933b [2022-04-06T19:59:19.681Z] Step 3/5 : ENTRYPOINT [ "yamllint" ] [2022-04-06T19:59:19.681Z] ---> Running in 0de59eb99a33 [2022-04-06T19:59:19.681Z] Removing intermediate container 0de59eb99a33 [2022-04-06T19:59:19.681Z] ---> ab7b6f5f6dd0 [2022-04-06T19:59:19.681Z] Step 4/5 : LABEL arch=amd64 [2022-04-06T19:59:19.944Z] ---> Running in 520b87178526 [2022-04-06T19:59:19.944Z] Removing intermediate container 520b87178526 [2022-04-06T19:59:19.944Z] ---> 15f47e433a79 [2022-04-06T19:59:19.944Z] Step 5/5 : LABEL git_sha=95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-04-06T19:59:19.944Z] ---> Running in 8c0d7045aa53 [2022-04-06T19:59:20.205Z] Removing intermediate container 8c0d7045aa53 [2022-04-06T19:59:20.205Z] ---> 279dfd3b15e5 [2022-04-06T19:59:20.205Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T19:59:20.205Z] Successfully built 279dfd3b15e5 [2022-04-06T19:59:20.206Z] Successfully tagged edgex-devops/yamllint:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-04-06T19:59:20.316Z] [edgeXDocker.push] Tagging docker image yamllint with the following tags: [2022-04-06T19:59:20.316Z] 95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-04-06T19:59:20.316Z] latest [2022-04-06T19:59:20.316Z] yamllint [2022-04-06T19:59:20.316Z] latest [2022-04-06T19:59:20.316Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:20.626Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:20.921Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-04-06T19:59:20.921Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-04-06T19:59:20.921Z] 515930d71a57: Preparing [2022-04-06T19:59:20.921Z] 37061676c4d6: Preparing [2022-04-06T19:59:20.921Z] 1c26ebb679f8: Preparing [2022-04-06T19:59:20.921Z] 8e47c95f587f: Preparing [2022-04-06T19:59:20.921Z] fbd7d5451c69: Preparing [2022-04-06T19:59:20.921Z] 4fc242d58285: Preparing [2022-04-06T19:59:20.921Z] 1c26ebb679f8: Pushed [2022-04-06T19:59:20.921Z] 4fc242d58285: Layer already exists [2022-04-06T19:59:21.179Z] fbd7d5451c69: Pushed [2022-04-06T19:59:22.119Z] 37061676c4d6: Pushed [2022-04-06T19:59:23.059Z] 515930d71a57: Pushed [2022-04-06T19:59:24.445Z] 8e47c95f587f: Pushed [2022-04-06T19:59:24.707Z] 95696f7751cc0df78d70088e009b8f06c1aa5024: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:25.010Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:25.305Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [2022-04-06T19:59:25.305Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-04-06T19:59:25.305Z] 515930d71a57: Preparing [2022-04-06T19:59:25.305Z] 37061676c4d6: Preparing [2022-04-06T19:59:25.305Z] 1c26ebb679f8: Preparing [2022-04-06T19:59:25.305Z] 8e47c95f587f: Preparing [2022-04-06T19:59:25.305Z] fbd7d5451c69: Preparing [2022-04-06T19:59:25.305Z] 4fc242d58285: Preparing [2022-04-06T19:59:25.305Z] 4fc242d58285: Waiting [2022-04-06T19:59:25.305Z] 1c26ebb679f8: Layer already exists [2022-04-06T19:59:25.305Z] 8e47c95f587f: Layer already exists [2022-04-06T19:59:25.305Z] 37061676c4d6: Layer already exists [2022-04-06T19:59:25.305Z] fbd7d5451c69: Layer already exists [2022-04-06T19:59:25.305Z] 515930d71a57: Layer already exists [2022-04-06T19:59:25.305Z] 4fc242d58285: Layer already exists [2022-04-06T19:59:25.305Z] latest: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:25.608Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:25.905Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint [2022-04-06T19:59:25.905Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-04-06T19:59:25.905Z] 515930d71a57: Preparing [2022-04-06T19:59:25.905Z] 37061676c4d6: Preparing [2022-04-06T19:59:25.905Z] 1c26ebb679f8: Preparing [2022-04-06T19:59:25.905Z] 8e47c95f587f: Preparing [2022-04-06T19:59:25.905Z] fbd7d5451c69: Preparing [2022-04-06T19:59:25.905Z] 4fc242d58285: Preparing [2022-04-06T19:59:25.905Z] 4fc242d58285: Waiting [2022-04-06T19:59:25.905Z] 515930d71a57: Layer already exists [2022-04-06T19:59:25.905Z] 37061676c4d6: Layer already exists [2022-04-06T19:59:25.905Z] 8e47c95f587f: Layer already exists [2022-04-06T19:59:25.905Z] 1c26ebb679f8: Layer already exists [2022-04-06T19:59:25.905Z] fbd7d5451c69: Layer already exists [2022-04-06T19:59:25.905Z] 4fc242d58285: Layer already exists [2022-04-06T19:59:25.905Z] yamllint: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:26.211Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:26.511Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [2022-04-06T19:59:26.511Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-04-06T19:59:26.511Z] 515930d71a57: Preparing [2022-04-06T19:59:26.511Z] 37061676c4d6: Preparing [2022-04-06T19:59:26.511Z] 1c26ebb679f8: Preparing [2022-04-06T19:59:26.511Z] 8e47c95f587f: Preparing [2022-04-06T19:59:26.511Z] fbd7d5451c69: Preparing [2022-04-06T19:59:26.511Z] 4fc242d58285: Preparing [2022-04-06T19:59:26.511Z] 4fc242d58285: Waiting [2022-04-06T19:59:26.511Z] 1c26ebb679f8: Layer already exists [2022-04-06T19:59:26.511Z] fbd7d5451c69: Layer already exists [2022-04-06T19:59:26.511Z] 515930d71a57: Layer already exists [2022-04-06T19:59:26.511Z] 8e47c95f587f: Layer already exists [2022-04-06T19:59:26.511Z] 37061676c4d6: Layer already exists [2022-04-06T19:59:26.511Z] 4fc242d58285: Layer already exists [2022-04-06T19:59:26.511Z] latest: digest: sha256:53591b576b300786b3ead2d535a47413dc949b4a304493dfd0b79c11cc9df30f size: 1579 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T19:59:26.545Z] ===================================================== [Pipeline] echo [2022-04-06T19:59:26.554Z] taggedImages: [2022-04-06T19:59:26.554Z] - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-04-06T19:59:26.554Z] - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [2022-04-06T19:59:26.554Z] - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint [2022-04-06T19:59:26.554Z] - 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 [2022-04-06T19:59:26.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T19:59:26.933Z] [2022-04-06T19:59:26.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:27.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T19:59:27.234Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T19:59:27.234Z] 5eb5b503b376: Pulling fs layer [2022-04-06T19:59:27.234Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T19:59:27.234Z] ec43610c2a17: Pulling fs layer [2022-04-06T19:59:27.234Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T19:59:27.234Z] 33b1e0a273af: Pulling fs layer [2022-04-06T19:59:27.234Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T19:59:27.234Z] 2f39f015ded8: Pulling fs layer [2022-04-06T19:59:27.234Z] 3a2ae6a8a46f: Waiting [2022-04-06T19:59:27.234Z] 5d3b04190fa2: Waiting [2022-04-06T19:59:27.234Z] 2f39f015ded8: Waiting [2022-04-06T19:59:27.234Z] 33b1e0a273af: Waiting [2022-04-06T19:59:27.234Z] 5c69ac0246d0: Download complete [2022-04-06T19:59:27.234Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T19:59:27.234Z] 3a2ae6a8a46f: Download complete [2022-04-06T19:59:27.234Z] 33b1e0a273af: Verifying Checksum [2022-04-06T19:59:27.234Z] 33b1e0a273af: Download complete [2022-04-06T19:59:27.234Z] ec43610c2a17: Verifying Checksum [2022-04-06T19:59:27.234Z] ec43610c2a17: Download complete [2022-04-06T19:59:27.234Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T19:59:27.234Z] 5d3b04190fa2: Download complete [2022-04-06T19:59:27.495Z] 5eb5b503b376: Verifying Checksum [2022-04-06T19:59:27.495Z] 5eb5b503b376: Download complete [2022-04-06T19:59:28.064Z] 2f39f015ded8: Download complete [2022-04-06T19:59:29.002Z] 5eb5b503b376: Pull complete [2022-04-06T19:59:29.002Z] 5c69ac0246d0: Pull complete [2022-04-06T19:59:29.573Z] ec43610c2a17: Pull complete [2022-04-06T19:59:29.573Z] 3a2ae6a8a46f: Pull complete [2022-04-06T19:59:29.833Z] 33b1e0a273af: Pull complete [2022-04-06T19:59:29.833Z] 5d3b04190fa2: Pull complete [2022-04-06T19:59:35.119Z] 2f39f015ded8: Pull complete [2022-04-06T19:59:35.119Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T19:59:35.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T19:59:35.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T19:59:35.197Z] prd-ubuntu20.04-docker-8c-8g-10979 does not seem to be running inside a container [2022-04-06T19:59:35.232Z] $ 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 [2022-04-06T19:59:36.848Z] $ docker top 2fbc83e7bc34be59dacf18c7d0211d1c33927617aaa0240f0307966a44dbb3d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:37.288Z] ---> job-cost.sh [2022-04-06T19:59:37.288Z] lf-activate-venv: SKIPPING [2022-04-06T19:59:37.288Z] INFO: No Stack... [2022-04-06T19:59:37.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T19:59:38.121Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T19:59:38.415Z] + cat /w/workspace/foundry_ci-build-images_yamllint/archives/cost.csv [2022-04-06T19:59:38.415Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T19:59:38.453Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] [2022-04-06T19:59:38.461Z] Resource [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] did not exist. Created. [2022-04-06T19:59:38.461Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T19:59:38.767Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T19:59:39.010Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T19:59:39.017Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-yamllint-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T19:59:39.032Z] $ docker stop --time=1 2fbc83e7bc34be59dacf18c7d0211d1c33927617aaa0240f0307966a44dbb3d5 [2022-04-06T19:59:40.212Z] $ 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 [2022-04-06T19:59:40.793Z] + [ -d /w/workspace/foundry_ci-build-images_yamllint/archives ] [2022-04-06T19:59:40.793Z] + ls -al /w/workspace/foundry_ci-build-images_yamllint/archives [2022-04-06T19:59:40.793Z] total 16 [2022-04-06T19:59:40.793Z] drwxr-xr-x 3 root root 4096 Apr 6 19:59 . [2022-04-06T19:59:40.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:59 .. [2022-04-06T19:59:40.793Z] drwxr-xr-x 2 root root 4096 Apr 6 19:59 cost [2022-04-06T19:59:40.793Z] -rw-r--r-- 1 root root 87 Apr 6 19:59 cost.csv [2022-04-06T19:59:40.793Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_ci-build-images_yamllint/archives [2022-04-06T19:59:40.793Z] + ls -al /w/workspace/foundry_ci-build-images_yamllint/archives [2022-04-06T19:59:40.793Z] total 16 [2022-04-06T19:59:40.793Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 19:59 . [2022-04-06T19:59:40.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 19:59 .. [2022-04-06T19:59:40.793Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 19:59 cost [2022-04-06T19:59:40.793Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 6 19:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:41.093Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:41.960Z] ---> package-listing.sh [2022-04-06T19:59:41.960Z] ++ facter osfamily [2022-04-06T19:59:41.961Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T19:59:42.222Z] + OS_FAMILY=debian [2022-04-06T19:59:42.222Z] + workspace=/w/workspace/foundry_ci-build-images_yamllint [2022-04-06T19:59:42.222Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T19:59:42.222Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T19:59:42.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T19:59:42.222Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T19:59:42.222Z] + '[' /w/workspace/foundry_ci-build-images_yamllint ']' [2022-04-06T19:59:42.222Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T19:59:42.222Z] + case "${OS_FAMILY}" in [2022-04-06T19:59:42.222Z] + dpkg -l [2022-04-06T19:59:42.222Z] + grep '^ii' [2022-04-06T19:59:42.222Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T19:59:42.222Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T19:59:42.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T19:59:42.222Z] + '[' /w/workspace/foundry_ci-build-images_yamllint ']' [2022-04-06T19:59:42.222Z] + mkdir -p /w/workspace/foundry_ci-build-images_yamllint/archives/ [2022-04-06T19:59:42.222Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_ci-build-images_yamllint/archives/ [Pipeline] echo [2022-04-06T19:59:42.235Z] 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 [2022-04-06T19:59:42.521Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T19:59:43.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T19:59:43.082Z] . [Pipeline] withDockerContainer [2022-04-06T19:59:43.153Z] prd-ubuntu20.04-docker-8c-8g-10979 does not seem to be running inside a container [2022-04-06T19:59:43.190Z] $ 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 [2022-04-06T19:59:43.470Z] $ docker top 9bfeca9532f85db5c32b9073b0c42c16ce5e6594c43254f50839d110ce9276a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T19:59:43.829Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T19:59:44.125Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T19:59:44.510Z] + ls /var/log/sa-host [2022-04-06T19:59:44.510Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T19:59:44.594Z] provisioning config files... [2022-04-06T19:59:44.611Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config8526178168231266706tmp [Pipeline] { [Pipeline] echo [2022-04-06T19:59:44.632Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:44.921Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T19:59:44.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:45.258Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T19:59:45.268Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:45.551Z] ---> sudo-logs.sh [2022-04-06T19:59:45.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T19:59:45.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:45.885Z] ---> job-cost.sh [2022-04-06T19:59:45.885Z] lf-activate-venv: SKIPPING [2022-04-06T19:59:45.885Z] DEBUG: total: 0.2199999988079071 [2022-04-06T19:59:45.885Z] INFO: Retrieving Stack Cost... [2022-04-06T19:59:45.885Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T19:59:46.457Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T19:59:46.470Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T19:59:46.761Z] ---> logs-deploy.sh [2022-04-06T19:59:46.761Z] lf-activate-venv: SKIPPING [2022-04-06T19:59:46.761Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/yamllint/2 [2022-04-06T19:59:46.761Z] INFO: archiving workspace using pattern(s): [2022-04-06T19:59:47.703Z] Archives upload complete. [2022-04-06T19:59:47.703Z] INFO: archiving logs to Nexus