Pull request #4268 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 2b45e66c64e013e8f94318f6c029df12ed6d2177+1c8abb91c27dee0361322f6c8e5a904aaca59bd3 (e2dae410ec4c56ff29e0a7a0fcb5d91db3e586e3) 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-ssh5715972346776749572.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-ssh6742761400436409650.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-4268/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-4268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12330074458345145168.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-ssh15921668734663561515.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-4268/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-4268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1150675743162382790.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1587 in /w/workspace/edgexfoundry_edgex-go_PR-4268 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/3 [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/3 # 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/4268/head:refs/remotes/origin/PR-4268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1c8abb91c27dee0361322f6c8e5a904aaca59bd3 into PR head commit 2b45e66c64e013e8f94318f6c029df12ed6d2177 Merge succeeded, producing 2b45e66c64e013e8f94318f6c029df12ed6d2177 Checking out Revision 2b45e66c64e013e8f94318f6c029df12ed6d2177 (PR-4268) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b45e66c64e013e8f94318f6c029df12ed6d2177 # 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 1c8abb91c27dee0361322f6c8e5a904aaca59bd3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b45e66c64e013e8f94318f6c029df12ed6d2177 # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git rev-list --no-walk 38b0d549686928f4c7919392ce6604b20906bcc4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:46:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:46:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:46:08 ========================================================= 16:46:08 EdgeX Global Pipelines Version Info 16:46:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:46:08 ------------------- 16:46:08 stable info: 16:46:08 ------------------- 16:46:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:46:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:46:08 Message: update stable to v1.0.244 16:46:09 ------------------- 16:46:09 experimental info: 16:46:09 ------------------- 16:46:09 Commited By: **** collab-it+edgex@linuxfoundation.org 16:46:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:46:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4268 [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4268 [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4268 [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b45e66c64e013e8f94318f6c029df12ed6d2177 [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b45e66 [Pipeline] echo 16:46:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:09 provisioning config files... 16:46:09 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config11949118412603987889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:46:10 ---> docker-login.sh 16:46:10 nexus3.edgexfoundry.org:10001 16:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:10 Configure a credential helper to remove this warning. See 16:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:10 16:46:10 Login Succeeded 16:46:10 nexus3.edgexfoundry.org:10002 16:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:10 Configure a credential helper to remove this warning. See 16:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:10 16:46:10 Login Succeeded 16:46:10 nexus3.edgexfoundry.org:10003 16:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:10 Configure a credential helper to remove this warning. See 16:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:10 16:46:10 Login Succeeded 16:46:10 nexus3.edgexfoundry.org:10004 16:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:10 Configure a credential helper to remove this warning. See 16:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:10 16:46:10 Login Succeeded 16:46:10 docker.io 16:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:46:11 Configure a credential helper to remove this warning. See 16:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:46:11 16:46:11 Login Succeeded 16:46:11 ---> docker-login.sh ends [Pipeline] } 16:46:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:11 + ls cmd/core-command/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 16:46:11 + dirname cmd/core-command/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo core-command,cmd/core-command/Dockerfile 16:46:11 + dirname cmd/core-data/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo core-data,cmd/core-data/Dockerfile 16:46:11 + cut -d/+ -f2 16:46:11 dirname cmd/core-metadata/Dockerfile 16:46:11 + echo core-metadata,cmd/core-metadata/Dockerfile 16:46:11 + dirname cmd/security-bootstrapper/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:46:11 + dirname cmd/security-proxy-setup/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:46:11 + dirname cmd/security-secretstore-setup/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:46:11 + dirname cmd/security-spiffe-token-provider/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 16:46:11 + + dirnamecut cmd/security-spire-agent/Dockerfile -d/ 16:46:11 -f2 16:46:11 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 16:46:11 + dirname cmd/security-spire-config/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo security-spire-config,cmd/security-spire-config/Dockerfile 16:46:11 + dirname cmd/security-spire-server/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo security-spire-server,cmd/security-spire-server/Dockerfile 16:46:11 + dirname cmd/support-notifications/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo support-notifications,cmd/support-notifications/Dockerfile 16:46:11 + dirname cmd/support-scheduler/Dockerfile 16:46:11 + cut -d/ -f2 16:46:11 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 16:46:11 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/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 16:46:11 + git rev-list -1 --merges 2b45e66c64e013e8f94318f6c029df12ed6d2177~1..2b45e66c64e013e8f94318f6c029df12ed6d2177 [Pipeline] echo 16:46:11 -----------> git rev-list -1 --merges 2b45e66c64e013e8f94318f6c029df12ed6d2177~1..2b45e66c64e013e8f94318f6c029df12ed6d2177 2b45e66c64e013e8f94318f6c029df12ed6d2177 [false] [Pipeline] sh 16:46:12 + git log --format=format:%s -1 2b45e66c64e013e8f94318f6c029df12ed6d2177 [Pipeline] echo 16:46:12 ========================================================= 16:46:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:46:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:46:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:46:12 + grep -v github /etc/ssh/ssh_known_hosts 16:46:12 + [ -e /tmp/ssh_known_hosts ] 16:46:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:46:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:46:12 + sudo tee -a /etc/ssh/ssh_known_hosts 16:46:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:12 16:46:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:13 0.1.4: Pulling from edgex-devops/py-git-semver 16:46:13 b85a868b505f: Pulling fs layer 16:46:13 e2be974225ed: Pulling fs layer 16:46:13 339a4e72a1f5: Pulling fs layer 16:46:13 988bab9f4d93: Pulling fs layer 16:46:13 1469e6f7b9e6: Pulling fs layer 16:46:13 eaf3925da568: Pulling fs layer 16:46:13 bab4dde63d76: Pulling fs layer 16:46:13 bde34c3a00c8: Pulling fs layer 16:46:13 b352a97aabf1: Pulling fs layer 16:46:13 4872d77fe225: Pulling fs layer 16:46:13 5851b861e8e6: Pulling fs layer 16:46:13 1469e6f7b9e6: Waiting 16:46:13 eaf3925da568: Waiting 16:46:13 bab4dde63d76: Waiting 16:46:13 bde34c3a00c8: Waiting 16:46:13 b352a97aabf1: Waiting 16:46:13 4872d77fe225: Waiting 16:46:13 5851b861e8e6: Waiting 16:46:13 988bab9f4d93: Waiting 16:46:13 e2be974225ed: Verifying Checksum 16:46:13 e2be974225ed: Download complete 16:46:13 988bab9f4d93: Verifying Checksum 16:46:13 988bab9f4d93: Download complete 16:46:13 1469e6f7b9e6: Verifying Checksum 16:46:13 1469e6f7b9e6: Download complete 16:46:13 eaf3925da568: Verifying Checksum 16:46:13 eaf3925da568: Download complete 16:46:13 339a4e72a1f5: Verifying Checksum 16:46:13 339a4e72a1f5: Download complete 16:46:13 bde34c3a00c8: Download complete 16:46:13 b352a97aabf1: Verifying Checksum 16:46:13 b352a97aabf1: Download complete 16:46:13 4872d77fe225: Download complete 16:46:13 5851b861e8e6: Verifying Checksum 16:46:13 b85a868b505f: Verifying Checksum 16:46:13 b85a868b505f: Download complete 16:46:13 bab4dde63d76: Verifying Checksum 16:46:13 bab4dde63d76: Download complete 16:46:14 b85a868b505f: Pull complete 16:46:14 e2be974225ed: Pull complete 16:46:15 339a4e72a1f5: Pull complete 16:46:15 988bab9f4d93: Pull complete 16:46:15 1469e6f7b9e6: Pull complete 16:46:15 eaf3925da568: Pull complete 16:46:17 bab4dde63d76: Pull complete 16:46:17 bde34c3a00c8: Pull complete 16:46:17 b352a97aabf1: Pull complete 16:46:17 4872d77fe225: Pull complete 16:46:17 5851b861e8e6: Pull complete 16:46:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:46:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:18 prd-ubuntu20.04-docker-8c-8g-1587 does not seem to be running inside a container 16:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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 16:46:20 $ docker top 759f5259f74fa858a4f610fe963607d7dca6f6231aa583ed730272e2a4e62827 -eo pid,comm 16:46:20 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). 16:46:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:20 [ssh-agent] Looking for ssh-agent implementation... 16:46:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:20 $ docker exec 759f5259f74fa858a4f610fe963607d7dca6f6231aa583ed730272e2a4e62827 ssh-agent 16:46:20 SSH_AUTH_SOCK=/tmp/ssh-1qwfOWIVImST/agent.32 16:46:20 SSH_AGENT_PID=38 16:46:20 Running ssh-add (command line suppressed) 16:46:20 Identity added: /w/workspace/edgex-go/3@tmp/private_key_8363530996595496334.key (/w/workspace/edgex-go/3@tmp/private_key_8363530996595496334.key) 16:46:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:20 + git tag --points-at HEAD [Pipeline] } 16:46:20 $ docker exec --env ******** --env ******** 759f5259f74fa858a4f610fe963607d7dca6f6231aa583ed730272e2a4e62827 ssh-agent -k 16:46:20 unset SSH_AUTH_SOCK; 16:46:20 unset SSH_AGENT_PID; 16:46:20 echo Agent pid 38 killed; 16:46:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:46:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:20 [ssh-agent] Looking for ssh-agent implementation... 16:46:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:21 $ docker exec 759f5259f74fa858a4f610fe963607d7dca6f6231aa583ed730272e2a4e62827 ssh-agent 16:46:21 SSH_AUTH_SOCK=/tmp/ssh-szRdqZlxr9nL/agent.71 16:46:21 SSH_AGENT_PID=77 16:46:21 Running ssh-add (command line suppressed) 16:46:21 Identity added: /w/workspace/edgex-go/3@tmp/private_key_3329117236046948192.key (/w/workspace/edgex-go/3@tmp/private_key_3329117236046948192.key) 16:46:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:21 + git semver init 16:46:21 2023-01-10 16:46:21,798 [run_init] DEBUG init version:0.0.0 force:False 16:46:21 2023-01-10 16:46:21,799 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/3/.semver 16:46:21 2023-01-10 16:46:21,799 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/3/.semver 16:46:21 2023-01-10 16:46:21,799 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/3/.semver'], cwd=/w/workspace/edgex-go/3, universal_newlines=False, shell=None, istream=None) 16:46:37 2023-01-10 16:46:36,390 [append_file] DEBUG append to file:/w/workspace/edgex-go/3/.git/info/exclude 16:46:37 2023-01-10 16:46:36,391 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/3/.semver/PR-4268 with force:False 16:46:37 2023-01-10 16:46:36,391 [write_file] DEBUG write to file:/w/workspace/edgex-go/3/.semver/PR-4268 16:46:37 2023-01-10 16:46:36,395 [execute] INFO git cat-file --batch-check 16:46:37 2023-01-10 16:46:36,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/3/.semver, universal_newlines=False, shell=None, istream=) 16:46:37 2023-01-10 16:46:36,402 [execute] INFO git cat-file --batch 16:46:37 2023-01-10 16:46:36,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/3/.semver, universal_newlines=False, shell=None, istream=) 16:46:37 2023-01-10 16:46:36,407 [read_version] DEBUG read version from /w/workspace/edgex-go/3/.semver/PR-4268 16:46:37 0.0.0 [Pipeline] } 16:46:37 $ docker exec --env ******** --env ******** 759f5259f74fa858a4f610fe963607d7dca6f6231aa583ed730272e2a4e62827 ssh-agent -k 16:46:37 unset SSH_AUTH_SOCK; 16:46:37 unset SSH_AGENT_PID; 16:46:37 echo Agent pid 77 killed; 16:46:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:37 + git semver [Pipeline] } 16:46:38 $ docker stop --time=1 759f5259f74fa858a4f610fe963607d7dca6f6231aa583ed730272e2a4e62827 16:46:39 $ docker rm -f --volumes 759f5259f74fa858a4f610fe963607d7dca6f6231aa583ed730272e2a4e62827 [Pipeline] // withDockerContainer [Pipeline] sh 16:46:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:46:40 Stashed 1 file(s) [Pipeline] echo 16:46:40 [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 16:46:40 + git config --global --add safe.directory /w/workspace/edgex-go/3 [Pipeline] echo 16:46:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:46:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:46:40 ========================================================= 16:46:40 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:46:40 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:46:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:46:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:46:40 213ec9aee27d: Pulling fs layer 16:46:40 4583459ba037: Pulling fs layer 16:46:40 93c1e223e6f2: Pulling fs layer 16:46:40 53926ce57604: Pulling fs layer 16:46:40 21b2b0c7a3f4: Pulling fs layer 16:46:40 22ff95d597cd: Pulling fs layer 16:46:40 12d6caf4c0d1: Pulling fs layer 16:46:40 96b7cbca73a9: Pulling fs layer 16:46:40 a7acece74701: Pulling fs layer 16:46:40 53926ce57604: Waiting 16:46:40 21b2b0c7a3f4: Waiting 16:46:40 12d6caf4c0d1: Waiting 16:46:40 22ff95d597cd: Waiting 16:46:40 a7acece74701: Waiting 16:46:40 93c1e223e6f2: Verifying Checksum 16:46:40 4583459ba037: Download complete 16:46:40 21b2b0c7a3f4: Verifying Checksum 16:46:40 21b2b0c7a3f4: Download complete 16:46:40 22ff95d597cd: Verifying Checksum 16:46:40 22ff95d597cd: Download complete 16:46:40 213ec9aee27d: Verifying Checksum 16:46:40 213ec9aee27d: Download complete 16:46:40 12d6caf4c0d1: Download complete 16:46:41 213ec9aee27d: Pull complete 16:46:41 4583459ba037: Pull complete 16:46:41 93c1e223e6f2: Pull complete 16:46:41 a7acece74701: Verifying Checksum 16:46:41 a7acece74701: Download complete 16:46:41 96b7cbca73a9: Verifying Checksum 16:46:41 96b7cbca73a9: Download complete 16:46:41 53926ce57604: Verifying Checksum 16:46:41 53926ce57604: Download complete 16:46:45 53926ce57604: Pull complete 16:46:45 21b2b0c7a3f4: Pull complete 16:46:45 22ff95d597cd: Pull complete 16:46:46 12d6caf4c0d1: Pull complete 16:46:47 96b7cbca73a9: Pull complete 16:46:48 a7acece74701: Pull complete 16:46:48 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:46:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:46:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 16:46:49 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:46:49 WORKDIR /edgex 16:46:49 COPY go.mod . 16:46:49 RUN go mod download 16:46:49 + docker build -t ci-base-image-x86_64 -f - . 16:46:49 Sending build context to Docker daemon 170.1MB 16:46:49 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:46:49 ---> db6d94c90886 16:46:49 Step 2/4 : WORKDIR /edgex 16:46:53 ---> Running in 720fe54a60a0 16:46:53 Removing intermediate container 720fe54a60a0 16:46:53 ---> 754324a33fc9 16:46:53 Step 3/4 : COPY go.mod . 16:46:53 ---> dcb4dc0ec131 16:46:53 Step 4/4 : RUN go mod download 16:46:54 ---> Running in bbb1c4e1b0ad 16:46:55 Still waiting to schedule task 16:46:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:46:55 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.6 (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 16:46:56 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] } 16:46:56 Failed in branch amd64 16:48:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1589 in /w/workspace/edgexfoundry_edgex-go_PR-4268 [Pipeline] { [Pipeline] ws 16:48:42 Running in /w/workspace/edgex-go/3 [Pipeline] { [Pipeline] checkout 16:48:42 The recommended git tool is: git 16:48:47 using credential edgex-jenkins-ssh 16:48:48 Cloning the remote Git repository 16:48:48 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:48:48 > git init /w/workspace/edgex-go/3 # timeout=10 16:48:48 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:48:48 > git --version # timeout=10 16:48:48 > git --version # 'git version 2.25.1' 16:48:48 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:49:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:49:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:49:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4268/head:refs/remotes/origin/PR-4268 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:49:09 Merging remotes/origin/main commit 1c8abb91c27dee0361322f6c8e5a904aaca59bd3 into PR head commit 2b45e66c64e013e8f94318f6c029df12ed6d2177 16:49:09 Merge succeeded, producing 2b45e66c64e013e8f94318f6c029df12ed6d2177 16:49:09 Checking out Revision 2b45e66c64e013e8f94318f6c029df12ed6d2177 (PR-4268) 16:49:09 > git config core.sparsecheckout # timeout=10 16:49:09 > git checkout -f 2b45e66c64e013e8f94318f6c029df12ed6d2177 # timeout=10 16:49:09 > git remote # timeout=10 16:49:09 > git config --get remote.origin.url # timeout=10 16:49:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:09 > git merge 1c8abb91c27dee0361322f6c8e5a904aaca59bd3 # timeout=10 16:49:09 > git rev-parse HEAD^{commit} # timeout=10 16:49:09 > git config core.sparsecheckout # timeout=10 16:49:09 > git checkout -f 2b45e66c64e013e8f94318f6c029df12ed6d2177 # timeout=10 16:49:13 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:49:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:49:14 % Total % Received % Xferd Average Speed Time Time Time Current 16:49:14 Dload Upload Total Spent Left Speed 16:49:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 16:49:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:49:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:49:15 + sudo tee /etc/docker/daemon.new 16:49:15 { 16:49:15 "registry-mirrors": [ 16:49:15 "https://nexus3.edgexfoundry.org:10001" 16:49:15 ], 16:49:15 "bip": "10.250.0.254/24", 16:49:15 "hosts": [ 16:49:15 "tcp://0.0.0.0:5555", 16:49:15 "unix:///var/run/docker.sock" 16:49:15 ], 16:49:15 "mtu": 1458, 16:49:15 "selinux-enabled": true, 16:49:15 "seccomp-profile": "/etc/docker/seccomp.json" 16:49:15 } [Pipeline] sh 16:49:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:49:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:49:34 provisioning config files... 16:49:34 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/3@tmp/config15425684775773539295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:34 ---> docker-login.sh 16:49:34 nexus3.edgexfoundry.org:10001 16:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:35 Configure a credential helper to remove this warning. See 16:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:35 16:49:35 Login Succeeded 16:49:35 nexus3.edgexfoundry.org:10002 16:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:35 Configure a credential helper to remove this warning. See 16:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:35 16:49:35 Login Succeeded 16:49:35 nexus3.edgexfoundry.org:10003 16:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:36 Configure a credential helper to remove this warning. See 16:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:36 16:49:36 Login Succeeded 16:49:36 nexus3.edgexfoundry.org:10004 16:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:36 Configure a credential helper to remove this warning. See 16:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:36 16:49:36 Login Succeeded 16:49:36 docker.io 16:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:36 Configure a credential helper to remove this warning. See 16:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:36 16:49:36 Login Succeeded 16:49:36 ---> docker-login.sh ends [Pipeline] } 16:49:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 16:49:37 + git config --global --add safe.directory /w/workspace/edgex-go/3 [Pipeline] echo 16:49:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:49:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:49:37 ========================================================= 16:49:37 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:49:37 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:49:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:49:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:49:37 9b18e9b68314: Pulling fs layer 16:49:37 35d82f9e3411: Pulling fs layer 16:49:37 e16973657156: Pulling fs layer 16:49:37 fc693d55d65f: Pulling fs layer 16:49:37 7e9fc2657dce: Pulling fs layer 16:49:37 dda99020689f: Pulling fs layer 16:49:37 db1c61fa0a46: Pulling fs layer 16:49:37 891c053d2c06: Pulling fs layer 16:49:37 dda99020689f: Waiting 16:49:37 db1c61fa0a46: Waiting 16:49:37 891c053d2c06: Waiting 16:49:37 fc693d55d65f: Waiting 16:49:37 7e9fc2657dce: Waiting 16:49:38 35d82f9e3411: Verifying Checksum 16:49:38 35d82f9e3411: Download complete 16:49:38 7e9fc2657dce: Verifying Checksum 16:49:38 7e9fc2657dce: Download complete 16:49:38 dda99020689f: Verifying Checksum 16:49:38 dda99020689f: Download complete 16:49:38 9b18e9b68314: Verifying Checksum 16:49:38 9b18e9b68314: Download complete 16:49:39 9b18e9b68314: Pull complete 16:49:39 891c053d2c06: Verifying Checksum 16:49:39 891c053d2c06: Download complete 16:49:39 35d82f9e3411: Pull complete 16:49:39 e16973657156: Pull complete 16:49:40 db1c61fa0a46: Verifying Checksum 16:49:40 db1c61fa0a46: Download complete 16:49:40 fc693d55d65f: Verifying Checksum 16:49:40 fc693d55d65f: Download complete 16:49:53 fc693d55d65f: Pull complete 16:49:53 7e9fc2657dce: Pull complete 16:49:53 dda99020689f: Pull complete 16:49:58 db1c61fa0a46: Pull complete 16:50:00 891c053d2c06: Pull complete 16:50:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:50:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:50:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 16:50:00 + + dockerecho build FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:50:00 WORKDIR /edgex 16:50:00 COPY go.mod . 16:50:00 RUN go mod download -t 16:50:00 ci-base-image-arm64 -f - . 16:50:00 Sending build context to Docker daemon 3.144MB 16:50:00 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:50:00 ---> f96f9c87975a 16:50:00 Step 2/4 : WORKDIR /edgex 16:50:03 ---> Running in 27c798ff4200 16:50:03 Removing intermediate container 27c798ff4200 16:50:03 ---> b1c4db026d1b 16:50:03 Step 3/4 : COPY go.mod . 16:50:03 ---> 9f8a1ade8625 16:50:03 Step 4/4 : RUN go mod download 16:50:04 ---> Running in b0debfdb8cfa 16:50:07 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.6 (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 16:50:07 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 16:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:50:08 16:50:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:50:08 arm64: Pulling from edgex-lftools-log-publisher 16:50:08 8998bd30e6a1: Pulling fs layer 16:50:08 04944245beec: Pulling fs layer 16:50:08 699f458cf7ca: Pulling fs layer 16:50:08 765212b225bb: Pulling fs layer 16:50:08 f23df028b6ca: Pulling fs layer 16:50:08 d65c8cfc05b1: Pulling fs layer 16:50:08 2437ff75d9bd: Pulling fs layer 16:50:08 f23df028b6ca: Waiting 16:50:08 d65c8cfc05b1: Waiting 16:50:08 2437ff75d9bd: Waiting 16:50:08 765212b225bb: Waiting 16:50:09 04944245beec: Verifying Checksum 16:50:09 04944245beec: Download complete 16:50:09 765212b225bb: Download complete 16:50:09 f23df028b6ca: Download complete 16:50:09 d65c8cfc05b1: Verifying Checksum 16:50:09 d65c8cfc05b1: Download complete 16:50:09 699f458cf7ca: Verifying Checksum 16:50:09 699f458cf7ca: Download complete 16:50:09 8998bd30e6a1: Download complete 16:50:11 2437ff75d9bd: Verifying Checksum 16:50:11 2437ff75d9bd: Download complete 16:50:13 8998bd30e6a1: Pull complete 16:50:13 04944245beec: Pull complete 16:50:15 699f458cf7ca: Pull complete 16:50:15 765212b225bb: Pull complete 16:50:15 f23df028b6ca: Pull complete 16:50:15 d65c8cfc05b1: Pull complete 16:50:31 2437ff75d9bd: Pull complete 16:50:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:50:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:31 prd-ubuntu20.04-docker-arm64-4c-16g-1589 does not seem to be running inside a container 16:50:31 $ 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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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 16:50:34 $ docker top f2c8053afb1072641e9ffb2ce0631d516074522dd26a1bf2352bd9213cf4ac9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:34 ---> job-cost.sh 16:50:34 lf-activate-venv: SKIPPING 16:50:34 INFO: No Stack... 16:50:35 INFO: Retrieving Pricing Info for: v3-standard-4 16:50:36 INFO: Archiving Costs [Pipeline] sh 16:50:36 + cat /w/workspace/edgex-go/3/archives/cost.csv 16:50:36 + cut -d, -f6 [Pipeline] lock 16:50:36 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4268-3-stack-cost] 16:50:36 Resource [jenkins-edgexfoundry-edgex-go-PR-4268-3-stack-cost] did not exist. Created. 16:50:36 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4268-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:50:36 + echo total: 0.10999999940395355 [Pipeline] stash 16:50:37 Stashed 1 file(s) [Pipeline] } 16:50:37 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4268-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:50:37 $ docker stop --time=1 f2c8053afb1072641e9ffb2ce0631d516074522dd26a1bf2352bd9213cf4ac9a 16:50:38 $ docker rm -f --volumes f2c8053afb1072641e9ffb2ce0631d516074522dd26a1bf2352bd9213cf4ac9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:50:39 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 16:50:39 + [ -d /w/workspace/edgex-go/3/archives ] [Pipeline] libraryResource [Pipeline] sh 16:50:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:50:40 ---> package-listing.sh 16:50:40 ++ facter osfamily 16:50:40 ++ tr '[:upper:]' '[:lower:]' 16:50:41 + OS_FAMILY=debian 16:50:41 + workspace=/w/workspace/edgex-go/3 16:50:41 + START_PACKAGES=/tmp/packages_start.txt 16:50:41 + END_PACKAGES=/tmp/packages_end.txt 16:50:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:50:41 + PACKAGES=/tmp/packages_start.txt 16:50:41 + '[' /w/workspace/edgex-go/3 ']' 16:50:41 + PACKAGES=/tmp/packages_end.txt 16:50:41 + case "${OS_FAMILY}" in 16:50:41 + dpkg -l 16:50:41 + grep '^ii' 16:50:41 + '[' -f /tmp/packages_start.txt ']' 16:50:41 + '[' -f /tmp/packages_end.txt ']' 16:50:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:50:41 + '[' /w/workspace/edgex-go/3 ']' 16:50:41 + mkdir -p /w/workspace/edgex-go/3/archives/ 16:50:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/3/archives/ [Pipeline] echo 16:50:41 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/3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:50:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:42 16:50:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:42 latest: Pulling from edgex-lftools-log-publisher 16:50:42 5eb5b503b376: Pulling fs layer 16:50:42 5c69ac0246d0: Pulling fs layer 16:50:42 ec43610c2a17: Pulling fs layer 16:50:42 3a2ae6a8a46f: Pulling fs layer 16:50:42 33b1e0a273af: Pulling fs layer 16:50:42 5d3b04190fa2: Pulling fs layer 16:50:42 2f39f015ded8: Pulling fs layer 16:50:42 33b1e0a273af: Waiting 16:50:42 5d3b04190fa2: Waiting 16:50:42 2f39f015ded8: Waiting 16:50:42 3a2ae6a8a46f: Waiting 16:50:42 5c69ac0246d0: Download complete 16:50:42 3a2ae6a8a46f: Verifying Checksum 16:50:42 3a2ae6a8a46f: Download complete 16:50:42 33b1e0a273af: Verifying Checksum 16:50:42 33b1e0a273af: Download complete 16:50:42 5d3b04190fa2: Download complete 16:50:42 ec43610c2a17: Verifying Checksum 16:50:42 ec43610c2a17: Download complete 16:50:42 5eb5b503b376: Verifying Checksum 16:50:42 5eb5b503b376: Download complete 16:50:43 2f39f015ded8: Download complete 16:50:43 5eb5b503b376: Pull complete 16:50:44 5c69ac0246d0: Pull complete 16:50:44 ec43610c2a17: Pull complete 16:50:44 3a2ae6a8a46f: Pull complete 16:50:44 33b1e0a273af: Pull complete 16:50:44 5d3b04190fa2: Pull complete 16:50:48 2f39f015ded8: Pull complete 16:50:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:50:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:48 prd-ubuntu20.04-docker-8c-8g-1587 does not seem to be running inside a container 16:50:48 $ 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/3/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/3 -v /w/workspace/edgex-go/3:/w/workspace/edgex-go/3:rw,z -v /w/workspace/edgex-go/3@tmp:/w/workspace/edgex-go/3@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 16:50:52 $ docker top 9fa28c7d8e3ad7445bce6a47f0790ba33b21cb3f325e48f5ccfddbe60970bd8e -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:52 + touch /tmp/pre-build-complete [Pipeline] sh 16:50:52 + mkdir -p /var/log/sysstat [Pipeline] sh 16:50:53 + ls /var/log/sa-host 16:50:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:50:53 provisioning config files... 16:50:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/3@tmp/config10167423301856729736tmp [Pipeline] { [Pipeline] echo 16:50:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:50:53 ---> create-netrc.sh [Pipeline] } 16:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:50:53 ---> python-tools-install.sh [Pipeline] echo 16:50:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:50:54 ---> sudo-logs.sh 16:50:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:50:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:50:54 ---> job-cost.sh 16:50:54 lf-activate-venv: SKIPPING 16:50:54 DEBUG: total: 0.10999999940395355 16:50:54 INFO: Retrieving Stack Cost... 16:50:54 INFO: Retrieving Pricing Info for: v3-standard-8 16:50:55 INFO: Archiving Costs [Pipeline] echo 16:50:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:50:55 ---> logs-deploy.sh 16:50:55 lf-activate-venv: SKIPPING 16:50:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4268/3 16:50:55 INFO: archiving workspace using pattern(s): 16:50:56 Archives upload complete. 16:50:56 INFO: archiving logs to Nexus