Pull request #4606 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 lindseysimple for edgexfoundry/edgex-go Obtained Jenkinsfile from faf35754d3bfd22cc2f19060286c35346f11f15f+65b3fe88595591514c5cf7e171e4fb2a38fb0fa1 (cb8cc1f9e97f762356115dcf6d5253165b445139) 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-ssh16240815175695634622.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh119514459696964166.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-4606/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-4606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14144133791664408330.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-4606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11115325475316635595.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh2359359878485328575.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-4606/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-4606/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5777734361234269462.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-942 in /w/workspace/edgexfoundry_edgex-go_PR-4606 [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 > 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/4606/head:refs/remotes/origin/PR-4606 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 65b3fe88595591514c5cf7e171e4fb2a38fb0fa1 into PR head commit faf35754d3bfd22cc2f19060286c35346f11f15f Merge succeeded, producing faf35754d3bfd22cc2f19060286c35346f11f15f Checking out Revision faf35754d3bfd22cc2f19060286c35346f11f15f (PR-4606) > git config core.sparsecheckout # timeout=10 > git checkout -f faf35754d3bfd22cc2f19060286c35346f11f15f # 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 65b3fe88595591514c5cf7e171e4fb2a38fb0fa1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f faf35754d3bfd22cc2f19060286c35346f11f15f # timeout=10 Commit message: "feat: Replace gorilla/mux router library with Echo" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:29:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:29:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:29:29 ========================================================= 09:29:29 EdgeX Global Pipelines Version Info 09:29:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:29:30 ------------------- 09:29:30 stable info: 09:29:30 ------------------- 09:29:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:29:30 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:29:30 Message: update stable to v1.0.250 09:29:31 ------------------- 09:29:31 experimental info: 09:29:31 ------------------- 09:29:31 Commited By: **** collab-it+edgex@linuxfoundation.org 09:29:31 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:29:31 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 09:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4606 [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4606 [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4606 [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faf35754d3bfd22cc2f19060286c35346f11f15f [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faf3575 [Pipeline] echo 09:29:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:29:32 provisioning config files... 09:29:32 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config15729167706627513984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:33 ---> docker-login.sh 09:29:33 nexus3.edgexfoundry.org:10001 09:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:33 Configure a credential helper to remove this warning. See 09:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:33 09:29:33 Login Succeeded 09:29:33 nexus3.edgexfoundry.org:10002 09:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:33 Configure a credential helper to remove this warning. See 09:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:33 09:29:33 Login Succeeded 09:29:33 nexus3.edgexfoundry.org:10003 09:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:33 Configure a credential helper to remove this warning. See 09:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:33 09:29:33 Login Succeeded 09:29:33 nexus3.edgexfoundry.org:10004 09:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:34 Configure a credential helper to remove this warning. See 09:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:34 09:29:34 Login Succeeded 09:29:34 docker.io 09:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:34 Configure a credential helper to remove this warning. See 09:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:34 09:29:34 Login Succeeded 09:29:34 ---> docker-login.sh ends [Pipeline] } 09:29:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:29:35 + 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 09:29:35 + dirname cmd/core-command/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo core-command,cmd/core-command/Dockerfile 09:29:35 + dirname cmd/core-common-config-bootstrapper/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 09:29:35 + dirname cmd/core-data/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo core-data,cmd/core-data/Dockerfile 09:29:35 + dirname cmd/core-metadata/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo core-metadata,cmd/core-metadata/Dockerfile 09:29:35 + dirname cmd/security-bootstrapper/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 09:29:35 + + dirname cmd/security-proxy-auth/Dockerfile 09:29:35 cut -d/ -f2 09:29:35 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 09:29:35 + dirname cmd/security-proxy-setup/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 09:29:35 + dirname cmd/security-secretstore-setup/Dockerfile+ 09:29:35 cut -d/ -f2 09:29:35 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 09:29:35 + dirname cmd/security-spiffe-token-provider/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 09:29:35 + dirname cmd/security-spire-agent/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 09:29:35 + dirname cmd/security-spire-config/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo security-spire-config,cmd/security-spire-config/Dockerfile 09:29:35 + dirname cmd/security-spire-server/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo security-spire-server,cmd/security-spire-server/Dockerfile 09:29:35 + dirname cmd/support-notifications/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo support-notifications,cmd/support-notifications/Dockerfile 09:29:35 + dirname cmd/support-scheduler/Dockerfile 09:29:35 + cut -d/ -f2 09:29:35 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 09:29:35 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 09:29:35 + git rev-list -1 --merges faf35754d3bfd22cc2f19060286c35346f11f15f~1..faf35754d3bfd22cc2f19060286c35346f11f15f [Pipeline] echo 09:29:35 -----------> git rev-list -1 --merges faf35754d3bfd22cc2f19060286c35346f11f15f~1..faf35754d3bfd22cc2f19060286c35346f11f15f faf35754d3bfd22cc2f19060286c35346f11f15f [false] [Pipeline] sh 09:29:36 + git log --format=format:%s -1 faf35754d3bfd22cc2f19060286c35346f11f15f [Pipeline] echo 09:29:36 ========================================================= 09:29:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:29:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 09:29:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:29:36 + grep -v github /etc/ssh/ssh_known_hosts 09:29:36 + [ -e /tmp/ssh_known_hosts ] 09:29:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:29:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:29:36 + sudo tee -a /etc/ssh/ssh_known_hosts 09:29:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:29:37 09:29:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:29:37 0.1.4: Pulling from edgex-devops/py-git-semver 09:29:37 b85a868b505f: Pulling fs layer 09:29:37 e2be974225ed: Pulling fs layer 09:29:37 339a4e72a1f5: Pulling fs layer 09:29:37 988bab9f4d93: Pulling fs layer 09:29:37 1469e6f7b9e6: Pulling fs layer 09:29:37 eaf3925da568: Pulling fs layer 09:29:37 bab4dde63d76: Pulling fs layer 09:29:37 bde34c3a00c8: Pulling fs layer 09:29:37 988bab9f4d93: Waiting 09:29:37 1469e6f7b9e6: Waiting 09:29:37 eaf3925da568: Waiting 09:29:37 bab4dde63d76: Waiting 09:29:37 b352a97aabf1: Pulling fs layer 09:29:37 bde34c3a00c8: Waiting 09:29:37 4872d77fe225: Pulling fs layer 09:29:37 5851b861e8e6: Pulling fs layer 09:29:37 b352a97aabf1: Waiting 09:29:37 4872d77fe225: Waiting 09:29:37 5851b861e8e6: Waiting 09:29:37 e2be974225ed: Verifying Checksum 09:29:37 e2be974225ed: Download complete 09:29:37 988bab9f4d93: Verifying Checksum 09:29:37 988bab9f4d93: Download complete 09:29:37 339a4e72a1f5: Verifying Checksum 09:29:37 339a4e72a1f5: Download complete 09:29:37 1469e6f7b9e6: Verifying Checksum 09:29:37 1469e6f7b9e6: Download complete 09:29:37 eaf3925da568: Verifying Checksum 09:29:37 eaf3925da568: Download complete 09:29:37 bde34c3a00c8: Verifying Checksum 09:29:37 bde34c3a00c8: Download complete 09:29:37 b352a97aabf1: Download complete 09:29:37 4872d77fe225: Verifying Checksum 09:29:37 4872d77fe225: Download complete 09:29:37 5851b861e8e6: Download complete 09:29:37 b85a868b505f: Verifying Checksum 09:29:37 b85a868b505f: Download complete 09:29:38 bab4dde63d76: Verifying Checksum 09:29:38 bab4dde63d76: Download complete 09:29:39 b85a868b505f: Pull complete 09:29:39 e2be974225ed: Pull complete 09:29:39 339a4e72a1f5: Pull complete 09:29:39 988bab9f4d93: Pull complete 09:29:40 1469e6f7b9e6: Pull complete 09:29:40 eaf3925da568: Pull complete 09:29:42 bab4dde63d76: Pull complete 09:29:42 bde34c3a00c8: Pull complete 09:29:42 b352a97aabf1: Pull complete 09:29:42 4872d77fe225: Pull complete 09:29:42 5851b861e8e6: Pull complete 09:29:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:29:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:29:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:42 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 09:29:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:29:45 $ docker top 97019b64da42c053487aa2eb3a49013ee497b489816def38eca82b09407a181a -eo pid,comm 09:29:45 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). 09:29:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:29:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:45 [ssh-agent] Looking for ssh-agent implementation... 09:29:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:46 $ docker exec 97019b64da42c053487aa2eb3a49013ee497b489816def38eca82b09407a181a ssh-agent 09:29:46 SSH_AUTH_SOCK=/tmp/ssh-lUXOkExlbPeQ/agent.33 09:29:46 SSH_AGENT_PID=39 09:29:46 Running ssh-add (command line suppressed) 09:29:46 Identity added: /w/workspace/edgex-go/1@tmp/private_key_1497747808090110677.key (/w/workspace/edgex-go/1@tmp/private_key_1497747808090110677.key) 09:29:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:46 + git tag --points-at HEAD [Pipeline] } 09:29:46 $ docker exec --env ******** --env ******** 97019b64da42c053487aa2eb3a49013ee497b489816def38eca82b09407a181a ssh-agent -k 09:29:46 unset SSH_AUTH_SOCK; 09:29:46 unset SSH_AGENT_PID; 09:29:46 echo Agent pid 39 killed; 09:29:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:29:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:46 [ssh-agent] Looking for ssh-agent implementation... 09:29:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:46 $ docker exec 97019b64da42c053487aa2eb3a49013ee497b489816def38eca82b09407a181a ssh-agent 09:29:47 SSH_AUTH_SOCK=/tmp/ssh-zTktAEEDF1eE/agent.71 09:29:47 SSH_AGENT_PID=77 09:29:47 Running ssh-add (command line suppressed) 09:29:47 Identity added: /w/workspace/edgex-go/1@tmp/private_key_12235594014831521534.key (/w/workspace/edgex-go/1@tmp/private_key_12235594014831521534.key) 09:29:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:47 + git semver init 09:29:47 2023-07-12 09:29:47,718 [run_init] DEBUG init version:0.0.0 force:False 09:29:47 2023-07-12 09:29:47,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 09:29:47 2023-07-12 09:29:47,719 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 09:29:47 2023-07-12 09:29:47,720 [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) 09:29:53 2023-07-12 09:29:52,643 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 09:29:53 2023-07-12 09:29:52,644 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4606 with force:False 09:29:53 2023-07-12 09:29:52,644 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4606 09:29:53 2023-07-12 09:29:52,648 [execute] INFO git cat-file --batch-check 09:29:53 2023-07-12 09:29:52,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 09:29:53 2023-07-12 09:29:52,653 [execute] INFO git cat-file --batch 09:29:53 2023-07-12 09:29:52,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 09:29:53 2023-07-12 09:29:52,660 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4606 09:29:53 0.0.0 [Pipeline] } 09:29:53 $ docker exec --env ******** --env ******** 97019b64da42c053487aa2eb3a49013ee497b489816def38eca82b09407a181a ssh-agent -k 09:29:53 unset SSH_AUTH_SOCK; 09:29:53 unset SSH_AGENT_PID; 09:29:53 echo Agent pid 77 killed; 09:29:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:29:53 + git semver [Pipeline] } 09:29:53 $ docker stop --time=1 97019b64da42c053487aa2eb3a49013ee497b489816def38eca82b09407a181a 09:29:55 $ docker rm -f --volumes 97019b64da42c053487aa2eb3a49013ee497b489816def38eca82b09407a181a [Pipeline] // withDockerContainer [Pipeline] sh 09:29:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:29:55 Stashed 1 file(s) [Pipeline] echo 09:29:55 [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 09:29:56 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 09:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:29:56 ========================================================= 09:29:56 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:29:56 ========================================================= [Pipeline] fileExists [Pipeline] sh 09:29:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:29:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:29:57 f56be85fc22e: Pulling fs layer 09:29:57 85791d961cd3: Pulling fs layer 09:29:57 d694b5ae8c79: Pulling fs layer 09:29:57 9f32a84ed3da: Pulling fs layer 09:29:57 4d19c01a9841: Pulling fs layer 09:29:57 9325e15d5711: Pulling fs layer 09:29:57 556b6ee489ea: Pulling fs layer 09:29:57 c5a4b2cf53e6: Pulling fs layer 09:29:57 4d19c01a9841: Waiting 09:29:57 9f32a84ed3da: Waiting 09:29:57 9325e15d5711: Waiting 09:29:57 556b6ee489ea: Waiting 09:29:57 c5a4b2cf53e6: Waiting 09:29:57 85791d961cd3: Verifying Checksum 09:29:57 85791d961cd3: Download complete 09:29:57 9f32a84ed3da: Download complete 09:29:57 4d19c01a9841: Verifying Checksum 09:29:57 4d19c01a9841: Download complete 09:29:57 f56be85fc22e: Verifying Checksum 09:29:57 f56be85fc22e: Download complete 09:29:57 9325e15d5711: Verifying Checksum 09:29:57 9325e15d5711: Download complete 09:29:57 f56be85fc22e: Pull complete 09:29:57 85791d961cd3: Pull complete 09:29:57 c5a4b2cf53e6: Verifying Checksum 09:29:57 c5a4b2cf53e6: Download complete 09:29:57 d694b5ae8c79: Verifying Checksum 09:29:57 d694b5ae8c79: Download complete 09:29:57 556b6ee489ea: Download complete 09:30:01 d694b5ae8c79: Pull complete 09:30:01 9f32a84ed3da: Pull complete 09:30:01 4d19c01a9841: Pull complete 09:30:01 9325e15d5711: Pull complete 09:30:03 556b6ee489ea: Pull complete 09:30:04 c5a4b2cf53e6: Pull complete 09:30:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:30:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:30:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] fileExists [Pipeline] sh 09:30:05 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:30:05 WORKDIR /edgex 09:30:05 COPY go.mod . 09:30:05 RUN go mod download 09:30:05 + docker build -t ci-base-image-x86_64 -f - . 09:30:05 Sending build context to Docker daemon 170.6MB 09:30:05 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:30:05 ---> c4be618373d6 09:30:05 Step 2/4 : WORKDIR /edgex 09:30:11 Still waiting to schedule task 09:30:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:30:16 ---> Running in 4e78800b1dde 09:30:16 Removing intermediate container 4e78800b1dde 09:30:16 ---> ee715ace210b 09:30:16 Step 3/4 : COPY go.mod . 09:30:16 ---> b2cfdc63c6af 09:30:16 Step 4/4 : RUN go mod download 09:30:16 ---> Running in 9fca6bbd5850 09:30:31 Removing intermediate container 9fca6bbd5850 09:30:31 ---> 77376638b2ca 09:30:31 Successfully built 77376638b2ca 09:30:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:31 + docker inspect -f . ci-base-image-x86_64 09:30:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:31 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 09:30:31 $ 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 ******** ci-base-image-x86_64 cat 09:30:32 $ docker top 0278cac8b2a35c381c6e29c6e9c1952b7f2546be0f7a5297281c7392a7350872 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:32 + go version 09:30:32 go version go1.20.2 linux/amd64 [Pipeline] } 09:30:32 $ docker stop --time=1 0278cac8b2a35c381c6e29c6e9c1952b7f2546be0f7a5297281c7392a7350872 09:30:33 $ docker rm -f --volumes 0278cac8b2a35c381c6e29c6e9c1952b7f2546be0f7a5297281c7392a7350872 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:34 + docker inspect -f . ci-base-image-x86_64 09:30:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:34 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 09:30:34 $ 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 ******** ci-base-image-x86_64 cat 09:30:35 $ docker top 3f3eb56505c172778928c0ef2d0593e15a2a05b1ecb9ac4eb37d9ad5377e4e02 -eo pid,comm [Pipeline] { [Pipeline] echo 09:30:35 ========================================================= 09:30:35 [edgeXBuildGoParallel] Running Tests and Build... 09:30:35 ========================================================= [Pipeline] sh 09:30:35 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 09:30:35 + make test 09:30:35 go test -race -coverprofile=coverage.out ./... 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 09:30:36 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: 09:30:36 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 09:30:36 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 09:30:36 $ docker stop --time=1 3f3eb56505c172778928c0ef2d0593e15a2a05b1ecb9ac4eb37d9ad5377e4e02 09:30:37 $ docker rm -f --volumes 3f3eb56505c172778928c0ef2d0593e15a2a05b1ecb9ac4eb37d9ad5377e4e02 [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] } 09:30:38 Failed in branch amd64 09:31:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-943 in /w/workspace/edgexfoundry_edgex-go_PR-4606 [Pipeline] { [Pipeline] ws 09:31:47 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 09:31:47 The recommended git tool is: git 09:31:52 using credential edgex-jenkins-ssh 09:31:52 Cloning the remote Git repository 09:31:52 Cloning repository git@github.com:edgexfoundry/edgex-go.git 09:31:55 > git init /w/workspace/edgex-go/1 # timeout=10 09:31:55 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:31:55 > git --version # timeout=10 09:31:55 > git --version # 'git version 2.25.1' 09:31:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:31:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:32:10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:32:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:32:12 Merging remotes/origin/main commit 65b3fe88595591514c5cf7e171e4fb2a38fb0fa1 into PR head commit faf35754d3bfd22cc2f19060286c35346f11f15f 09:32:12 Merge succeeded, producing faf35754d3bfd22cc2f19060286c35346f11f15f 09:32:12 Checking out Revision faf35754d3bfd22cc2f19060286c35346f11f15f (PR-4606) 09:32:11 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 09:32:11 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 09:32:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4606/head:refs/remotes/origin/PR-4606 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:32:12 > git config core.sparsecheckout # timeout=10 09:32:12 > git checkout -f faf35754d3bfd22cc2f19060286c35346f11f15f # timeout=10 09:32:12 > git remote # timeout=10 09:32:12 > git config --get remote.origin.url # timeout=10 09:32:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:12 > git merge 65b3fe88595591514c5cf7e171e4fb2a38fb0fa1 # timeout=10 09:32:12 > git rev-parse HEAD^{commit} # timeout=10 09:32:12 > git config core.sparsecheckout # timeout=10 09:32:12 > git checkout -f faf35754d3bfd22cc2f19060286c35346f11f15f # timeout=10 09:32:16 Commit message: "feat: Replace gorilla/mux router library with Echo" 09:32:16 > git --version # timeout=10 09:32:16 > git --version # 'git version 2.25.1' 09:32:16 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:32:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:32:17 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:17 Dload Upload Total Spent Left Speed 09:32:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 09:32:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:32:18 + sudo tee /etc/docker/daemon.new 09:32:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:32:18 { 09:32:18 "registry-mirrors": [ 09:32:18 "https://nexus3.edgexfoundry.org:10001" 09:32:18 ], 09:32:18 "bip": "10.250.0.254/24", 09:32:18 "hosts": [ 09:32:18 "tcp://0.0.0.0:5555", 09:32:18 "unix:///var/run/docker.sock" 09:32:18 ], 09:32:18 "mtu": 1458, 09:32:18 "selinux-enabled": true, 09:32:18 "seccomp-profile": "/etc/docker/seccomp.json" 09:32:18 } [Pipeline] sh 09:32:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:32:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:37 provisioning config files... 09:32:37 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config16057316718105239707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:37 ---> docker-login.sh 09:32:37 nexus3.edgexfoundry.org:10001 09:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:38 Configure a credential helper to remove this warning. See 09:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:38 09:32:38 Login Succeeded 09:32:38 nexus3.edgexfoundry.org:10002 09:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:38 Configure a credential helper to remove this warning. See 09:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:38 09:32:38 Login Succeeded 09:32:38 nexus3.edgexfoundry.org:10003 09:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:39 Configure a credential helper to remove this warning. See 09:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:39 09:32:39 Login Succeeded 09:32:39 nexus3.edgexfoundry.org:10004 09:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:39 Configure a credential helper to remove this warning. See 09:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:39 09:32:39 Login Succeeded 09:32:39 docker.io 09:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:40 Configure a credential helper to remove this warning. See 09:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:40 09:32:40 Login Succeeded 09:32:40 ---> docker-login.sh ends [Pipeline] } 09:32:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 09:32:40 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 09:32:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:32:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:32:40 ========================================================= 09:32:40 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:32:40 ========================================================= [Pipeline] fileExists [Pipeline] sh 09:32:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:32:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:32:41 c41833b44d91: Pulling fs layer 09:32:41 ed15518f5707: Pulling fs layer 09:32:41 feae8fd75edb: Pulling fs layer 09:32:41 242c74f7c9fa: Pulling fs layer 09:32:41 3cdef696dda3: Pulling fs layer 09:32:41 2ced38df9373: Pulling fs layer 09:32:41 58f1dce35555: Pulling fs layer 09:32:41 242c74f7c9fa: Waiting 09:32:41 3cdef696dda3: Waiting 09:32:41 2ced38df9373: Waiting 09:32:41 58f1dce35555: Waiting 09:32:41 ed15518f5707: Verifying Checksum 09:32:41 ed15518f5707: Download complete 09:32:41 242c74f7c9fa: Verifying Checksum 09:32:41 242c74f7c9fa: Download complete 09:32:41 3cdef696dda3: Verifying Checksum 09:32:41 3cdef696dda3: Download complete 09:32:41 c41833b44d91: Verifying Checksum 09:32:41 c41833b44d91: Download complete 09:32:43 c41833b44d91: Pull complete 09:32:43 58f1dce35555: Verifying Checksum 09:32:43 58f1dce35555: Download complete 09:32:43 ed15518f5707: Pull complete 09:32:44 feae8fd75edb: Verifying Checksum 09:32:44 feae8fd75edb: Download complete 09:32:44 2ced38df9373: Verifying Checksum 09:32:44 2ced38df9373: Download complete 09:32:56 feae8fd75edb: Pull complete 09:32:56 242c74f7c9fa: Pull complete 09:32:56 3cdef696dda3: Pull complete 09:33:01 2ced38df9373: Pull complete 09:33:04 58f1dce35555: Pull complete 09:33:04 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:33:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:33:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] fileExists [Pipeline] sh 09:33:04 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:33:04 WORKDIR /edgex 09:33:04 COPY go.mod . 09:33:04 RUN go mod download 09:33:04 + docker build -t ci-base-image-arm64 -f - . 09:33:05 Sending build context to Docker daemon 2.948MB 09:33:05 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:33:05 ---> fadd8f120f05 09:33:05 Step 2/4 : WORKDIR /edgex 09:33:07 ---> Running in 6380b5c97177 09:33:07 Removing intermediate container 6380b5c97177 09:33:07 ---> 0ce78c9084cb 09:33:07 Step 3/4 : COPY go.mod . 09:33:08 ---> a391dd7e3361 09:33:08 Step 4/4 : RUN go mod download 09:33:08 ---> Running in ea037ba1fc78 09:33:37 Removing intermediate container ea037ba1fc78 09:33:37 ---> 95fbc2524522 09:33:37 Successfully built 95fbc2524522 09:33:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:38 + docker inspect -f . ci-base-image-arm64 09:33:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:38 prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 09:33:38 $ 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-arm64 cat 09:33:39 $ docker top 90dcf0282ffd6c96e636600b2310f98a252b635312e9ea7888c81dfe988c303b -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:40 + go version 09:33:40 go version go1.20.2 linux/arm64 [Pipeline] } 09:33:40 $ docker stop --time=1 90dcf0282ffd6c96e636600b2310f98a252b635312e9ea7888c81dfe988c303b 09:33:42 $ docker rm -f --volumes 90dcf0282ffd6c96e636600b2310f98a252b635312e9ea7888c81dfe988c303b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:42 + docker inspect -f . ci-base-image-arm64 09:33:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:43 prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 09:33:43 $ 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-arm64 cat 09:33:44 $ docker top 5f7580cb40daa4ba6cd8a89467e595a00e397ba8983c36ae46f23702931a5457 -eo pid,comm [Pipeline] { [Pipeline] echo 09:33:44 ========================================================= 09:33:44 [edgeXBuildGoParallel] Running Tests and Build... 09:33:44 ========================================================= [Pipeline] sh 09:33:45 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 09:33:45 + make test 09:33:45 go test -race -coverprofile=coverage.out ./... 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/command 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 09:33:50 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: 09:33:50 go get github.com/edgexfoundry/edgex-go/internal/core/common_config 09:33:50 make: *** [Makefile:148: unittest] Error 1 [Pipeline] } 09:33:50 $ docker stop --time=1 5f7580cb40daa4ba6cd8a89467e595a00e397ba8983c36ae46f23702931a5457 09:33:52 $ docker rm -f --volumes 5f7580cb40daa4ba6cd8a89467e595a00e397ba8983c36ae46f23702931a5457 [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 09:33:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:33:53 09:33:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:33:53 arm64: Pulling from edgex-lftools-log-publisher 09:33:53 8998bd30e6a1: Pulling fs layer 09:33:53 04944245beec: Pulling fs layer 09:33:53 699f458cf7ca: Pulling fs layer 09:33:53 765212b225bb: Pulling fs layer 09:33:53 f23df028b6ca: Pulling fs layer 09:33:53 d65c8cfc05b1: Pulling fs layer 09:33:53 2437ff75d9bd: Pulling fs layer 09:33:53 f23df028b6ca: Waiting 09:33:53 d65c8cfc05b1: Waiting 09:33:53 2437ff75d9bd: Waiting 09:33:53 765212b225bb: Waiting 09:33:53 04944245beec: Verifying Checksum 09:33:53 04944245beec: Download complete 09:33:53 765212b225bb: Verifying Checksum 09:33:53 765212b225bb: Download complete 09:33:53 f23df028b6ca: Verifying Checksum 09:33:53 f23df028b6ca: Download complete 09:33:53 d65c8cfc05b1: Verifying Checksum 09:33:53 d65c8cfc05b1: Download complete 09:33:53 699f458cf7ca: Verifying Checksum 09:33:53 699f458cf7ca: Download complete 09:33:54 8998bd30e6a1: Verifying Checksum 09:33:54 8998bd30e6a1: Download complete 09:33:56 2437ff75d9bd: Verifying Checksum 09:33:56 2437ff75d9bd: Download complete 09:33:59 8998bd30e6a1: Pull complete 09:34:00 04944245beec: Pull complete 09:34:01 699f458cf7ca: Pull complete 09:34:01 765212b225bb: Pull complete 09:34:02 f23df028b6ca: Pull complete 09:34:02 d65c8cfc05b1: Pull complete 09:34:17 2437ff75d9bd: Pull complete 09:34:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:34:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:34:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:17 prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 09:34:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:34:20 $ docker top b2bc7daec05ce7bd68487661b8e012bba43bc92a3a69b52ded6ca558a0cfc861 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:20 ---> job-cost.sh 09:34:20 lf-activate-venv: SKIPPING 09:34:20 INFO: No Stack... 09:34:21 INFO: Retrieving Pricing Info for: v3-standard-4 09:34:22 INFO: Archiving Costs [Pipeline] sh 09:34:22 + cat /w/workspace/edgex-go/1/archives/cost.csv 09:34:22 + cut -d, -f6 [Pipeline] lock 09:34:23 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4606-1-stack-cost] 09:34:23 Resource [jenkins-edgexfoundry-edgex-go-PR-4606-1-stack-cost] did not exist. Created. 09:34:23 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4606-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:34:23 + echo total: 0.10999999940395355 [Pipeline] stash 09:34:24 Stashed 1 file(s) [Pipeline] } 09:34:24 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4606-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:34:24 $ docker stop --time=1 b2bc7daec05ce7bd68487661b8e012bba43bc92a3a69b52ded6ca558a0cfc861 09:34:25 $ docker rm -f --volumes b2bc7daec05ce7bd68487661b8e012bba43bc92a3a69b52ded6ca558a0cfc861 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:34:26 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 09:34:28 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 09:34:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:34:29 ---> package-listing.sh 09:34:29 ++ facter osfamily 09:34:29 ++ tr '[:upper:]' '[:lower:]' 09:34:29 + OS_FAMILY=debian 09:34:29 + workspace=/w/workspace/edgex-go/1 09:34:29 + START_PACKAGES=/tmp/packages_start.txt 09:34:29 + END_PACKAGES=/tmp/packages_end.txt 09:34:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:34:29 + PACKAGES=/tmp/packages_start.txt 09:34:29 + '[' /w/workspace/edgex-go/1 ']' 09:34:29 + PACKAGES=/tmp/packages_end.txt 09:34:29 + case "${OS_FAMILY}" in 09:34:29 + dpkg -l 09:34:29 + grep '^ii' 09:34:29 + '[' -f /tmp/packages_start.txt ']' 09:34:29 + '[' -f /tmp/packages_end.txt ']' 09:34:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:34:29 + '[' /w/workspace/edgex-go/1 ']' 09:34:29 + mkdir -p /w/workspace/edgex-go/1/archives/ 09:34:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 09:34:29 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 09:34:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:30 09:34:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:31 latest: Pulling from edgex-lftools-log-publisher 09:34:31 5eb5b503b376: Pulling fs layer 09:34:31 5c69ac0246d0: Pulling fs layer 09:34:31 ec43610c2a17: Pulling fs layer 09:34:31 3a2ae6a8a46f: Pulling fs layer 09:34:31 33b1e0a273af: Pulling fs layer 09:34:31 5d3b04190fa2: Pulling fs layer 09:34:31 2f39f015ded8: Pulling fs layer 09:34:31 3a2ae6a8a46f: Waiting 09:34:31 33b1e0a273af: Waiting 09:34:31 5d3b04190fa2: Waiting 09:34:31 5c69ac0246d0: Verifying Checksum 09:34:31 5c69ac0246d0: Download complete 09:34:31 3a2ae6a8a46f: Verifying Checksum 09:34:31 3a2ae6a8a46f: Download complete 09:34:31 33b1e0a273af: Verifying Checksum 09:34:31 33b1e0a273af: Download complete 09:34:31 ec43610c2a17: Verifying Checksum 09:34:31 ec43610c2a17: Download complete 09:34:31 5d3b04190fa2: Download complete 09:34:31 5eb5b503b376: Verifying Checksum 09:34:31 5eb5b503b376: Download complete 09:34:31 2f39f015ded8: Download complete 09:34:32 5eb5b503b376: Pull complete 09:34:32 5c69ac0246d0: Pull complete 09:34:33 ec43610c2a17: Pull complete 09:34:33 3a2ae6a8a46f: Pull complete 09:34:33 33b1e0a273af: Pull complete 09:34:33 5d3b04190fa2: Pull complete 09:34:38 2f39f015ded8: Pull complete 09:34:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:34:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:39 prd-ubuntu20.04-docker-8c-8g-942 does not seem to be running inside a container 09:34:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:34:43 $ docker top 35183847f2979802a5239f41300fe2cf0526f08d387e2dc1c33e16bc7aa8eb05 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:44 + touch /tmp/pre-build-complete [Pipeline] sh 09:34:44 + mkdir -p /var/log/sysstat [Pipeline] sh 09:34:44 + ls /var/log/sa-host 09:34:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:44 provisioning config files... 09:34:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config515972773030640768tmp [Pipeline] { [Pipeline] echo 09:34:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:34:45 ---> create-netrc.sh [Pipeline] } 09:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:34:45 ---> python-tools-install.sh [Pipeline] echo 09:34:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:34:46 ---> sudo-logs.sh 09:34:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:34:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:34:46 ---> job-cost.sh 09:34:46 lf-activate-venv: SKIPPING 09:34:46 DEBUG: total: 0.10999999940395355 09:34:46 INFO: Retrieving Stack Cost... 09:34:46 INFO: Retrieving Pricing Info for: v3-standard-8 09:34:47 INFO: Archiving Costs [Pipeline] echo 09:34:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:34:47 ---> logs-deploy.sh 09:34:47 lf-activate-venv: SKIPPING 09:34:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4606/1 09:34:47 INFO: archiving workspace using pattern(s): 09:34:48 Archives upload complete. 09:34:48 INFO: archiving logs to Nexus