Pull request #4348 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from acab3000bbde3a490f585ac266ee2236694d790e+15a983a6f6d5b88e20add8024b7e596911b920c9 (8c5e8c3feaa1829ab11781151bac25e56915355b) 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-ssh2481031702138564442.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10242737616547800882.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/edgex-go/branches/PR-4348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9697688128861305206.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14436683031974143276.key > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/edgex-go/branches/PR-4348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh771996195997339397.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5592’ Running on prd-ubuntu20.04-docker-8c-8g-5595 in /w/workspace/edgexfoundry_edgex-go_PR-4348 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.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/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4348/head:refs/remotes/origin/PR-4348 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 15a983a6f6d5b88e20add8024b7e596911b920c9 into PR head commit acab3000bbde3a490f585ac266ee2236694d790e Merge succeeded, producing acab3000bbde3a490f585ac266ee2236694d790e Checking out Revision acab3000bbde3a490f585ac266ee2236694d790e (PR-4348) > git config core.sparsecheckout # timeout=10 > git checkout -f acab3000bbde3a490f585ac266ee2236694d790e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 15a983a6f6d5b88e20add8024b7e596911b920c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acab3000bbde3a490f585ac266ee2236694d790e # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:23:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:23:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:23:17 ========================================================= 19:23:17 EdgeX Global Pipelines Version Info 19:23:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8f5c73331d667141192dd2c14e430203f49baa98 # timeout=10 19:23:17 ------------------- 19:23:17 stable info: 19:23:17 ------------------- 19:23:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:23:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:23:17 Message: update stable to v1.0.244 19:23:18 ------------------- 19:23:18 experimental info: 19:23:18 ------------------- 19:23:18 Commited By: **** collab-it+edgex@linuxfoundation.org 19:23:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:23:18 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4348 [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4348 [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4348 [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acab3000bbde3a490f585ac266ee2236694d790e [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acab300 [Pipeline] echo 19:23:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:23:18 provisioning config files... 19:23:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6071703241203099673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:23:19 ---> docker-login.sh 19:23:19 nexus3.edgexfoundry.org:10001 19:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:19 Configure a credential helper to remove this warning. See 19:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:19 19:23:19 Login Succeeded 19:23:19 nexus3.edgexfoundry.org:10002 19:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:19 Configure a credential helper to remove this warning. See 19:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:19 19:23:19 Login Succeeded 19:23:19 nexus3.edgexfoundry.org:10003 19:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:19 Configure a credential helper to remove this warning. See 19:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:19 19:23:19 Login Succeeded 19:23:19 nexus3.edgexfoundry.org:10004 19:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:20 Configure a credential helper to remove this warning. See 19:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:20 19:23:20 Login Succeeded 19:23:20 docker.io 19:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:20 Configure a credential helper to remove this warning. See 19:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:20 19:23:20 Login Succeeded 19:23:20 ---> docker-login.sh ends [Pipeline] } 19:23:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:23:20 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 19:23:20 + dirname cmd/core-command/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo core-command,cmd/core-command/Dockerfile 19:23:20 + + dirname cmd/core-common-config-bootstrapper/Dockerfile 19:23:20 cut -d/ -f2 19:23:20 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 19:23:20 + + dirname cmd/core-data/Dockerfile 19:23:20 cut -d/ -f2 19:23:20 + echo core-data,cmd/core-data/Dockerfile 19:23:20 + dirname cmd/core-metadata/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo core-metadata,cmd/core-metadata/Dockerfile 19:23:20 + dirname cmd/security-bootstrapper/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 19:23:20 + dirname cmd/security-proxy-setup/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 19:23:20 + dirname cmd/security-secretstore-setup/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 19:23:20 + dirname cmd/security-spiffe-token-provider/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 19:23:20 + dirname cmd/security-spire-agent/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 19:23:20 + dirname cmd/security-spire-config/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo security-spire-config,cmd/security-spire-config/Dockerfile 19:23:20 + dirname cmd/security-spire-server/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo security-spire-server,cmd/security-spire-server/Dockerfile 19:23:20 + dirname cmd/support-notifications/Dockerfile 19:23:20 + cut -d/ -f2 19:23:20 + echo support-notifications,cmd/support-notifications/Dockerfile 19:23:20 + + dirnamecut cmd/support-scheduler/Dockerfile -d/ 19:23:20 -f2 19:23:20 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 19:23:20 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:23:21 + git rev-list -1 --merges acab3000bbde3a490f585ac266ee2236694d790e~1..acab3000bbde3a490f585ac266ee2236694d790e [Pipeline] echo 19:23:21 -----------> git rev-list -1 --merges acab3000bbde3a490f585ac266ee2236694d790e~1..acab3000bbde3a490f585ac266ee2236694d790e acab3000bbde3a490f585ac266ee2236694d790e [false] [Pipeline] sh 19:23:21 + git log --format=format:%s -1 acab3000bbde3a490f585ac266ee2236694d790e [Pipeline] echo 19:23:21 ========================================================= 19:23:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:23:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:23:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:23:21 + grep -v github /etc/ssh/ssh_known_hosts 19:23:21 + [ -e /tmp/ssh_known_hosts ] 19:23:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:23:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:23:21 + sudo tee -a /etc/ssh/ssh_known_hosts 19:23:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:23:22 19:23:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:23:22 0.1.4: Pulling from edgex-devops/py-git-semver 19:23:22 b85a868b505f: Pulling fs layer 19:23:22 e2be974225ed: Pulling fs layer 19:23:22 339a4e72a1f5: Pulling fs layer 19:23:22 988bab9f4d93: Pulling fs layer 19:23:22 1469e6f7b9e6: Pulling fs layer 19:23:22 eaf3925da568: Pulling fs layer 19:23:22 bab4dde63d76: Pulling fs layer 19:23:22 bde34c3a00c8: Pulling fs layer 19:23:22 b352a97aabf1: Pulling fs layer 19:23:22 4872d77fe225: Pulling fs layer 19:23:22 5851b861e8e6: Pulling fs layer 19:23:22 bab4dde63d76: Waiting 19:23:22 bde34c3a00c8: Waiting 19:23:22 988bab9f4d93: Waiting 19:23:22 1469e6f7b9e6: Waiting 19:23:22 eaf3925da568: Waiting 19:23:22 4872d77fe225: Waiting 19:23:22 5851b861e8e6: Waiting 19:23:22 b352a97aabf1: Waiting 19:23:22 e2be974225ed: Verifying Checksum 19:23:22 e2be974225ed: Download complete 19:23:22 988bab9f4d93: Download complete 19:23:22 1469e6f7b9e6: Verifying Checksum 19:23:22 1469e6f7b9e6: Download complete 19:23:22 eaf3925da568: Verifying Checksum 19:23:22 eaf3925da568: Download complete 19:23:22 339a4e72a1f5: Verifying Checksum 19:23:22 339a4e72a1f5: Download complete 19:23:22 bde34c3a00c8: Verifying Checksum 19:23:22 bde34c3a00c8: Download complete 19:23:22 4872d77fe225: Download complete 19:23:22 5851b861e8e6: Download complete 19:23:22 b85a868b505f: Verifying Checksum 19:23:22 b85a868b505f: Download complete 19:23:23 bab4dde63d76: Verifying Checksum 19:23:23 bab4dde63d76: Download complete 19:23:24 b85a868b505f: Pull complete 19:23:24 e2be974225ed: Pull complete 19:23:25 339a4e72a1f5: Pull complete 19:23:25 988bab9f4d93: Pull complete 19:23:25 1469e6f7b9e6: Pull complete 19:23:25 eaf3925da568: Pull complete 19:23:27 bab4dde63d76: Pull complete 19:23:27 bde34c3a00c8: Pull complete 19:23:27 b352a97aabf1: Pull complete 19:23:27 4872d77fe225: Pull complete 19:23:27 5851b861e8e6: Pull complete 19:23:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:23:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:27 prd-ubuntu20.04-docker-8c-8g-5595 does not seem to be running inside a container 19:23:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:23:29 $ docker top 264820dacb6dad7dc9937cf04f51f72d4c9d0053becf40df76ca97d1c98ffdf7 -eo pid,comm 19:23:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:23:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:23:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:23:29 [ssh-agent] Looking for ssh-agent implementation... 19:23:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:23:29 $ docker exec 264820dacb6dad7dc9937cf04f51f72d4c9d0053becf40df76ca97d1c98ffdf7 ssh-agent 19:23:29 SSH_AUTH_SOCK=/tmp/ssh-7sWcpZFZ5NuU/agent.32 19:23:29 SSH_AGENT_PID=38 19:23:29 Running ssh-add (command line suppressed) 19:23:29 Identity added: /w/workspace/edgex-go/2@tmp/private_key_1717453043168698228.key (/w/workspace/edgex-go/2@tmp/private_key_1717453043168698228.key) 19:23:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:23:30 + git tag --points-at HEAD [Pipeline] } 19:23:30 $ docker exec --env ******** --env ******** 264820dacb6dad7dc9937cf04f51f72d4c9d0053becf40df76ca97d1c98ffdf7 ssh-agent -k 19:23:30 unset SSH_AUTH_SOCK; 19:23:30 unset SSH_AGENT_PID; 19:23:30 echo Agent pid 38 killed; 19:23:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:23:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:23:30 [ssh-agent] Looking for ssh-agent implementation... 19:23:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:23:30 $ docker exec 264820dacb6dad7dc9937cf04f51f72d4c9d0053becf40df76ca97d1c98ffdf7 ssh-agent 19:23:30 SSH_AUTH_SOCK=/tmp/ssh-euWBnU9iNY1P/agent.70 19:23:30 SSH_AGENT_PID=76 19:23:30 Running ssh-add (command line suppressed) 19:23:30 Identity added: /w/workspace/edgex-go/2@tmp/private_key_3041645853377091545.key (/w/workspace/edgex-go/2@tmp/private_key_3041645853377091545.key) 19:23:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:23:30 + git semver init 19:23:31 2023-02-13 19:23:31,106 [run_init] DEBUG init version:0.0.0 force:False 19:23:31 2023-02-13 19:23:31,107 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 19:23:31 2023-02-13 19:23:31,108 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 19:23:31 2023-02-13 19:23:31,108 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, universal_newlines=False, shell=None, istream=None) 19:23:36 2023-02-13 19:23:35,847 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 19:23:36 2023-02-13 19:23:35,847 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-4348 with force:False 19:23:36 2023-02-13 19:23:35,847 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-4348 19:23:36 2023-02-13 19:23:35,852 [execute] INFO git cat-file --batch-check 19:23:36 2023-02-13 19:23:35,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 19:23:36 2023-02-13 19:23:35,859 [execute] INFO git cat-file --batch 19:23:36 2023-02-13 19:23:35,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, universal_newlines=False, shell=None, istream=) 19:23:36 2023-02-13 19:23:35,865 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-4348 19:23:36 0.0.0 [Pipeline] } 19:23:36 $ docker exec --env ******** --env ******** 264820dacb6dad7dc9937cf04f51f72d4c9d0053becf40df76ca97d1c98ffdf7 ssh-agent -k 19:23:36 unset SSH_AUTH_SOCK; 19:23:36 unset SSH_AGENT_PID; 19:23:36 echo Agent pid 76 killed; 19:23:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:23:36 + git semver [Pipeline] } 19:23:37 $ docker stop --time=1 264820dacb6dad7dc9937cf04f51f72d4c9d0053becf40df76ca97d1c98ffdf7 19:23:38 $ docker rm -f --volumes 264820dacb6dad7dc9937cf04f51f72d4c9d0053becf40df76ca97d1c98ffdf7 [Pipeline] // withDockerContainer [Pipeline] sh 19:23:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:23:39 Stashed 1 file(s) [Pipeline] echo 19:23:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:23:39 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 19:23:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:23:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:23:39 ========================================================= 19:23:39 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:23:39 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:23:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:23:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:23:39 213ec9aee27d: Pulling fs layer 19:23:39 4583459ba037: Pulling fs layer 19:23:39 93c1e223e6f2: Pulling fs layer 19:23:39 53926ce57604: Pulling fs layer 19:23:39 21b2b0c7a3f4: Pulling fs layer 19:23:39 22ff95d597cd: Pulling fs layer 19:23:39 12d6caf4c0d1: Pulling fs layer 19:23:39 96b7cbca73a9: Pulling fs layer 19:23:39 a7acece74701: Pulling fs layer 19:23:39 53926ce57604: Waiting 19:23:39 96b7cbca73a9: Waiting 19:23:39 21b2b0c7a3f4: Waiting 19:23:39 a7acece74701: Waiting 19:23:39 22ff95d597cd: Waiting 19:23:39 12d6caf4c0d1: Waiting 19:23:39 93c1e223e6f2: Download complete 19:23:39 4583459ba037: Verifying Checksum 19:23:39 4583459ba037: Download complete 19:23:39 21b2b0c7a3f4: Verifying Checksum 19:23:39 21b2b0c7a3f4: Download complete 19:23:39 22ff95d597cd: Verifying Checksum 19:23:39 22ff95d597cd: Download complete 19:23:39 213ec9aee27d: Verifying Checksum 19:23:39 213ec9aee27d: Download complete 19:23:40 12d6caf4c0d1: Verifying Checksum 19:23:40 12d6caf4c0d1: Download complete 19:23:40 213ec9aee27d: Pull complete 19:23:40 4583459ba037: Pull complete 19:23:40 93c1e223e6f2: Pull complete 19:23:40 53926ce57604: Download complete 19:23:41 a7acece74701: Verifying Checksum 19:23:41 a7acece74701: Download complete 19:23:41 96b7cbca73a9: Verifying Checksum 19:23:41 96b7cbca73a9: Download complete 19:23:45 53926ce57604: Pull complete 19:23:45 21b2b0c7a3f4: Pull complete 19:23:45 22ff95d597cd: Pull complete 19:23:45 12d6caf4c0d1: Pull complete 19:23:47 96b7cbca73a9: Pull complete 19:23:47 a7acece74701: Pull complete 19:23:47 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:23:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:23:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 19:23:48 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:23:48 WORKDIR /edgex 19:23:48 COPY go.mod . 19:23:48 RUN go mod download 19:23:48 + docker build -t ci-base-image-x86_64 -f - . 19:23:48 Sending build context to Docker daemon 170.2MB 19:23:48 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:23:48 ---> db6d94c90886 19:23:48 Step 2/4 : WORKDIR /edgex 19:23:51 ---> Running in 7cc37084fb49 19:23:51 Removing intermediate container 7cc37084fb49 19:23:51 ---> f7cca41ed3fb 19:23:51 Step 3/4 : COPY go.mod . 19:23:51 ---> 669d0848bd39 19:23:51 Step 4/4 : RUN go mod download 19:23:51 ---> Running in d73de1485413 19:23:54 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.20 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 19:23:54 Still waiting to schedule task 19:23:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5593’ 19:23:54 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:23:54 Failed in branch amd64 19:27:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5596 in /w/workspace/edgexfoundry_edgex-go_PR-4348 [Pipeline] { [Pipeline] ws 19:27:23 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 19:27:23 The recommended git tool is: git 19:27:28 using credential edgex-jenkins-ssh 19:27:28 Cloning the remote Git repository 19:27:28 Cloning repository git@github.com:edgexfoundry/edgex-go.git 19:27:28 > git init /w/workspace/edgex-go/2 # timeout=10 19:27:29 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:27:29 > git --version # timeout=10 19:27:29 > git --version # 'git version 2.25.1' 19:27:29 using GIT_SSH to set credentials SSH Credentials for GitHub 19:27:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:27:47 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:27:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:27:49 Merging remotes/origin/main commit 15a983a6f6d5b88e20add8024b7e596911b920c9 into PR head commit acab3000bbde3a490f585ac266ee2236694d790e 19:27:48 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 19:27:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 19:27:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:27:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4348/head:refs/remotes/origin/PR-4348 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:27:49 > git config core.sparsecheckout # timeout=10 19:27:49 > git checkout -f acab3000bbde3a490f585ac266ee2236694d790e # timeout=10 19:27:49 > git remote # timeout=10 19:27:49 > git config --get remote.origin.url # timeout=10 19:27:49 using GIT_SSH to set credentials SSH Credentials for GitHub 19:27:49 > git merge 15a983a6f6d5b88e20add8024b7e596911b920c9 # timeout=10 19:27:49 > git rev-parse HEAD^{commit} # timeout=10 19:27:49 Merge succeeded, producing acab3000bbde3a490f585ac266ee2236694d790e 19:27:49 Checking out Revision acab3000bbde3a490f585ac266ee2236694d790e (PR-4348) 19:27:49 > git config core.sparsecheckout # timeout=10 19:27:49 > git checkout -f acab3000bbde3a490f585ac266ee2236694d790e # timeout=10 19:27:53 Commit message: "refactor!: Replace internal topics from config with new constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:27:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:27:54 % Total % Received % Xferd Average Speed Time Time Time Current 19:27:54 Dload Upload Total Spent Left Speed 19:27:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 19:27:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:27:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:27:55 + sudo tee /etc/docker/daemon.new 19:27:55 { 19:27:55 "registry-mirrors": [ 19:27:55 "https://nexus3.edgexfoundry.org:10001" 19:27:55 ], 19:27:55 "bip": "10.250.0.254/24", 19:27:55 "hosts": [ 19:27:55 "tcp://0.0.0.0:5555", 19:27:55 "unix:///var/run/docker.sock" 19:27:55 ], 19:27:55 "mtu": 1458, 19:27:55 "selinux-enabled": true, 19:27:55 "seccomp-profile": "/etc/docker/seccomp.json" 19:27:55 } [Pipeline] sh 19:27:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:27:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:28:18 provisioning config files... 19:28:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config5079137236762599233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:28:18 ---> docker-login.sh 19:28:18 nexus3.edgexfoundry.org:10001 19:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:19 Configure a credential helper to remove this warning. See 19:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:19 19:28:19 Login Succeeded 19:28:19 nexus3.edgexfoundry.org:10002 19:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:20 Configure a credential helper to remove this warning. See 19:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:20 19:28:20 Login Succeeded 19:28:20 nexus3.edgexfoundry.org:10003 19:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:20 Configure a credential helper to remove this warning. See 19:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:20 19:28:20 Login Succeeded 19:28:20 nexus3.edgexfoundry.org:10004 19:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:20 Configure a credential helper to remove this warning. See 19:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:20 19:28:20 Login Succeeded 19:28:20 docker.io 19:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:21 Configure a credential helper to remove this warning. See 19:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:21 19:28:21 Login Succeeded 19:28:21 ---> docker-login.sh ends [Pipeline] } 19:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 19:28:22 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 19:28:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:28:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:28:22 ========================================================= 19:28:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:28:22 ========================================================= [Pipeline] fileExists [Pipeline] sh 19:28:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:28:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:28:22 9b18e9b68314: Pulling fs layer 19:28:22 35d82f9e3411: Pulling fs layer 19:28:22 e16973657156: Pulling fs layer 19:28:22 fc693d55d65f: Pulling fs layer 19:28:22 7e9fc2657dce: Pulling fs layer 19:28:22 dda99020689f: Pulling fs layer 19:28:22 db1c61fa0a46: Pulling fs layer 19:28:22 891c053d2c06: Pulling fs layer 19:28:22 fc693d55d65f: Waiting 19:28:22 7e9fc2657dce: Waiting 19:28:22 dda99020689f: Waiting 19:28:22 db1c61fa0a46: Waiting 19:28:22 891c053d2c06: Waiting 19:28:22 e16973657156: Verifying Checksum 19:28:22 e16973657156: Download complete 19:28:22 35d82f9e3411: Verifying Checksum 19:28:22 35d82f9e3411: Download complete 19:28:22 7e9fc2657dce: Verifying Checksum 19:28:22 dda99020689f: Verifying Checksum 19:28:22 dda99020689f: Download complete 19:28:22 9b18e9b68314: Verifying Checksum 19:28:23 9b18e9b68314: Pull complete 19:28:23 891c053d2c06: Verifying Checksum 19:28:23 891c053d2c06: Download complete 19:28:24 35d82f9e3411: Pull complete 19:28:24 e16973657156: Pull complete 19:28:25 db1c61fa0a46: Verifying Checksum 19:28:25 db1c61fa0a46: Download complete 19:28:25 fc693d55d65f: Verifying Checksum 19:28:25 fc693d55d65f: Download complete 19:28:40 fc693d55d65f: Pull complete 19:28:40 7e9fc2657dce: Pull complete 19:28:40 dda99020689f: Pull complete 19:28:46 db1c61fa0a46: Pull complete 19:28:48 891c053d2c06: Pull complete 19:28:48 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:28:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:28:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 19:28:48 + docker build -t ci-base-image-arm64 -f - . 19:28:48 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:28:48 WORKDIR /edgex 19:28:48 COPY go.mod . 19:28:48 RUN go mod download 19:28:48 Sending build context to Docker daemon 3.101MB 19:28:48 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:28:48 ---> f96f9c87975a 19:28:48 Step 2/4 : WORKDIR /edgex 19:28:49 ---> Running in 207208b071b0 19:28:50 Removing intermediate container 207208b071b0 19:28:50 ---> fb32f3e78a52 19:28:50 Step 3/4 : COPY go.mod . 19:28:52 ---> 951fe3cac256 19:28:52 Step 4/4 : RUN go mod download 19:28:52 ---> Running in 2b2bec77a582 19:28:57 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.20 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 19:28:57 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:58 19:28:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:58 arm64: Pulling from edgex-lftools-log-publisher 19:28:58 8998bd30e6a1: Pulling fs layer 19:28:58 04944245beec: Pulling fs layer 19:28:58 699f458cf7ca: Pulling fs layer 19:28:58 765212b225bb: Pulling fs layer 19:28:58 f23df028b6ca: Pulling fs layer 19:28:58 d65c8cfc05b1: Pulling fs layer 19:28:58 2437ff75d9bd: Pulling fs layer 19:28:58 765212b225bb: Waiting 19:28:58 d65c8cfc05b1: Waiting 19:28:58 f23df028b6ca: Waiting 19:28:58 2437ff75d9bd: Waiting 19:28:58 04944245beec: Verifying Checksum 19:28:58 04944245beec: Download complete 19:28:58 765212b225bb: Verifying Checksum 19:28:58 765212b225bb: Download complete 19:28:58 f23df028b6ca: Download complete 19:28:59 d65c8cfc05b1: Verifying Checksum 19:28:59 d65c8cfc05b1: Download complete 19:28:59 699f458cf7ca: Verifying Checksum 19:28:59 699f458cf7ca: Download complete 19:28:59 8998bd30e6a1: Verifying Checksum 19:28:59 8998bd30e6a1: Download complete 19:29:01 2437ff75d9bd: Verifying Checksum 19:29:01 2437ff75d9bd: Download complete 19:29:03 8998bd30e6a1: Pull complete 19:29:05 04944245beec: Pull complete 19:29:06 699f458cf7ca: Pull complete 19:29:06 765212b225bb: Pull complete 19:29:07 f23df028b6ca: Pull complete 19:29:07 d65c8cfc05b1: Pull complete 19:29:22 2437ff75d9bd: Pull complete 19:29:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:29:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:23 prd-ubuntu20.04-docker-arm64-4c-16g-5596 does not seem to be running inside a container 19:29:23 $ 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/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** -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:arm64 cat 19:29:25 $ docker top e9f97d5d73338d0127dfc0dd9ffe42c0702e3319f8d664d79fe606aefb2e9b88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:26 ---> job-cost.sh 19:29:26 lf-activate-venv: SKIPPING 19:29:26 INFO: No Stack... 19:29:27 INFO: Retrieving Pricing Info for: v3-standard-4 19:29:28 INFO: Archiving Costs [Pipeline] sh 19:29:28 + cat /w/workspace/edgex-go/2/archives/cost.csv 19:29:28 + cut -d, -f6 [Pipeline] lock 19:29:28 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4348-2-stack-cost] 19:29:28 Resource [jenkins-edgexfoundry-edgex-go-PR-4348-2-stack-cost] did not exist. Created. 19:29:28 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4348-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:29:29 + echo total: 0.10999999940395355 [Pipeline] stash 19:29:30 Stashed 1 file(s) [Pipeline] } 19:29:30 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4348-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:29:30 $ docker stop --time=1 e9f97d5d73338d0127dfc0dd9ffe42c0702e3319f8d664d79fe606aefb2e9b88 19:29:31 $ docker rm -f --volumes e9f97d5d73338d0127dfc0dd9ffe42c0702e3319f8d664d79fe606aefb2e9b88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:29:31 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:29:32 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 19:29:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:29:33 ---> package-listing.sh 19:29:33 ++ facter osfamily 19:29:33 ++ tr '[:upper:]' '[:lower:]' 19:29:33 + OS_FAMILY=debian 19:29:33 + workspace=/w/workspace/edgex-go/2 19:29:33 + START_PACKAGES=/tmp/packages_start.txt 19:29:33 + END_PACKAGES=/tmp/packages_end.txt 19:29:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:29:33 + PACKAGES=/tmp/packages_start.txt 19:29:33 + '[' /w/workspace/edgex-go/2 ']' 19:29:33 + PACKAGES=/tmp/packages_end.txt 19:29:33 + case "${OS_FAMILY}" in 19:29:33 + dpkg -l 19:29:33 + grep '^ii' 19:29:33 + '[' -f /tmp/packages_start.txt ']' 19:29:33 + '[' -f /tmp/packages_end.txt ']' 19:29:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:29:33 + '[' /w/workspace/edgex-go/2 ']' 19:29:33 + mkdir -p /w/workspace/edgex-go/2/archives/ 19:29:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 19:29:33 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/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:29:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:34 19:29:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:35 latest: Pulling from edgex-lftools-log-publisher 19:29:35 5eb5b503b376: Pulling fs layer 19:29:35 5c69ac0246d0: Pulling fs layer 19:29:35 ec43610c2a17: Pulling fs layer 19:29:35 3a2ae6a8a46f: Pulling fs layer 19:29:35 33b1e0a273af: Pulling fs layer 19:29:35 5d3b04190fa2: Pulling fs layer 19:29:35 2f39f015ded8: Pulling fs layer 19:29:35 3a2ae6a8a46f: Waiting 19:29:35 33b1e0a273af: Waiting 19:29:35 5d3b04190fa2: Waiting 19:29:35 2f39f015ded8: Waiting 19:29:35 5c69ac0246d0: Download complete 19:29:35 3a2ae6a8a46f: Verifying Checksum 19:29:35 3a2ae6a8a46f: Download complete 19:29:35 ec43610c2a17: Verifying Checksum 19:29:35 5d3b04190fa2: Verifying Checksum 19:29:35 5d3b04190fa2: Download complete 19:29:35 33b1e0a273af: Verifying Checksum 19:29:35 33b1e0a273af: Download complete 19:29:35 5eb5b503b376: Verifying Checksum 19:29:35 5eb5b503b376: Download complete 19:29:36 2f39f015ded8: Download complete 19:29:36 5eb5b503b376: Pull complete 19:29:36 5c69ac0246d0: Pull complete 19:29:36 ec43610c2a17: Pull complete 19:29:37 3a2ae6a8a46f: Pull complete 19:29:37 33b1e0a273af: Pull complete 19:29:37 5d3b04190fa2: Pull complete 19:29:41 2f39f015ded8: Pull complete 19:29:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:29:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:41 prd-ubuntu20.04-docker-8c-8g-5595 does not seem to be running inside a container 19:29:41 $ 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/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:29:43 $ docker top fb9508eb59529b0a646ef5172afc30c7073cc084f377c0e7c90760af5601d903 -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:44 + touch /tmp/pre-build-complete [Pipeline] sh 19:29:44 + mkdir -p /var/log/sysstat [Pipeline] sh 19:29:44 + ls /var/log/sa-host 19:29:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:29:45 provisioning config files... 19:29:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config16602920647512301599tmp [Pipeline] { [Pipeline] echo 19:29:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:29:45 ---> create-netrc.sh [Pipeline] } 19:29:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:29:45 ---> python-tools-install.sh [Pipeline] echo 19:29:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:29:46 ---> sudo-logs.sh 19:29:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:29:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:29:46 ---> job-cost.sh 19:29:46 lf-activate-venv: SKIPPING 19:29:46 DEBUG: total: 0.10999999940395355 19:29:46 INFO: Retrieving Stack Cost... 19:29:46 INFO: Retrieving Pricing Info for: v3-standard-8 19:29:46 INFO: Archiving Costs [Pipeline] echo 19:29:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:29:47 ---> logs-deploy.sh 19:29:47 lf-activate-venv: SKIPPING 19:29:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4348/2 19:29:47 INFO: archiving workspace using pattern(s): 19:29:48 Archives upload complete. 19:29:48 INFO: archiving logs to Nexus