Pull request #5187 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d34fcdb862f506fc833844d910dc5856e3f783c4+82c539f34f6a916b913fe300897188a5ee0c39b9 (6556ff3036059d63e74b2183207ae97b1046e804) 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-ssh1233839931390901407.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh10813730386808430686.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3716845159914729538.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7028443557334126110.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12587391863346545699.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [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.23 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 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-3536 in /w/workspace/edgexfoundry_edgex-go_PR-5187 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 82c539f34f6a916b913fe300897188a5ee0c39b9 into PR head commit d34fcdb862f506fc833844d910dc5856e3f783c4 Merge succeeded, producing d34fcdb862f506fc833844d910dc5856e3f783c4 Checking out Revision d34fcdb862f506fc833844d910dc5856e3f783c4 (PR-5187) > 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/5187/head:refs/remotes/origin/PR-5187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d34fcdb862f506fc833844d910dc5856e3f783c4 # 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 82c539f34f6a916b913fe300897188a5ee0c39b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d34fcdb862f506fc833844d910dc5856e3f783c4 # timeout=10 Commit message: "Update go.mod" > git rev-list --no-walk ab0fd3a87e2fd9b186a56965ad13e5cd99fd1d11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:56:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:56:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:56:59 ========================================================= 01:56:59 EdgeX Global Pipelines Version Info 01:56:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:57:00 ------------------- 01:57:00 stable info: 01:57:00 ------------------- 01:57:00 Commited By: Ginny Guan ginny@iotechsys.com 01:57:00 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:57:00 Message: update stable to v1.0.274 01:57:01 ------------------- 01:57:01 experimental info: 01:57:01 ------------------- 01:57:01 Commited By: **** collab-it+edgex@linuxfoundation.org 01:57:01 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 01:57:01 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-5187 [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-5187 [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-5187 [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d34fcdb862f506fc833844d910dc5856e3f783c4 [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d34fcdb [Pipeline] echo 01:57:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:01 provisioning config files... 01:57:01 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config2585148577044837417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:02 ---> ****-login.sh 01:57:02 nexus3.edgexfoundry.org:10001 01:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:02 Configure a credential helper to remove this warning. See 01:57:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:02 01:57:02 Login Succeeded 01:57:02 nexus3.edgexfoundry.org:10002 01:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:02 Configure a credential helper to remove this warning. See 01:57:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:02 01:57:02 Login Succeeded 01:57:02 nexus3.edgexfoundry.org:10003 01:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:02 Configure a credential helper to remove this warning. See 01:57:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:02 01:57:02 Login Succeeded 01:57:02 nexus3.edgexfoundry.org:10004 01:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:02 Configure a credential helper to remove this warning. See 01:57:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:02 01:57:02 Login Succeeded 01:57:02 ****.io 01:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:03 Configure a credential helper to remove this warning. See 01:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:03 01:57:03 Login Succeeded 01:57:03 ---> ****-login.sh ends [Pipeline] } 01:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:57:03 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-keeper/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 01:57:03 + + dirname cmd/core-command/Dockerfile 01:57:03 cut -d/ -f2 01:57:03 + echo core-command,cmd/core-command/Dockerfile 01:57:03 + dirname cmd/core-common-config-bootstrapper/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 01:57:03 + dirname cmd/core-data/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo core-data,cmd/core-data/Dockerfile 01:57:03 + + dirname cmd/core-keeper/Dockerfile 01:57:03 cut -d/ -f2 01:57:03 + echo core-keeper,cmd/core-keeper/Dockerfile 01:57:03 + dirname cmd/core-metadata/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo core-metadata,cmd/core-metadata/Dockerfile 01:57:03 + dirname cmd/security-bootstrapper/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 01:57:03 + dirname cmd/security-proxy-auth/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 01:57:03 + dirname cmd/security-proxy-setup/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 01:57:03 + dirname cmd/security-secretstore-setup/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 01:57:03 + dirname cmd/security-spiffe-token-provider/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 01:57:03 + dirname cmd/security-spire-agent/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 01:57:03 + dirname cmd/security-spire-config/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-spire-config,cmd/security-spire-config/Dockerfile 01:57:03 + dirname cmd/security-spire-server/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo security-spire-server,cmd/security-spire-server/Dockerfile 01:57:03 + dirname cmd/support-notifications/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo support-notifications,cmd/support-notifications/Dockerfile 01:57:03 + dirname cmd/support-scheduler/Dockerfile 01:57:03 + cut -d/ -f2 01:57:03 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 01:57:03 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-keeper, dockerfile:cmd/core-keeper/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 01:57:03 + git rev-list -1 --merges d34fcdb862f506fc833844d910dc5856e3f783c4~1..d34fcdb862f506fc833844d910dc5856e3f783c4 [Pipeline] echo 01:57:03 -----------> git rev-list -1 --merges d34fcdb862f506fc833844d910dc5856e3f783c4~1..d34fcdb862f506fc833844d910dc5856e3f783c4 d34fcdb862f506fc833844d910dc5856e3f783c4 [false] [Pipeline] sh 01:57:04 + git log --format=format:%s -1 d34fcdb862f506fc833844d910dc5856e3f783c4 [Pipeline] echo 01:57:04 ========================================================= 01:57:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:57:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 01:57:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:57:04 + grep -v github /etc/ssh/ssh_known_hosts 01:57:04 + [ -e /tmp/ssh_known_hosts ] 01:57:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:57:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:57:04 + sudo tee -a /etc/ssh/ssh_known_hosts 01:57:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:05 01:57:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:05 0.1.4: Pulling from edgex-devops/py-git-semver 01:57:05 3dae71ba6b94: Pulling fs layer 01:57:05 6bf1a483ea7c: Pulling fs layer 01:57:05 f5dfc541a4d3: Pulling fs layer 01:57:05 461d9e800cba: Pulling fs layer 01:57:05 80192f66455f: Pulling fs layer 01:57:05 2e8e34ca0e6c: Pulling fs layer 01:57:05 a29436f7fd5d: Pulling fs layer 01:57:05 923cac83aea3: Pulling fs layer 01:57:05 25ad8b0a4227: Pulling fs layer 01:57:05 db01528c6b51: Pulling fs layer 01:57:05 28988de357af: Pulling fs layer 01:57:05 80192f66455f: Waiting 01:57:05 2e8e34ca0e6c: Waiting 01:57:05 a29436f7fd5d: Waiting 01:57:05 923cac83aea3: Waiting 01:57:05 25ad8b0a4227: Waiting 01:57:05 db01528c6b51: Waiting 01:57:05 28988de357af: Waiting 01:57:05 461d9e800cba: Waiting 01:57:05 6bf1a483ea7c: Verifying Checksum 01:57:05 6bf1a483ea7c: Download complete 01:57:05 461d9e800cba: Verifying Checksum 01:57:05 461d9e800cba: Download complete 01:57:05 80192f66455f: Verifying Checksum 01:57:05 80192f66455f: Download complete 01:57:05 f5dfc541a4d3: Verifying Checksum 01:57:05 f5dfc541a4d3: Download complete 01:57:05 3dae71ba6b94: Verifying Checksum 01:57:05 3dae71ba6b94: Download complete 01:57:05 923cac83aea3: Verifying Checksum 01:57:05 923cac83aea3: Download complete 01:57:06 25ad8b0a4227: Verifying Checksum 01:57:06 25ad8b0a4227: Download complete 01:57:06 db01528c6b51: Verifying Checksum 01:57:06 db01528c6b51: Download complete 01:57:06 28988de357af: Download complete 01:57:06 a29436f7fd5d: Verifying Checksum 01:57:06 a29436f7fd5d: Download complete 01:57:06 2e8e34ca0e6c: Verifying Checksum 01:57:06 2e8e34ca0e6c: Download complete 01:57:07 3dae71ba6b94: Pull complete 01:57:07 6bf1a483ea7c: Pull complete 01:57:07 f5dfc541a4d3: Pull complete 01:57:08 461d9e800cba: Pull complete 01:57:08 80192f66455f: Pull complete 01:57:11 2e8e34ca0e6c: Pull complete 01:57:12 a29436f7fd5d: Pull complete 01:57:12 923cac83aea3: Pull complete 01:57:12 25ad8b0a4227: Pull complete 01:57:12 db01528c6b51: Pull complete 01:57:12 28988de357af: Pull complete 01:57:12 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:12 prd-ubuntu20.04-docker-8c-8g-3536 does not seem to be running inside a container 01:57:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:57:20 $ docker top 11547fda091d173be80a20f3e8744cdc9afd1ca7cac0082f33f11a2141f5891c -eo pid,comm 01:57:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:57:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:57:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:20 [ssh-agent] Looking for ssh-agent implementation... 01:57:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:20 $ docker exec 11547fda091d173be80a20f3e8744cdc9afd1ca7cac0082f33f11a2141f5891c ssh-agent 01:57:20 SSH_AUTH_SOCK=/tmp/ssh-48KRCE9WLlsQ/agent.32 01:57:20 SSH_AGENT_PID=38 01:57:20 Running ssh-add (command line suppressed) 01:57:20 Identity added: /w/workspace/edgex-go/2@tmp/private_key_17177068900345844022.key (/w/workspace/edgex-go/2@tmp/private_key_17177068900345844022.key) 01:57:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:21 + git tag --points-at HEAD [Pipeline] } 01:57:21 $ docker exec --env ******** --env ******** 11547fda091d173be80a20f3e8744cdc9afd1ca7cac0082f33f11a2141f5891c ssh-agent -k 01:57:21 unset SSH_AUTH_SOCK; 01:57:21 unset SSH_AGENT_PID; 01:57:21 echo Agent pid 38 killed; 01:57:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:57:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:21 [ssh-agent] Looking for ssh-agent implementation... 01:57:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:21 $ docker exec 11547fda091d173be80a20f3e8744cdc9afd1ca7cac0082f33f11a2141f5891c ssh-agent 01:57:21 SSH_AUTH_SOCK=/tmp/ssh-wul12tZgJM6X/agent.71 01:57:21 SSH_AGENT_PID=78 01:57:21 Running ssh-add (command line suppressed) 01:57:21 Identity added: /w/workspace/edgex-go/2@tmp/private_key_14517340476980857843.key (/w/workspace/edgex-go/2@tmp/private_key_14517340476980857843.key) 01:57:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:21 + git semver init 01:57:22 2025-06-19 01:57:22,096 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:57:22 2025-06-19 01:57:22,106 [run_init] DEBUG init version:0.0.0 force:False 01:57:22 2025-06-19 01:57:22,107 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/2/.semver 01:57:22 2025-06-19 01:57:22,108 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/2/.semver 01:57:22 2025-06-19 01:57:22,108 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/2/.semver'], cwd=/w/workspace/edgex-go/2, stdin=None, shell=False, universal_newlines=False) 01:58:08 2025-06-19 01:58:08,260 [append_file] DEBUG append to file:/w/workspace/edgex-go/2/.git/info/exclude 01:58:08 2025-06-19 01:58:08,260 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/2/.semver/PR-5187 with force:False 01:58:08 2025-06-19 01:58:08,260 [write_file] DEBUG write to file:/w/workspace/edgex-go/2/.semver/PR-5187 01:58:08 2025-06-19 01:58:08,263 [execute] INFO git cat-file --batch-check 01:58:08 2025-06-19 01:58:08,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/2/.semver, stdin=, shell=False, universal_newlines=False) 01:58:08 2025-06-19 01:58:08,267 [execute] INFO git cat-file --batch 01:58:08 2025-06-19 01:58:08,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/2/.semver, stdin=, shell=False, universal_newlines=False) 01:58:08 2025-06-19 01:58:08,271 [read_version] DEBUG read version from /w/workspace/edgex-go/2/.semver/PR-5187 01:58:08 0.0.0 [Pipeline] } 01:58:08 $ docker exec --env ******** --env ******** 11547fda091d173be80a20f3e8744cdc9afd1ca7cac0082f33f11a2141f5891c ssh-agent -k 01:58:08 unset SSH_AUTH_SOCK; 01:58:08 unset SSH_AGENT_PID; 01:58:08 echo Agent pid 78 killed; 01:58:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:09 + git semver [Pipeline] } 01:58:09 $ docker stop --time=1 11547fda091d173be80a20f3e8744cdc9afd1ca7cac0082f33f11a2141f5891c 01:58:11 $ docker rm -f --volumes 11547fda091d173be80a20f3e8744cdc9afd1ca7cac0082f33f11a2141f5891c [Pipeline] // withDockerContainer [Pipeline] sh 01:58:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:58:11 Stashed 1 file(s) [Pipeline] echo 01:58:11 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] // stage [Pipeline] } 01:58:12 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] echo 01:58:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:58:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:58:12 ========================================================= 01:58:12 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:58:12 ========================================================= [Pipeline] fileExists [Pipeline] sh 01:58:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:58:12 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:58:12 0a9a5dfd008f: Pulling fs layer 01:58:12 36466aa92d05: Pulling fs layer 01:58:12 e10405b45d13: Pulling fs layer 01:58:12 096b7ceb2af7: Pulling fs layer 01:58:12 4f4fb700ef54: Pulling fs layer 01:58:12 8213a616a21b: Pulling fs layer 01:58:12 985586143405: Pulling fs layer 01:58:12 0eae2285b678: Pulling fs layer 01:58:12 d3ac315be8c5: Pulling fs layer 01:58:12 4f4fb700ef54: Waiting 01:58:12 d3ac315be8c5: Waiting 01:58:12 8213a616a21b: Waiting 01:58:12 0eae2285b678: Waiting 01:58:12 985586143405: Waiting 01:58:12 36466aa92d05: Verifying Checksum 01:58:12 36466aa92d05: Download complete 01:58:12 096b7ceb2af7: Verifying Checksum 01:58:12 096b7ceb2af7: Download complete 01:58:12 4f4fb700ef54: Verifying Checksum 01:58:12 4f4fb700ef54: Download complete 01:58:12 8213a616a21b: Verifying Checksum 01:58:12 8213a616a21b: Download complete 01:58:12 0a9a5dfd008f: Download complete 01:58:12 985586143405: Verifying Checksum 01:58:12 985586143405: Download complete 01:58:12 0a9a5dfd008f: Pull complete 01:58:13 36466aa92d05: Pull complete 01:58:13 d3ac315be8c5: Verifying Checksum 01:58:13 d3ac315be8c5: Download complete 01:58:13 e10405b45d13: Download complete 01:58:13 0eae2285b678: Verifying Checksum 01:58:13 0eae2285b678: Download complete 01:58:16 e10405b45d13: Pull complete 01:58:16 096b7ceb2af7: Pull complete 01:58:16 4f4fb700ef54: Pull complete 01:58:16 8213a616a21b: Pull complete 01:58:16 985586143405: Pull complete 01:58:18 0eae2285b678: Pull complete 01:58:18 d3ac315be8c5: Pull complete 01:58:18 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 01:58:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:58:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] fileExists [Pipeline] sh 01:58:19 + + echodocker FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:58:19 WORKDIR /edgex 01:58:19 COPY go.mod . 01:58:19 RUN go mod download build 01:58:19 -t ci-base-image-x86_64 -f - . 01:58:19 Sending build context to Docker daemon 185.9MB 01:58:19 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:58:19 ---> ea6120ae94a0 01:58:19 Step 2/4 : WORKDIR /edgex 01:58:29 ---> Running in 41bbef9e4849 01:58:29 Removing intermediate container 41bbef9e4849 01:58:29 ---> 493c53be5856 01:58:29 Step 3/4 : COPY go.mod . 01:58:29 ---> b2c8fb9dd593 01:58:29 Step 4/4 : RUN go mod download 01:58:29 ---> Running in e91db912d3ab 01:59:08 Removing intermediate container e91db912d3ab 01:59:08 ---> 7d736922bd78 01:59:08 Successfully built 7d736922bd78 01:59:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:08 + docker inspect -f . ci-base-image-x86_64 01:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:09 prd-ubuntu20.04-docker-8c-8g-3536 does not seem to be running inside a container 01:59:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:59:09 $ docker top 6cf9139b4b2af57e99467884bd6c909e5d7895fa79eedf5f06afad2a00a37886 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:09 + go version 01:59:09 go version go1.23.9 linux/amd64 [Pipeline] } 01:59:09 $ docker stop --time=1 6cf9139b4b2af57e99467884bd6c909e5d7895fa79eedf5f06afad2a00a37886 01:59:11 $ docker rm -f --volumes 6cf9139b4b2af57e99467884bd6c909e5d7895fa79eedf5f06afad2a00a37886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:11 + docker inspect -f . ci-base-image-x86_64 01:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:11 prd-ubuntu20.04-docker-8c-8g-3536 does not seem to be running inside a container 01:59:11 $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:59:11 $ docker top 7bf8d26494add68c041490cda25e3f434c0d2f0aff5a36285fb31cde2a42357b -eo pid,comm [Pipeline] { [Pipeline] echo 01:59:12 ========================================================= 01:59:12 [edgeXBuildGoParallel] Running Tests and Build... 01:59:12 ========================================================= [Pipeline] sh 01:59:12 + git config --global --add safe.directory /w/workspace/edgex-go/2 [Pipeline] fileExists [Pipeline] sh 01:59:12 + make test 01:59:12 go test -race -coverprofile=coverage.out ./... 01:59:13 go: updates to go.mod needed; to update it: 01:59:13 go mod tidy 01:59:13 make: *** [Makefile:171: unittest] Error 1 [Pipeline] } 01:59:13 $ docker stop --time=1 7bf8d26494add68c041490cda25e3f434c0d2f0aff5a36285fb31cde2a42357b 01:59:14 $ docker rm -f --volumes 7bf8d26494add68c041490cda25e3f434c0d2f0aff5a36285fb31cde2a42357b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:59:15 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:59:16 + [ -d /w/workspace/edgex-go/2/archives ] [Pipeline] libraryResource [Pipeline] sh 01:59:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:17 ---> package-listing.sh 01:59:17 ++ tr '[:upper:]' '[:lower:]' 01:59:17 ++ facter osfamily 01:59:17 + OS_FAMILY=debian 01:59:17 + workspace=/w/workspace/edgex-go/2 01:59:17 + START_PACKAGES=/tmp/packages_start.txt 01:59:17 + END_PACKAGES=/tmp/packages_end.txt 01:59:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:17 + PACKAGES=/tmp/packages_start.txt 01:59:17 + '[' /w/workspace/edgex-go/2 ']' 01:59:17 + PACKAGES=/tmp/packages_end.txt 01:59:17 + case "${OS_FAMILY}" in 01:59:17 + dpkg -l 01:59:17 + grep '^ii' 01:59:17 + '[' -f /tmp/packages_start.txt ']' 01:59:17 + '[' -f /tmp/packages_end.txt ']' 01:59:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:17 + '[' /w/workspace/edgex-go/2 ']' 01:59:17 + mkdir -p /w/workspace/edgex-go/2/archives/ 01:59:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 01:59:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:59:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:18 01:59:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:18 latest: Pulling from edgex-lftools-log-publisher 01:59:18 5eb5b503b376: Pulling fs layer 01:59:18 5c69ac0246d0: Pulling fs layer 01:59:18 ec43610c2a17: Pulling fs layer 01:59:18 3a2ae6a8a46f: Pulling fs layer 01:59:18 33b1e0a273af: Pulling fs layer 01:59:18 5d3b04190fa2: Pulling fs layer 01:59:18 2f39f015ded8: Pulling fs layer 01:59:18 3a2ae6a8a46f: Waiting 01:59:18 33b1e0a273af: Waiting 01:59:18 2f39f015ded8: Waiting 01:59:19 5c69ac0246d0: Verifying Checksum 01:59:19 5c69ac0246d0: Download complete 01:59:19 3a2ae6a8a46f: Download complete 01:59:19 ec43610c2a17: Verifying Checksum 01:59:19 ec43610c2a17: Download complete 01:59:19 33b1e0a273af: Verifying Checksum 01:59:19 33b1e0a273af: Download complete 01:59:19 5d3b04190fa2: Verifying Checksum 01:59:19 5d3b04190fa2: Download complete 01:59:19 5eb5b503b376: Download complete 01:59:20 2f39f015ded8: Download complete 01:59:20 5eb5b503b376: Pull complete 01:59:20 5c69ac0246d0: Pull complete 01:59:20 ec43610c2a17: Pull complete 01:59:20 3a2ae6a8a46f: Pull complete 01:59:20 33b1e0a273af: Pull complete 01:59:20 5d3b04190fa2: Pull complete 01:59:25 2f39f015ded8: Pull complete 01:59:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:59:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:25 prd-ubuntu20.04-docker-8c-8g-3536 does not seem to be running inside a container 01:59:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:59:28 $ docker top 020081d37865404f3c7e6445a7ef069c450d349703d808633618838a679e7cd9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:28 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:29 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:29 + ls /var/log/sa-host 01:59:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:29 provisioning config files... 01:59:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config8003958507583211823tmp [Pipeline] { [Pipeline] echo 01:59:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:29 ---> create-netrc.sh [Pipeline] } 01:59:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:30 ---> python-tools-install.sh [Pipeline] echo 01:59:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:30 ---> sudo-logs.sh 01:59:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:59:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:30 ---> job-cost.sh 01:59:30 lf-activate-venv: SKIPPING 01:59:30 INFO: No Stack... 01:59:31 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:31 INFO: Archiving Costs [Pipeline] echo 01:59:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> logs-deploy.sh 01:59:32 lf-activate-venv: SKIPPING 01:59:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-5187/2 01:59:32 INFO: archiving workspace using pattern(s): 01:59:32 Archives upload complete. 01:59:32 INFO: archiving logs to Nexus