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-ssh1885640766684523798.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12386716211008184039.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/yamllint/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2467924286429871080.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15207330760886188441.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh16467393136130945050.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8005400462651832116.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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 on ‘prd-ubuntu20.04-docker-8c-8g-7652’ Running on prd-ubuntu20.04-docker-8c-8g-7655 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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) Commit message: "Merge pull request #119 from lranjbar/yamllint-image" > 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 > git rev-list --no-walk 95696f7751cc0df78d70088e009b8f06c1aa5024 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-11T16:17:51.297Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-11T16:17:51.338Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-11T16:17:51.354Z] ========================================================= [2022-10-11T16:17:51.354Z] EdgeX Global Pipelines Version Info [2022-10-11T16:17:51.354Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:17:52.045Z] ------------------- [2022-10-11T16:17:52.045Z] stable info: [2022-10-11T16:17:52.045Z] ------------------- [2022-10-11T16:17:52.045Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-11T16:17:52.045Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T16:17:52.045Z] Message: update stable to v1.0.239 [2022-10-11T16:17:52.612Z] ------------------- [2022-10-11T16:17:52.612Z] experimental info: [2022-10-11T16:17:52.612Z] ------------------- [2022-10-11T16:17:52.612Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-11T16:17:52.612Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T16:17:52.612Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-10-11T16:17:52.743Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-10-11T16:17:52.750Z] [edgeXSetupEnvironment]: set envvar PROJECT = yamllint [Pipeline] echo [2022-10-11T16:17:52.763Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-10-11T16:17:52.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-11T16:17:52.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-11T16:17:52.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = yamllint [Pipeline] echo [2022-10-11T16:17:52.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-10-11T16:17:52.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-10-11T16:17:52.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-10-11T16:17:52.826Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T16:17:52.837Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-10-11T16:17:52.846Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = yamllint-archive.tar.gz [Pipeline] echo [2022-10-11T16:17:52.855Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-11T16:17:52.864Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-11T16:17:52.872Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = yamllint [Pipeline] echo [2022-10-11T16:17:52.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo [2022-10-11T16:17:52.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = yamllint [Pipeline] echo [2022-10-11T16:17:52.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = yamllint [Pipeline] echo [2022-10-11T16:17:52.906Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = yamllint [Pipeline] echo [2022-10-11T16:17:52.915Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95696f7751cc0df78d70088e009b8f06c1aa5024 [Pipeline] echo [2022-10-11T16:17:52.923Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95696f7 [Pipeline] echo [2022-10-11T16:17:52.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T16:17:52.965Z] provisioning config files... [2022-10-11T16:17:52.978Z] copy managed file [ci-build-images-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config3686996745258865914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:17:53.282Z] ---> docker-login.sh [2022-10-11T16:17:53.282Z] nexus3.edgexfoundry.org:10001 [2022-10-11T16:17:53.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:53.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:53.852Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:53.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:53.852Z] [2022-10-11T16:17:53.852Z] Login Succeeded [2022-10-11T16:17:53.852Z] nexus3.edgexfoundry.org:10002 [2022-10-11T16:17:53.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:54.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:54.112Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:54.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:54.112Z] [2022-10-11T16:17:54.112Z] Login Succeeded [2022-10-11T16:17:54.112Z] nexus3.edgexfoundry.org:10003 [2022-10-11T16:17:54.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:54.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:54.112Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:54.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:54.112Z] [2022-10-11T16:17:54.112Z] Login Succeeded [2022-10-11T16:17:54.112Z] nexus3.edgexfoundry.org:10004 [2022-10-11T16:17:54.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:54.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:54.112Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:54.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:54.112Z] [2022-10-11T16:17:54.112Z] Login Succeeded [2022-10-11T16:17:54.373Z] docker.io [2022-10-11T16:17:54.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:54.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:54.632Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:54.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:54.632Z] [2022-10-11T16:17:54.632Z] Login Succeeded [2022-10-11T16:17:54.632Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T16:17:54.640Z] 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-10-11T16:17:54.834Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2022-10-11T16:17:54.844Z] copy managed file [ci-build-images-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config13073632927031703852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:17:55.140Z] ---> docker-login.sh [2022-10-11T16:17:55.140Z] nexus3.edgexfoundry.org:10001 [2022-10-11T16:17:55.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:55.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:55.140Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:55.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:55.140Z] [2022-10-11T16:17:55.140Z] Login Succeeded [2022-10-11T16:17:55.140Z] nexus3.edgexfoundry.org:10002 [2022-10-11T16:17:55.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:55.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:55.140Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:55.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:55.140Z] [2022-10-11T16:17:55.140Z] Login Succeeded [2022-10-11T16:17:55.140Z] nexus3.edgexfoundry.org:10003 [2022-10-11T16:17:55.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:55.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:55.399Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:55.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:55.399Z] [2022-10-11T16:17:55.399Z] Login Succeeded [2022-10-11T16:17:55.399Z] nexus3.edgexfoundry.org:10004 [2022-10-11T16:17:55.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:55.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:55.399Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:55.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:55.399Z] [2022-10-11T16:17:55.399Z] Login Succeeded [2022-10-11T16:17:55.399Z] docker.io [2022-10-11T16:17:55.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T16:17:55.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T16:17:55.922Z] Configure a credential helper to remove this warning. See [2022-10-11T16:17:55.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T16:17:55.922Z] [2022-10-11T16:17:55.922Z] Login Succeeded [2022-10-11T16:17:55.922Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T16:17:55.930Z] 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-10-11T16:17:56.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T16:17:56.709Z] + ls -al . [2022-10-11T16:17:56.709Z] total 20 [2022-10-11T16:17:56.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 16:17 . [2022-10-11T16:17:56.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 16:17 .. [2022-10-11T16:17:56.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 16:17 .git [2022-10-11T16:17:56.709Z] -rw-rw-r-- 1 jenkins jenkins 73 Oct 11 16:17 Dockerfile [2022-10-11T16:17:56.709Z] -rw-rw-r-- 1 jenkins jenkins 889 Oct 11 16:17 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:17:57.049Z] + docker build -t edgex-devops/yamllint -f Dockerfile --build-arg ARCH=amd64 --label git_sha=95696f7751cc0df78d70088e009b8f06c1aa5024 --label arch=amd64 . [2022-10-11T16:17:57.050Z] Sending build context to Docker daemon 433.7kB [2022-10-11T16:17:57.050Z] Step 1/5 : FROM python:3-alpine [2022-10-11T16:17:57.994Z] 3-alpine: Pulling from library/python [2022-10-11T16:17:57.994Z] 213ec9aee27d: Pulling fs layer [2022-10-11T16:17:57.994Z] 47858aee13bf: Pulling fs layer [2022-10-11T16:17:57.994Z] 7cd8ea6e04a3: Pulling fs layer [2022-10-11T16:17:57.994Z] b5146d7f5f1f: Pulling fs layer [2022-10-11T16:17:57.994Z] 91e8f1b6e067: Pulling fs layer [2022-10-11T16:17:57.994Z] b5146d7f5f1f: Waiting [2022-10-11T16:17:57.994Z] 91e8f1b6e067: Waiting [2022-10-11T16:17:58.275Z] 47858aee13bf: Verifying Checksum [2022-10-11T16:17:58.275Z] 47858aee13bf: Download complete [2022-10-11T16:17:58.275Z] 213ec9aee27d: Verifying Checksum [2022-10-11T16:17:58.275Z] 213ec9aee27d: Download complete [2022-10-11T16:17:58.540Z] b5146d7f5f1f: Verifying Checksum [2022-10-11T16:17:58.540Z] b5146d7f5f1f: Download complete [2022-10-11T16:17:58.540Z] 213ec9aee27d: Pull complete [2022-10-11T16:17:58.540Z] 7cd8ea6e04a3: Verifying Checksum [2022-10-11T16:17:58.540Z] 7cd8ea6e04a3: Download complete [2022-10-11T16:17:58.540Z] 91e8f1b6e067: Verifying Checksum [2022-10-11T16:17:58.540Z] 91e8f1b6e067: Download complete [2022-10-11T16:17:58.800Z] 47858aee13bf: Pull complete [2022-10-11T16:17:59.060Z] 7cd8ea6e04a3: Pull complete [2022-10-11T16:17:59.321Z] b5146d7f5f1f: Pull complete [2022-10-11T16:17:59.580Z] 91e8f1b6e067: Pull complete [2022-10-11T16:17:59.580Z] Digest: sha256:486782edd7f7363ffdc256fc952265a5cbe0a6e047a6a1ff51871d2cdb665351 [2022-10-11T16:17:59.580Z] Status: Downloaded newer image for python:3-alpine [2022-10-11T16:17:59.580Z] ---> 2bbcf2f78d64 [2022-10-11T16:17:59.580Z] Step 2/5 : RUN pip install yamllint [2022-10-11T16:18:00.177Z] ---> Running in 28b4095ef8f3 [2022-10-11T16:18:02.088Z] Collecting yamllint [2022-10-11T16:18:02.088Z] Downloading yamllint-1.28.0-py2.py3-none-any.whl (62 kB) [2022-10-11T16:18:02.347Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.4/62.4 kB 5.2 MB/s eta 0:00:00 [2022-10-11T16:18:02.347Z] Collecting pyyaml [2022-10-11T16:18:02.347Z] Downloading PyYAML-6.0.tar.gz (124 kB) [2022-10-11T16:18:02.347Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 kB 11.3 MB/s eta 0:00:00 [2022-10-11T16:18:02.347Z] Installing build dependencies: started [2022-10-11T16:18:05.649Z] Installing build dependencies: finished with status 'done' [2022-10-11T16:18:05.650Z] Getting requirements to build wheel: started [2022-10-11T16:18:05.909Z] Getting requirements to build wheel: finished with status 'done' [2022-10-11T16:18:05.909Z] Preparing metadata (pyproject.toml): started [2022-10-11T16:18:06.169Z] Preparing metadata (pyproject.toml): finished with status 'done' [2022-10-11T16:18:06.427Z] Collecting pathspec>=0.5.3 [2022-10-11T16:18:06.427Z] Downloading pathspec-0.10.1-py3-none-any.whl (27 kB) [2022-10-11T16:18:06.427Z] Requirement already satisfied: setuptools in /usr/local/lib/python3.10/site-packages (from yamllint) (63.2.0) [2022-10-11T16:18:06.427Z] Building wheels for collected packages: pyyaml [2022-10-11T16:18:06.427Z] Building wheel for pyyaml (pyproject.toml): started [2022-10-11T16:18:06.694Z] Building wheel for pyyaml (pyproject.toml): finished with status 'done' [2022-10-11T16:18:06.694Z] Created wheel for pyyaml: filename=PyYAML-6.0-cp310-cp310-linux_x86_64.whl size=45330 sha256=c18a10cd165e35d8288443b9591aea3254fdbaaceb072dd85f287080f59cfd70 [2022-10-11T16:18:06.694Z] Stored in directory: /root/.cache/pip/wheels/1d/f3/b4/4aea0992adbed14b36ce9c3857d3707c762a4374479230685d [2022-10-11T16:18:06.694Z] Successfully built pyyaml [2022-10-11T16:18:06.694Z] Installing collected packages: pyyaml, pathspec, yamllint [2022-10-11T16:18:06.952Z] Successfully installed pathspec-0.10.1 pyyaml-6.0 yamllint-1.28.0 [2022-10-11T16:18:06.952Z] 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-10-11T16:18:07.899Z] Removing intermediate container 28b4095ef8f3 [2022-10-11T16:18:07.899Z] ---> 259c053de995 [2022-10-11T16:18:07.899Z] Step 3/5 : ENTRYPOINT [ "yamllint" ] [2022-10-11T16:18:07.899Z] ---> Running in 29fdb690b394 [2022-10-11T16:18:07.899Z] Removing intermediate container 29fdb690b394 [2022-10-11T16:18:07.899Z] ---> f4a10bdef501 [2022-10-11T16:18:07.899Z] Step 4/5 : LABEL arch=amd64 [2022-10-11T16:18:07.899Z] ---> Running in bee1b6e4deea [2022-10-11T16:18:08.158Z] Removing intermediate container bee1b6e4deea [2022-10-11T16:18:08.158Z] ---> ac3f0f0ed052 [2022-10-11T16:18:08.158Z] Step 5/5 : LABEL git_sha=95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-10-11T16:18:08.158Z] ---> Running in 6331ffa36fa7 [2022-10-11T16:18:08.158Z] Removing intermediate container 6331ffa36fa7 [2022-10-11T16:18:08.158Z] ---> 07b0b6df4052 [2022-10-11T16:18:08.158Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T16:18:08.158Z] Successfully built 07b0b6df4052 [2022-10-11T16:18:08.158Z] Successfully tagged edgex-devops/yamllint:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-10-11T16:18:08.273Z] [edgeXDocker.push] Tagging docker image yamllint with the following tags: [2022-10-11T16:18:08.273Z] 95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-10-11T16:18:08.273Z] latest [2022-10-11T16:18:08.273Z] yamllint [2022-10-11T16:18:08.273Z] latest [2022-10-11T16:18:08.273Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:08.586Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:08.889Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-10-11T16:18:08.889Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-10-11T16:18:08.889Z] cacea7898075: Preparing [2022-10-11T16:18:08.889Z] 81c651a6a5bb: Preparing [2022-10-11T16:18:08.889Z] 5f0b8139d1f5: Preparing [2022-10-11T16:18:08.889Z] 13dae11dbef1: Preparing [2022-10-11T16:18:08.889Z] 6666686122fd: Preparing [2022-10-11T16:18:08.889Z] 994393dc58e7: Preparing [2022-10-11T16:18:08.889Z] 994393dc58e7: Waiting [2022-10-11T16:18:08.889Z] 5f0b8139d1f5: Pushed [2022-10-11T16:18:08.889Z] 994393dc58e7: Layer already exists [2022-10-11T16:18:09.147Z] 6666686122fd: Pushed [2022-10-11T16:18:10.079Z] 81c651a6a5bb: Pushed [2022-10-11T16:18:10.079Z] cacea7898075: Pushed [2022-10-11T16:18:11.984Z] 13dae11dbef1: Pushed [2022-10-11T16:18:11.984Z] 95696f7751cc0df78d70088e009b8f06c1aa5024: digest: sha256:8b720670673dd541535420e5a6542c1f1bb21bc66604976949aeb90fcbf21cf4 size: 1579 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:12.296Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:12.602Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [2022-10-11T16:18:12.602Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-10-11T16:18:12.602Z] cacea7898075: Preparing [2022-10-11T16:18:12.602Z] 81c651a6a5bb: Preparing [2022-10-11T16:18:12.602Z] 5f0b8139d1f5: Preparing [2022-10-11T16:18:12.602Z] 13dae11dbef1: Preparing [2022-10-11T16:18:12.602Z] 6666686122fd: Preparing [2022-10-11T16:18:12.602Z] 994393dc58e7: Preparing [2022-10-11T16:18:12.602Z] 994393dc58e7: Waiting [2022-10-11T16:18:12.602Z] 13dae11dbef1: Layer already exists [2022-10-11T16:18:12.602Z] cacea7898075: Layer already exists [2022-10-11T16:18:12.602Z] 81c651a6a5bb: Layer already exists [2022-10-11T16:18:12.602Z] 6666686122fd: Layer already exists [2022-10-11T16:18:12.602Z] 5f0b8139d1f5: Layer already exists [2022-10-11T16:18:12.602Z] 994393dc58e7: Layer already exists [2022-10-11T16:18:12.602Z] latest: digest: sha256:8b720670673dd541535420e5a6542c1f1bb21bc66604976949aeb90fcbf21cf4 size: 1579 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:12.912Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:13.215Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint [2022-10-11T16:18:13.215Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-10-11T16:18:13.215Z] cacea7898075: Preparing [2022-10-11T16:18:13.215Z] 81c651a6a5bb: Preparing [2022-10-11T16:18:13.215Z] 5f0b8139d1f5: Preparing [2022-10-11T16:18:13.215Z] 13dae11dbef1: Preparing [2022-10-11T16:18:13.215Z] 6666686122fd: Preparing [2022-10-11T16:18:13.215Z] 994393dc58e7: Preparing [2022-10-11T16:18:13.215Z] 994393dc58e7: Waiting [2022-10-11T16:18:13.215Z] 13dae11dbef1: Layer already exists [2022-10-11T16:18:13.215Z] 5f0b8139d1f5: Layer already exists [2022-10-11T16:18:13.215Z] 81c651a6a5bb: Layer already exists [2022-10-11T16:18:13.215Z] cacea7898075: Layer already exists [2022-10-11T16:18:13.215Z] 6666686122fd: Layer already exists [2022-10-11T16:18:13.215Z] 994393dc58e7: Layer already exists [2022-10-11T16:18:13.215Z] yamllint: digest: sha256:8b720670673dd541535420e5a6542c1f1bb21bc66604976949aeb90fcbf21cf4 size: 1579 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:13.517Z] + docker tag edgex-devops/yamllint nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:13.820Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [2022-10-11T16:18:13.820Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/yamllint] [2022-10-11T16:18:13.820Z] cacea7898075: Preparing [2022-10-11T16:18:13.820Z] 81c651a6a5bb: Preparing [2022-10-11T16:18:13.820Z] 5f0b8139d1f5: Preparing [2022-10-11T16:18:13.820Z] 13dae11dbef1: Preparing [2022-10-11T16:18:13.820Z] 6666686122fd: Preparing [2022-10-11T16:18:13.820Z] 994393dc58e7: Preparing [2022-10-11T16:18:13.820Z] 994393dc58e7: Waiting [2022-10-11T16:18:13.820Z] 81c651a6a5bb: Layer already exists [2022-10-11T16:18:13.820Z] 6666686122fd: Layer already exists [2022-10-11T16:18:13.820Z] cacea7898075: Layer already exists [2022-10-11T16:18:13.820Z] 13dae11dbef1: Layer already exists [2022-10-11T16:18:13.820Z] 5f0b8139d1f5: Layer already exists [2022-10-11T16:18:13.820Z] 994393dc58e7: Layer already exists [2022-10-11T16:18:13.820Z] latest: digest: sha256:8b720670673dd541535420e5a6542c1f1bb21bc66604976949aeb90fcbf21cf4 size: 1579 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-11T16:18:13.856Z] ===================================================== [Pipeline] echo [2022-10-11T16:18:13.862Z] taggedImages: [2022-10-11T16:18:13.862Z] - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:95696f7751cc0df78d70088e009b8f06c1aa5024 [2022-10-11T16:18:13.862Z] - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:latest [2022-10-11T16:18:13.862Z] - nexus3.edgexfoundry.org:10003/edgex-devops/yamllint:yamllint [2022-10-11T16:18:13.862Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:14.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T16:18:14.212Z] [2022-10-11T16:18:14.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:14.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T16:18:14.505Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-11T16:18:14.505Z] 5eb5b503b376: Pulling fs layer [2022-10-11T16:18:14.505Z] 5c69ac0246d0: Pulling fs layer [2022-10-11T16:18:14.505Z] ec43610c2a17: Pulling fs layer [2022-10-11T16:18:14.505Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-11T16:18:14.505Z] 33b1e0a273af: Pulling fs layer [2022-10-11T16:18:14.505Z] 5d3b04190fa2: Pulling fs layer [2022-10-11T16:18:14.505Z] 2f39f015ded8: Pulling fs layer [2022-10-11T16:18:14.505Z] 5d3b04190fa2: Waiting [2022-10-11T16:18:14.505Z] 3a2ae6a8a46f: Waiting [2022-10-11T16:18:14.505Z] 33b1e0a273af: Waiting [2022-10-11T16:18:14.505Z] 2f39f015ded8: Waiting [2022-10-11T16:18:14.505Z] 5c69ac0246d0: Verifying Checksum [2022-10-11T16:18:14.505Z] 5c69ac0246d0: Download complete [2022-10-11T16:18:14.505Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-11T16:18:14.505Z] 3a2ae6a8a46f: Download complete [2022-10-11T16:18:14.505Z] 33b1e0a273af: Verifying Checksum [2022-10-11T16:18:14.505Z] 33b1e0a273af: Download complete [2022-10-11T16:18:14.505Z] 5d3b04190fa2: Verifying Checksum [2022-10-11T16:18:14.505Z] 5d3b04190fa2: Download complete [2022-10-11T16:18:14.764Z] ec43610c2a17: Verifying Checksum [2022-10-11T16:18:14.764Z] 5eb5b503b376: Download complete [2022-10-11T16:18:15.330Z] 2f39f015ded8: Download complete [2022-10-11T16:18:15.896Z] 5eb5b503b376: Pull complete [2022-10-11T16:18:15.896Z] 5c69ac0246d0: Pull complete [2022-10-11T16:18:16.461Z] ec43610c2a17: Pull complete [2022-10-11T16:18:16.461Z] 3a2ae6a8a46f: Pull complete [2022-10-11T16:18:16.719Z] 33b1e0a273af: Pull complete [2022-10-11T16:18:16.719Z] 5d3b04190fa2: Pull complete [2022-10-11T16:18:20.908Z] 2f39f015ded8: Pull complete [2022-10-11T16:18:20.908Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-11T16:18:20.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T16:18:20.908Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T16:18:20.982Z] prd-ubuntu20.04-docker-8c-8g-7655 does not seem to be running inside a container [2022-10-11T16:18:21.009Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T16:18:23.854Z] $ docker top fe408000870825a57a83bb354945007ed6638d8ac10c6b0c08fb5cef3bd4d36b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:24.225Z] ---> job-cost.sh [2022-10-11T16:18:24.226Z] lf-activate-venv: SKIPPING [2022-10-11T16:18:24.226Z] INFO: No Stack... [2022-10-11T16:18:24.487Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T16:18:24.746Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T16:18:25.031Z] + cat /w/workspace/foundry_ci-build-images_yamllint/archives/cost.csv [2022-10-11T16:18:25.031Z] + cut -d, -f6 [Pipeline] lock [2022-10-11T16:18:25.063Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-yamllint-3-stack-cost] [2022-10-11T16:18:25.071Z] Resource [jenkins-edgexfoundry-ci-build-images-yamllint-3-stack-cost] did not exist. Created. [2022-10-11T16:18:25.071Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-yamllint-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T16:18:25.367Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-11T16:18:25.520Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T16:18:25.527Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-yamllint-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T16:18:25.543Z] $ docker stop --time=1 fe408000870825a57a83bb354945007ed6638d8ac10c6b0c08fb5cef3bd4d36b [2022-10-11T16:18:26.692Z] $ docker rm -f fe408000870825a57a83bb354945007ed6638d8ac10c6b0c08fb5cef3bd4d36b [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-10-11T16:18:27.284Z] + [ -d /w/workspace/foundry_ci-build-images_yamllint/archives ] [2022-10-11T16:18:27.284Z] + ls -al /w/workspace/foundry_ci-build-images_yamllint/archives [2022-10-11T16:18:27.284Z] total 16 [2022-10-11T16:18:27.284Z] drwxr-xr-x 3 root root 4096 Oct 11 16:18 . [2022-10-11T16:18:27.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 16:18 .. [2022-10-11T16:18:27.284Z] drwxr-xr-x 2 root root 4096 Oct 11 16:18 cost [2022-10-11T16:18:27.284Z] -rw-r--r-- 1 root root 88 Oct 11 16:18 cost.csv [2022-10-11T16:18:27.284Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_ci-build-images_yamllint/archives [2022-10-11T16:18:27.284Z] + ls -al /w/workspace/foundry_ci-build-images_yamllint/archives [2022-10-11T16:18:27.284Z] total 16 [2022-10-11T16:18:27.284Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 16:18 . [2022-10-11T16:18:27.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 16:18 .. [2022-10-11T16:18:27.284Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 16:18 cost [2022-10-11T16:18:27.284Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 11 16:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:27.579Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:28.437Z] ---> package-listing.sh [2022-10-11T16:18:28.437Z] ++ facter osfamily [2022-10-11T16:18:28.437Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-11T16:18:28.437Z] + OS_FAMILY=debian [2022-10-11T16:18:28.437Z] + workspace=/w/workspace/foundry_ci-build-images_yamllint [2022-10-11T16:18:28.437Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-11T16:18:28.437Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-11T16:18:28.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-11T16:18:28.437Z] + PACKAGES=/tmp/packages_start.txt [2022-10-11T16:18:28.437Z] + '[' /w/workspace/foundry_ci-build-images_yamllint ']' [2022-10-11T16:18:28.437Z] + PACKAGES=/tmp/packages_end.txt [2022-10-11T16:18:28.437Z] + case "${OS_FAMILY}" in [2022-10-11T16:18:28.437Z] + dpkg -l [2022-10-11T16:18:28.437Z] + grep '^ii' [2022-10-11T16:18:28.698Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-11T16:18:28.698Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-11T16:18:28.698Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-11T16:18:28.698Z] + '[' /w/workspace/foundry_ci-build-images_yamllint ']' [2022-10-11T16:18:28.698Z] + mkdir -p /w/workspace/foundry_ci-build-images_yamllint/archives/ [2022-10-11T16:18:28.698Z] + 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-10-11T16:18:28.711Z] 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-10-11T16:18:28.989Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T16:18:29.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T16:18:29.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T16:18:29.603Z] prd-ubuntu20.04-docker-8c-8g-7655 does not seem to be running inside a container [2022-10-11T16:18:29.631Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T16:18:29.830Z] $ docker top f18755099c3c505362e0224c10ea9d4f4fea4147bc749bdcb4ef3cd5ef19c944 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T16:18:30.167Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-11T16:18:30.454Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-11T16:18:30.740Z] + ls /var/log/sa-host [2022-10-11T16:18:30.740Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T16:18:30.909Z] provisioning config files... [2022-10-11T16:18:30.923Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_ci-build-images_yamllint@tmp/config4417965391298233640tmp [Pipeline] { [Pipeline] echo [2022-10-11T16:18:30.935Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:31.217Z] ---> create-netrc.sh [Pipeline] } [2022-10-11T16:18:31.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:31.545Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-11T16:18:31.553Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:31.841Z] ---> sudo-logs.sh [2022-10-11T16:18:31.841Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-11T16:18:31.887Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:32.165Z] ---> job-cost.sh [2022-10-11T16:18:32.165Z] lf-activate-venv: SKIPPING [2022-10-11T16:18:32.165Z] DEBUG: total: 0.2199999988079071 [2022-10-11T16:18:32.165Z] INFO: Retrieving Stack Cost... [2022-10-11T16:18:32.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T16:18:32.425Z] INFO: Archiving Costs [Pipeline] echo [2022-10-11T16:18:32.437Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T16:18:32.721Z] ---> logs-deploy.sh [2022-10-11T16:18:32.721Z] lf-activate-venv: SKIPPING [2022-10-11T16:18:32.721Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/yamllint/3 [2022-10-11T16:18:32.721Z] INFO: archiving workspace using pattern(s): [2022-10-11T16:18:33.659Z] Archives upload complete. [2022-10-11T16:18:33.659Z] INFO: archiving logs to Nexus