Pull request #4556 opened 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 geraldzm for edgexfoundry/edgex-go Loading trusted files from base branch main at 857beb77c92229047ced6cb20085c205aee91962 rather than d68c691a34be6ef31726a8308433060eb8fa46f9 Obtained Jenkinsfile from 857beb77c92229047ced6cb20085c205aee91962 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-ssh17447300741585871951.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15375090519401213436.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh55853383573586028.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11799372931126200409.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16952950327900773047.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5883475758710092754.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/v3], 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.20 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/v3 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-14545 in /w/workspace/edgexfoundry_edgex-go_PR-4556 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [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/1 # 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 Merging remotes/origin/main commit 857beb77c92229047ced6cb20085c205aee91962 into PR head commit d68c691a34be6ef31726a8308433060eb8fa46f9 Merge succeeded, producing d68c691a34be6ef31726a8308433060eb8fa46f9 Checking out Revision d68c691a34be6ef31726a8308433060eb8fa46f9 (PR-4556) > 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/4556/head:refs/remotes/origin/PR-4556 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d68c691a34be6ef31726a8308433060eb8fa46f9 # 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 857beb77c92229047ced6cb20085c205aee91962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d68c691a34be6ef31726a8308433060eb8fa46f9 # timeout=10 Commit message: "feat: Add GetSecret and RunTimeSecret metrics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:18:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:18:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:18:49 ========================================================= 20:18:49 EdgeX Global Pipelines Version Info 20:18:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:18:50 ------------------- 20:18:50 stable info: 20:18:50 ------------------- 20:18:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:18:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:18:50 Message: update stable to v1.0.249 20:18:51 ------------------- 20:18:51 experimental info: 20:18:51 ------------------- 20:18:51 Commited By: **** collab-it+edgex@linuxfoundation.org 20:18:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:18:51 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 20:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4556 [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4556 [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4556 [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d68c691a34be6ef31726a8308433060eb8fa46f9 [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d68c691 [Pipeline] echo 20:18:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:52 provisioning config files... 20:18:52 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config15410311212139910146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:53 ---> docker-login.sh 20:18:53 nexus3.edgexfoundry.org:10001 20:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:53 Configure a credential helper to remove this warning. See 20:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:53 20:18:53 Login Succeeded 20:18:53 nexus3.edgexfoundry.org:10002 20:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:53 Configure a credential helper to remove this warning. See 20:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:53 20:18:53 Login Succeeded 20:18:53 nexus3.edgexfoundry.org:10003 20:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:53 Configure a credential helper to remove this warning. See 20:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:53 20:18:53 Login Succeeded 20:18:53 nexus3.edgexfoundry.org:10004 20:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:53 Configure a credential helper to remove this warning. See 20:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:53 20:18:53 Login Succeeded 20:18:53 docker.io 20:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:54 Configure a credential helper to remove this warning. See 20:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:54 20:18:54 Login Succeeded 20:18:54 ---> docker-login.sh ends [Pipeline] } 20:18:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:54 + 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-auth/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 20:18:54 + dirname cmd/core-command/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo core-command,cmd/core-command/Dockerfile 20:18:54 + dirname cmd/core-common-config-bootstrapper/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 20:18:54 + dirname cmd/core-data/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo core-data,cmd/core-data/Dockerfile 20:18:54 + dirname cmd/core-metadata/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo core-metadata,cmd/core-metadata/Dockerfile 20:18:54 + dirname cmd/security-bootstrapper/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 20:18:54 + dirname+ cmd/security-proxy-auth/Dockerfile 20:18:54 cut -d/ -f2 20:18:54 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 20:18:54 + dirname cmd/security-proxy-setup/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 20:18:54 + dirname cmd/security-secretstore-setup/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 20:18:54 + dirname cmd/security-spiffe-token-provider/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 20:18:54 + dirname cmd/security-spire-agent/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 20:18:54 + dirname cmd/security-spire-config/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo security-spire-config,cmd/security-spire-config/Dockerfile 20:18:54 + dirname cmd/security-spire-server/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo security-spire-server,cmd/security-spire-server/Dockerfile 20:18:54 + dirname cmd/support-notifications/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo support-notifications,cmd/support-notifications/Dockerfile 20:18:54 + dirname cmd/support-scheduler/Dockerfile 20:18:54 + cut -d/ -f2 20:18:54 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 20:18:54 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-auth, dockerfile:cmd/security-proxy-auth/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 20:18:55 + git rev-list -1 --merges d68c691a34be6ef31726a8308433060eb8fa46f9~1..d68c691a34be6ef31726a8308433060eb8fa46f9 [Pipeline] echo 20:18:55 -----------> git rev-list -1 --merges d68c691a34be6ef31726a8308433060eb8fa46f9~1..d68c691a34be6ef31726a8308433060eb8fa46f9 d68c691a34be6ef31726a8308433060eb8fa46f9 [false] [Pipeline] sh 20:18:55 + git log --format=format:%s -1 d68c691a34be6ef31726a8308433060eb8fa46f9 [Pipeline] echo 20:18:55 ========================================================= 20:18:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:18:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 20:18:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:18:56 + grep -v github /etc/ssh/ssh_known_hosts 20:18:56 + [ -e /tmp/ssh_known_hosts ] 20:18:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:18:56 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:18:56 sudo tee -a /etc/ssh/ssh_known_hosts 20:18:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:56 20:18:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:18:57 0.1.4: Pulling from edgex-devops/py-git-semver 20:18:57 b85a868b505f: Pulling fs layer 20:18:57 e2be974225ed: Pulling fs layer 20:18:57 339a4e72a1f5: Pulling fs layer 20:18:57 988bab9f4d93: Pulling fs layer 20:18:57 1469e6f7b9e6: Pulling fs layer 20:18:57 eaf3925da568: Pulling fs layer 20:18:57 bab4dde63d76: Pulling fs layer 20:18:57 bde34c3a00c8: Pulling fs layer 20:18:57 b352a97aabf1: Pulling fs layer 20:18:57 4872d77fe225: Pulling fs layer 20:18:57 5851b861e8e6: Pulling fs layer 20:18:57 bde34c3a00c8: Waiting 20:18:57 988bab9f4d93: Waiting 20:18:57 1469e6f7b9e6: Waiting 20:18:57 eaf3925da568: Waiting 20:18:57 b352a97aabf1: Waiting 20:18:57 5851b861e8e6: Waiting 20:18:57 4872d77fe225: Waiting 20:18:57 e2be974225ed: Download complete 20:18:57 988bab9f4d93: Verifying Checksum 20:18:57 988bab9f4d93: Download complete 20:18:57 339a4e72a1f5: Verifying Checksum 20:18:57 339a4e72a1f5: Download complete 20:18:57 1469e6f7b9e6: Verifying Checksum 20:18:57 1469e6f7b9e6: Download complete 20:18:57 eaf3925da568: Verifying Checksum 20:18:57 eaf3925da568: Download complete 20:18:57 bde34c3a00c8: Verifying Checksum 20:18:57 bde34c3a00c8: Download complete 20:18:57 b352a97aabf1: Verifying Checksum 20:18:57 b352a97aabf1: Download complete 20:18:57 4872d77fe225: Verifying Checksum 20:18:57 4872d77fe225: Download complete 20:18:57 5851b861e8e6: Verifying Checksum 20:18:57 5851b861e8e6: Download complete 20:18:57 b85a868b505f: Verifying Checksum 20:18:57 b85a868b505f: Download complete 20:18:57 bab4dde63d76: Verifying Checksum 20:18:57 bab4dde63d76: Download complete 20:18:58 b85a868b505f: Pull complete 20:18:58 e2be974225ed: Pull complete 20:18:59 339a4e72a1f5: Pull complete 20:18:59 988bab9f4d93: Pull complete 20:18:59 1469e6f7b9e6: Pull complete 20:18:59 eaf3925da568: Pull complete 20:19:01 bab4dde63d76: Pull complete 20:19:01 bde34c3a00c8: Pull complete 20:19:01 b352a97aabf1: Pull complete 20:19:01 4872d77fe225: Pull complete 20:19:01 5851b861e8e6: Pull complete 20:19:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:19:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:19:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:02 prd-ubuntu20.04-docker-8c-8g-14545 does not seem to be running inside a container 20:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:19:04 $ docker top 46de4843f5a0cdf4057495760f79c15624522151caf44b53800a6e27509310cb -eo pid,comm 20:19:04 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). 20:19:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:19:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:06 [ssh-agent] Looking for ssh-agent implementation... 20:19:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:06 $ docker exec 46de4843f5a0cdf4057495760f79c15624522151caf44b53800a6e27509310cb ssh-agent 20:19:06 SSH_AUTH_SOCK=/tmp/ssh-H7ahvZmDMp5N/agent.32 20:19:06 SSH_AGENT_PID=38 20:19:06 Running ssh-add (command line suppressed) 20:19:06 Identity added: /w/workspace/edgex-go/1@tmp/private_key_1034214827018622740.key (/w/workspace/edgex-go/1@tmp/private_key_1034214827018622740.key) 20:19:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:06 + git tag --points-at HEAD [Pipeline] } 20:19:06 $ docker exec --env ******** --env ******** 46de4843f5a0cdf4057495760f79c15624522151caf44b53800a6e27509310cb ssh-agent -k 20:19:06 unset SSH_AUTH_SOCK; 20:19:06 unset SSH_AGENT_PID; 20:19:06 echo Agent pid 38 killed; 20:19:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:19:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:07 [ssh-agent] Looking for ssh-agent implementation... 20:19:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:07 $ docker exec 46de4843f5a0cdf4057495760f79c15624522151caf44b53800a6e27509310cb ssh-agent 20:19:07 SSH_AUTH_SOCK=/tmp/ssh-OOhIIJFjLz1z/agent.70 20:19:07 SSH_AGENT_PID=76 20:19:07 Running ssh-add (command line suppressed) 20:19:07 Identity added: /w/workspace/edgex-go/1@tmp/private_key_14373681506072606231.key (/w/workspace/edgex-go/1@tmp/private_key_14373681506072606231.key) 20:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:07 + git semver init 20:19:07 2023-05-08 20:19:07,888 [run_init] DEBUG init version:0.0.0 force:False 20:19:07 2023-05-08 20:19:07,888 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 20:19:07 2023-05-08 20:19:07,889 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 20:19:07 2023-05-08 20:19:07,889 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) 20:19:13 2023-05-08 20:19:12,573 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 20:19:13 2023-05-08 20:19:12,574 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4556 with force:False 20:19:13 2023-05-08 20:19:12,574 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4556 20:19:13 2023-05-08 20:19:12,579 [execute] INFO git cat-file --batch-check 20:19:13 2023-05-08 20:19:12,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:19:13 2023-05-08 20:19:12,585 [execute] INFO git cat-file --batch 20:19:13 2023-05-08 20:19:12,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 20:19:13 2023-05-08 20:19:12,589 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4556 20:19:13 0.0.0 [Pipeline] } 20:19:13 $ docker exec --env ******** --env ******** 46de4843f5a0cdf4057495760f79c15624522151caf44b53800a6e27509310cb ssh-agent -k 20:19:13 unset SSH_AUTH_SOCK; 20:19:13 unset SSH_AGENT_PID; 20:19:13 echo Agent pid 76 killed; 20:19:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:19:13 + git semver [Pipeline] } 20:19:14 $ docker stop --time=1 46de4843f5a0cdf4057495760f79c15624522151caf44b53800a6e27509310cb 20:19:15 $ docker rm -f --volumes 46de4843f5a0cdf4057495760f79c15624522151caf44b53800a6e27509310cb [Pipeline] // withDockerContainer [Pipeline] sh 20:19:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:19:16 Stashed 1 file(s) [Pipeline] echo 20:19:16 [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 20:19:16 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:19:16 ========================================================= 20:19:16 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:19:16 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:19:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:19:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:19:17 f56be85fc22e: Pulling fs layer 20:19:17 85791d961cd3: Pulling fs layer 20:19:17 d694b5ae8c79: Pulling fs layer 20:19:17 9f32a84ed3da: Pulling fs layer 20:19:17 4d19c01a9841: Pulling fs layer 20:19:17 9325e15d5711: Pulling fs layer 20:19:17 556b6ee489ea: Pulling fs layer 20:19:17 c5a4b2cf53e6: Pulling fs layer 20:19:17 9f32a84ed3da: Waiting 20:19:17 4d19c01a9841: Waiting 20:19:17 9325e15d5711: Waiting 20:19:17 556b6ee489ea: Waiting 20:19:17 c5a4b2cf53e6: Waiting 20:19:17 85791d961cd3: Download complete 20:19:17 9f32a84ed3da: Verifying Checksum 20:19:17 9f32a84ed3da: Download complete 20:19:17 4d19c01a9841: Verifying Checksum 20:19:17 4d19c01a9841: Download complete 20:19:17 f56be85fc22e: Verifying Checksum 20:19:17 f56be85fc22e: Download complete 20:19:17 9325e15d5711: Verifying Checksum 20:19:17 9325e15d5711: Download complete 20:19:17 f56be85fc22e: Pull complete 20:19:17 85791d961cd3: Pull complete 20:19:17 c5a4b2cf53e6: Verifying Checksum 20:19:17 c5a4b2cf53e6: Download complete 20:19:18 d694b5ae8c79: Verifying Checksum 20:19:18 d694b5ae8c79: Download complete 20:19:18 556b6ee489ea: Verifying Checksum 20:19:18 556b6ee489ea: Download complete 20:19:21 d694b5ae8c79: Pull complete 20:19:21 9f32a84ed3da: Pull complete 20:19:21 4d19c01a9841: Pull complete 20:19:21 9325e15d5711: Pull complete 20:19:24 556b6ee489ea: Pull complete 20:19:25 c5a4b2cf53e6: Pull complete 20:19:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:19:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:19:25 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:19:25 WORKDIR /edgex 20:19:25 COPY go.mod . 20:19:25 RUN go mod download 20:19:25 + docker build -t ci-base-image-x86_64 -f - . 20:19:25 Sending build context to Docker daemon 170.7MB 20:19:25 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:19:25 ---> c4be618373d6 20:19:25 Step 2/4 : WORKDIR /edgex 20:19:30 ---> Running in 6bd5a9c5f741 20:19:30 Removing intermediate container 6bd5a9c5f741 20:19:30 ---> a1be76ca1d8e 20:19:30 Step 3/4 : COPY go.mod . 20:19:30 ---> c7938e0b98d8 20:19:30 Step 4/4 : RUN go mod download 20:19:30 ---> Running in c3a96f9dc4a9 20:19:31 Still waiting to schedule task 20:19:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:19:42 Removing intermediate container c3a96f9dc4a9 20:19:42 ---> ad7b7152dfc5 20:19:42 Successfully built ad7b7152dfc5 20:19:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:42 + docker inspect -f . ci-base-image-x86_64 20:19:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:42 prd-ubuntu20.04-docker-8c-8g-14545 does not seem to be running inside a container 20:19:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat 20:19:43 $ docker top 59d1775b922221e411ec823d19392dca5bb1867c5f169d03b1ab968abbcf4b62 -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:43 + go version 20:19:43 go version go1.20.2 linux/amd64 [Pipeline] } 20:19:43 $ docker stop --time=1 59d1775b922221e411ec823d19392dca5bb1867c5f169d03b1ab968abbcf4b62 20:19:45 $ docker rm -f --volumes 59d1775b922221e411ec823d19392dca5bb1867c5f169d03b1ab968abbcf4b62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:45 + docker inspect -f . ci-base-image-x86_64 20:19:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:45 prd-ubuntu20.04-docker-8c-8g-14545 does not seem to be running inside a container 20:19:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-x86_64 cat 20:19:46 $ docker top b904acffbaa795a6c234910bc316dcf01879b5b622a0d37f665ae755da5a5f5e -eo pid,comm [Pipeline] { [Pipeline] echo 20:19:46 ========================================================= 20:19:46 [edgeXBuildGoParallel] Running Tests and Build... 20:19:46 ========================================================= [Pipeline] sh 20:19:46 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:19:47 + make test 20:19:47 go test -race -coverprofile=coverage.out ./... 20:19:47 internal/core/command/main.go:25:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/application/command.go:15:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/main.go:27:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/main.go:28:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/main.go:29:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/init.go:25:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/init.go:26:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/config/config.go:20:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/config (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/command/container/config.go:20:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/di (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:19:47 internal/core/common_config/main.go:26:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config (imported by github.com/edgexfoundry/edgex-go/internal/core/common_config); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 20:19:47 internal/core/common_config/main.go:28:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment (imported by github.com/edgexfoundry/edgex-go/internal/core/common_config); to add: 20:19:47 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 20:19:47 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:19:47 $ docker stop --time=1 b904acffbaa795a6c234910bc316dcf01879b5b622a0d37f665ae755da5a5f5e 20:19:49 $ docker rm -f --volumes b904acffbaa795a6c234910bc316dcf01879b5b622a0d37f665ae755da5a5f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] } 20:19:49 Failed in branch amd64 20:22:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14546 in /w/workspace/edgexfoundry_edgex-go_PR-4556 [Pipeline] { [Pipeline] ws 20:22:43 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 20:22:43 The recommended git tool is: git 20:22:48 using credential edgex-jenkins-ssh 20:22:48 Cloning the remote Git repository 20:22:48 Cloning repository git@github.com:edgexfoundry/edgex-go.git 20:22:49 > git init /w/workspace/edgex-go/1 # timeout=10 20:22:49 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:22:49 > git --version # timeout=10 20:22:49 > git --version # 'git version 2.25.1' 20:22:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:22:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:23:04 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:23:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:23:06 Merging remotes/origin/main commit 857beb77c92229047ced6cb20085c205aee91962 into PR head commit d68c691a34be6ef31726a8308433060eb8fa46f9 20:23:07 Merge succeeded, producing d68c691a34be6ef31726a8308433060eb8fa46f9 20:23:07 Checking out Revision d68c691a34be6ef31726a8308433060eb8fa46f9 (PR-4556) 20:23:05 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 20:23:05 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 20:23:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4556/head:refs/remotes/origin/PR-4556 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:23:06 > git config core.sparsecheckout # timeout=10 20:23:06 > git checkout -f d68c691a34be6ef31726a8308433060eb8fa46f9 # timeout=10 20:23:07 > git remote # timeout=10 20:23:07 > git config --get remote.origin.url # timeout=10 20:23:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:07 > git merge 857beb77c92229047ced6cb20085c205aee91962 # timeout=10 20:23:07 > git rev-parse HEAD^{commit} # timeout=10 20:23:07 > git config core.sparsecheckout # timeout=10 20:23:07 > git checkout -f d68c691a34be6ef31726a8308433060eb8fa46f9 # timeout=10 20:23:13 Commit message: "feat: Add GetSecret and RunTimeSecret metrics" 20:23:13 > git --version # timeout=10 20:23:13 > git --version # 'git version 2.25.1' 20:23:13 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:23:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:23:14 % Total % Received % Xferd Average Speed Time Time Time Current 20:23:14 Dload Upload Total Spent Left Speed 20:23:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 20:23:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:23:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:23:15 + sudo tee /etc/docker/daemon.new 20:23:15 { 20:23:15 "registry-mirrors": [ 20:23:15 "https://nexus3.edgexfoundry.org:10001" 20:23:15 ], 20:23:15 "bip": "10.250.0.254/24", 20:23:15 "hosts": [ 20:23:15 "tcp://0.0.0.0:5555", 20:23:15 "unix:///var/run/docker.sock" 20:23:15 ], 20:23:15 "mtu": 1458, 20:23:15 "selinux-enabled": true, 20:23:15 "seccomp-profile": "/etc/docker/seccomp.json" 20:23:15 } [Pipeline] sh 20:23:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:23:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:23:34 provisioning config files... 20:23:34 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7389340271898211900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:35 ---> docker-login.sh 20:23:35 nexus3.edgexfoundry.org:10001 20:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:35 Configure a credential helper to remove this warning. See 20:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:35 20:23:35 Login Succeeded 20:23:35 nexus3.edgexfoundry.org:10002 20:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:36 Configure a credential helper to remove this warning. See 20:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:36 20:23:36 Login Succeeded 20:23:36 nexus3.edgexfoundry.org:10003 20:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:36 Configure a credential helper to remove this warning. See 20:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:36 20:23:36 Login Succeeded 20:23:36 nexus3.edgexfoundry.org:10004 20:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:37 Configure a credential helper to remove this warning. See 20:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:37 20:23:37 Login Succeeded 20:23:37 docker.io 20:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:37 Configure a credential helper to remove this warning. See 20:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:37 20:23:37 Login Succeeded 20:23:37 ---> docker-login.sh ends [Pipeline] } 20:23:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 20:23:38 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 20:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:23:38 ========================================================= 20:23:38 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:23:38 ========================================================= [Pipeline] fileExists [Pipeline] sh 20:23:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:23:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:23:40 c41833b44d91: Pulling fs layer 20:23:40 ed15518f5707: Pulling fs layer 20:23:40 feae8fd75edb: Pulling fs layer 20:23:40 242c74f7c9fa: Pulling fs layer 20:23:40 3cdef696dda3: Pulling fs layer 20:23:40 2ced38df9373: Pulling fs layer 20:23:40 58f1dce35555: Pulling fs layer 20:23:40 242c74f7c9fa: Waiting 20:23:40 3cdef696dda3: Waiting 20:23:40 2ced38df9373: Waiting 20:23:40 58f1dce35555: Waiting 20:23:40 ed15518f5707: Verifying Checksum 20:23:40 ed15518f5707: Download complete 20:23:40 242c74f7c9fa: Verifying Checksum 20:23:40 242c74f7c9fa: Download complete 20:23:40 3cdef696dda3: Download complete 20:23:40 c41833b44d91: Verifying Checksum 20:23:40 c41833b44d91: Download complete 20:23:41 c41833b44d91: Pull complete 20:23:42 58f1dce35555: Verifying Checksum 20:23:42 58f1dce35555: Download complete 20:23:42 ed15518f5707: Pull complete 20:23:43 feae8fd75edb: Verifying Checksum 20:23:43 feae8fd75edb: Download complete 20:23:43 2ced38df9373: Verifying Checksum 20:23:43 2ced38df9373: Download complete 20:23:53 feae8fd75edb: Pull complete 20:23:53 242c74f7c9fa: Pull complete 20:23:53 3cdef696dda3: Pull complete 20:24:00 2ced38df9373: Pull complete 20:24:03 58f1dce35555: Pull complete 20:24:03 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:24:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:24:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 20:24:03 + docker build -t ci-base-image-arm64 -f - . 20:24:03 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:24:03 WORKDIR /edgex 20:24:03 COPY go.mod . 20:24:03 RUN go mod download 20:24:04 Sending build context to Docker daemon 2.932MB 20:24:04 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:24:04 ---> fadd8f120f05 20:24:04 Step 2/4 : WORKDIR /edgex 20:24:06 ---> Running in ee3a142db245 20:24:06 Removing intermediate container ee3a142db245 20:24:06 ---> 2a37ec105ab9 20:24:06 Step 3/4 : COPY go.mod . 20:24:06 ---> 9506d6dda693 20:24:06 Step 4/4 : RUN go mod download 20:24:07 ---> Running in d8153067cf51 20:24:39 Removing intermediate container d8153067cf51 20:24:39 ---> eb259c22045b 20:24:39 Successfully built eb259c22045b 20:24:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:39 + docker inspect -f . ci-base-image-arm64 20:24:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:39 prd-ubuntu20.04-docker-arm64-4c-16g-14546 does not seem to be running inside a container 20:24:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 20:24:41 $ docker top 7575439071c393e3f51b0448a9c338e6441044ac20e5b5a1a597d6c1e20a8d17 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:42 + go version 20:24:42 go version go1.20.2 linux/arm64 [Pipeline] } 20:24:42 $ docker stop --time=1 7575439071c393e3f51b0448a9c338e6441044ac20e5b5a1a597d6c1e20a8d17 20:24:43 $ docker rm -f --volumes 7575439071c393e3f51b0448a9c338e6441044ac20e5b5a1a597d6c1e20a8d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:44 + docker inspect -f . ci-base-image-arm64 20:24:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:45 prd-ubuntu20.04-docker-arm64-4c-16g-14546 does not seem to be running inside a container 20:24:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** ci-base-image-arm64 cat 20:24:46 $ docker top 6591838c5493980487236a08163b86ce0f9bac301806aee6bb80c5c406c20d21 -eo pid,comm [Pipeline] { [Pipeline] echo 20:24:47 ========================================================= 20:24:47 [edgeXBuildGoParallel] Running Tests and Build... 20:24:47 ========================================================= [Pipeline] sh 20:24:47 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 20:24:47 + make test 20:24:47 go test -race -coverprofile=coverage.out ./... 20:24:52 internal/core/command/main.go:25:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/application/command.go:15:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/main.go:27:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/main.go:28:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/main.go:29:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/init.go:25:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/init.go:26:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/config/config.go:20:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/config (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/command/container/config.go:20:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/di (imported by github.com/edgexfoundry/edgex-go/internal/core/command); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/command 20:24:52 internal/core/common_config/main.go:26:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config (imported by github.com/edgexfoundry/edgex-go/internal/core/common_config); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 20:24:52 internal/core/common_config/main.go:28:2: missing go.sum entry for module providing package github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment (imported by github.com/edgexfoundry/edgex-go/internal/core/common_config); to add: 20:24:52 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 20:24:52 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 20:24:52 $ docker stop --time=1 6591838c5493980487236a08163b86ce0f9bac301806aee6bb80c5c406c20d21 20:24:53 $ docker rm -f --volumes 6591838c5493980487236a08163b86ce0f9bac301806aee6bb80c5c406c20d21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 20:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:55 20:24:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:55 arm64: Pulling from edgex-lftools-log-publisher 20:24:55 8998bd30e6a1: Pulling fs layer 20:24:55 04944245beec: Pulling fs layer 20:24:55 699f458cf7ca: Pulling fs layer 20:24:55 765212b225bb: Pulling fs layer 20:24:55 f23df028b6ca: Pulling fs layer 20:24:55 d65c8cfc05b1: Pulling fs layer 20:24:55 2437ff75d9bd: Pulling fs layer 20:24:55 2437ff75d9bd: Waiting 20:24:55 d65c8cfc05b1: Waiting 20:24:55 765212b225bb: Waiting 20:24:55 04944245beec: Verifying Checksum 20:24:55 04944245beec: Download complete 20:24:55 765212b225bb: Verifying Checksum 20:24:55 765212b225bb: Download complete 20:24:55 f23df028b6ca: Verifying Checksum 20:24:55 f23df028b6ca: Download complete 20:24:55 d65c8cfc05b1: Verifying Checksum 20:24:55 d65c8cfc05b1: Download complete 20:24:56 699f458cf7ca: Verifying Checksum 20:24:56 699f458cf7ca: Download complete 20:24:56 8998bd30e6a1: Verifying Checksum 20:24:56 8998bd30e6a1: Download complete 20:24:58 2437ff75d9bd: Verifying Checksum 20:24:58 2437ff75d9bd: Download complete 20:25:00 8998bd30e6a1: Pull complete 20:25:00 04944245beec: Pull complete 20:25:01 699f458cf7ca: Pull complete 20:25:01 765212b225bb: Pull complete 20:25:02 f23df028b6ca: Pull complete 20:25:02 d65c8cfc05b1: Pull complete 20:25:15 2437ff75d9bd: Pull complete 20:25:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:25:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:15 prd-ubuntu20.04-docker-arm64-4c-16g-14546 does not seem to be running inside a container 20:25:15 $ 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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:25:17 $ docker top 1561760c7fe29b193e90cbe2f10098ca8494cf219d95a60a5ac5330d7bd008e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:18 ---> job-cost.sh 20:25:18 lf-activate-venv: SKIPPING 20:25:18 INFO: No Stack... 20:25:19 INFO: Retrieving Pricing Info for: v3-standard-4 20:25:20 INFO: Archiving Costs [Pipeline] sh 20:25:20 + cat /w/workspace/edgex-go/1/archives/cost.csv 20:25:20 + cut -d, -f6 [Pipeline] lock 20:25:20 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4556-1-stack-cost] 20:25:20 Resource [jenkins-edgexfoundry-edgex-go-PR-4556-1-stack-cost] did not exist. Created. 20:25:20 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4556-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:25:21 + echo total: 0.10999999940395355 [Pipeline] stash 20:25:21 Stashed 1 file(s) [Pipeline] } 20:25:21 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4556-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:25:21 $ docker stop --time=1 1561760c7fe29b193e90cbe2f10098ca8494cf219d95a60a5ac5330d7bd008e2 20:25:23 $ docker rm -f --volumes 1561760c7fe29b193e90cbe2f10098ca8494cf219d95a60a5ac5330d7bd008e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:25:24 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 20:25:25 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 20:25:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:25:27 ---> package-listing.sh 20:25:27 ++ facter osfamily 20:25:27 ++ tr '[:upper:]' '[:lower:]' 20:25:27 + OS_FAMILY=debian 20:25:27 + workspace=/w/workspace/edgex-go/1 20:25:27 + START_PACKAGES=/tmp/packages_start.txt 20:25:27 + END_PACKAGES=/tmp/packages_end.txt 20:25:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:25:27 + PACKAGES=/tmp/packages_start.txt 20:25:27 + '[' /w/workspace/edgex-go/1 ']' 20:25:27 + PACKAGES=/tmp/packages_end.txt 20:25:27 + case "${OS_FAMILY}" in 20:25:27 + dpkg -l 20:25:27 + grep '^ii' 20:25:27 + '[' -f /tmp/packages_start.txt ']' 20:25:27 + '[' -f /tmp/packages_end.txt ']' 20:25:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:25:27 + '[' /w/workspace/edgex-go/1 ']' 20:25:27 + mkdir -p /w/workspace/edgex-go/1/archives/ 20:25:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 20:25:27 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:25:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:28 20:25:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:28 latest: Pulling from edgex-lftools-log-publisher 20:25:28 5eb5b503b376: Pulling fs layer 20:25:28 5c69ac0246d0: Pulling fs layer 20:25:28 ec43610c2a17: Pulling fs layer 20:25:28 3a2ae6a8a46f: Pulling fs layer 20:25:28 33b1e0a273af: Pulling fs layer 20:25:28 5d3b04190fa2: Pulling fs layer 20:25:28 2f39f015ded8: Pulling fs layer 20:25:28 33b1e0a273af: Waiting 20:25:28 3a2ae6a8a46f: Waiting 20:25:28 5d3b04190fa2: Waiting 20:25:28 2f39f015ded8: Waiting 20:25:28 5c69ac0246d0: Verifying Checksum 20:25:28 5c69ac0246d0: Download complete 20:25:28 3a2ae6a8a46f: Download complete 20:25:28 33b1e0a273af: Verifying Checksum 20:25:28 33b1e0a273af: Download complete 20:25:28 ec43610c2a17: Verifying Checksum 20:25:28 ec43610c2a17: Download complete 20:25:28 5d3b04190fa2: Verifying Checksum 20:25:28 5d3b04190fa2: Download complete 20:25:28 5eb5b503b376: Verifying Checksum 20:25:28 5eb5b503b376: Download complete 20:25:29 2f39f015ded8: Download complete 20:25:30 5eb5b503b376: Pull complete 20:25:30 5c69ac0246d0: Pull complete 20:25:30 ec43610c2a17: Pull complete 20:25:30 3a2ae6a8a46f: Pull complete 20:25:31 33b1e0a273af: Pull complete 20:25:31 5d3b04190fa2: Pull complete 20:25:35 2f39f015ded8: Pull complete 20:25:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:35 prd-ubuntu20.04-docker-8c-8g-14545 does not seem to be running inside a container 20:25:35 $ 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/1/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/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:25:38 $ docker top 0534a358811b1f8ffb0a2774bb592ad1a8d5d7ddba3e44e99d0124d3dda5872d -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:38 + touch /tmp/pre-build-complete [Pipeline] sh 20:25:38 + mkdir -p /var/log/sysstat [Pipeline] sh 20:25:39 + ls /var/log/sa-host 20:25:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:25:39 provisioning config files... 20:25:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config15169469350122724644tmp [Pipeline] { [Pipeline] echo 20:25:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:25:39 ---> create-netrc.sh [Pipeline] } 20:25:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:25:40 ---> python-tools-install.sh [Pipeline] echo 20:25:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:25:40 ---> sudo-logs.sh 20:25:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:25:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:25:41 ---> job-cost.sh 20:25:41 lf-activate-venv: SKIPPING 20:25:41 DEBUG: total: 0.10999999940395355 20:25:41 INFO: Retrieving Stack Cost... 20:25:41 INFO: Retrieving Pricing Info for: v3-standard-8 20:25:41 INFO: Archiving Costs [Pipeline] echo 20:25:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:25:41 ---> logs-deploy.sh 20:25:41 lf-activate-venv: SKIPPING 20:25:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4556/1 20:25:41 INFO: archiving workspace using pattern(s): 20:25:42 Archives upload complete. 20:25:42 INFO: archiving logs to Nexus