Pull request #5156 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 cherrycl for edgexfoundry/edgex-go Obtained Jenkinsfile from f3be4869ef3f9651d03d6d8361b5c3788fa425e8+21cd7c14f5e382ba721c8756160f6132a91a8ed6 (1b08b922653f35ea28634376606c108a9449af93) Loading library edgex-global-pipelines@b814cab411600c67aae6fa3995e513c26d7597a7 Attempting to resolve b814cab411600c67aae6fa3995e513c26d7597a7 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-ssh1698792852673902830.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Could not find b814cab411600c67aae6fa3995e513c26d7597a7 in remote references. Pulling heads to local for deep search... > 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-ssh11683228710615584353.key > git fetch --tags --progress -- origin +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse b814cab411600c67aae6fa3995e513c26d7597a7^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains b814cab411600c67aae6fa3995e513c26d7597a7 # timeout=10 Selected match: pr/472/head revision b814cab411600c67aae6fa3995e513c26d7597a7 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-5156/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-5156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6615497654003456539.key > git fetch --no-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 without 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-5156/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11699056915653851484.key > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b814cab411600c67aae6fa3995e513c26d7597a7 (pr/472/head) > git config core.sparsecheckout # timeout=10 > git checkout -f b814cab411600c67aae6fa3995e513c26d7597a7 # timeout=10 Commit message: "fix: debug for git-semver" > 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-ssh3997648260497080042.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-5156/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-5156/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11368163214688151178.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 b814cab411600c67aae6fa3995e513c26d7597a7 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-1982 in /w/workspace/edgexfoundry_edgex-go_PR-5156 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 21cd7c14f5e382ba721c8756160f6132a91a8ed6 into PR head commit f3be4869ef3f9651d03d6d8361b5c3788fa425e8 Merge succeeded, producing f3be4869ef3f9651d03d6d8361b5c3788fa425e8 Checking out Revision f3be4869ef3f9651d03d6d8361b5c3788fa425e8 (PR-5156) > 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/5156/head:refs/remotes/origin/PR-5156 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3be4869ef3f9651d03d6d8361b5c3788fa425e8 # 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 21cd7c14f5e382ba721c8756160f6132a91a8ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3be4869ef3f9651d03d6d8361b5c3788fa425e8 # timeout=10 Commit message: "fix: Use debug edgex-global-pipelines" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b814cab411600c67aae6fa3995e513c26d7597a7 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:48:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:48:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:48:41 ========================================================= 01:48:41 EdgeX Global Pipelines Version Info 01:48:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:48:42 ------------------- 01:48:42 stable info: 01:48:42 ------------------- 01:48:42 Commited By: Ginny Guan ginny@iotechsys.com 01:48:42 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:48:42 Message: update stable to v1.0.274 01:48:43 ------------------- 01:48:43 experimental info: 01:48:43 ------------------- 01:48:43 Commited By: Ginny Guan ginny@iotechsys.com 01:48:43 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 01:48:43 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:48:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-5156 [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-5156 [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-5156 [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3be4869ef3f9651d03d6d8361b5c3788fa425e8 [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3be486 [Pipeline] echo 01:48:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:44 provisioning config files... 01:48:44 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5928144019628390583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:45 ---> ****-login.sh 01:48:45 nexus3.edgexfoundry.org:10001 01:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:45 Configure a credential helper to remove this warning. See 01:48:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:45 01:48:45 Login Succeeded 01:48:45 nexus3.edgexfoundry.org:10002 01:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:45 Configure a credential helper to remove this warning. See 01:48:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:45 01:48:45 Login Succeeded 01:48:45 nexus3.edgexfoundry.org:10003 01:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:46 Configure a credential helper to remove this warning. See 01:48:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:46 01:48:46 Login Succeeded 01:48:46 nexus3.edgexfoundry.org:10004 01:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:46 Configure a credential helper to remove this warning. See 01:48:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:46 01:48:46 Login Succeeded 01:48:46 ****.io 01:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:46 Configure a credential helper to remove this warning. See 01:48:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:46 01:48:46 Login Succeeded 01:48:46 ---> ****-login.sh ends [Pipeline] } 01:48:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:46 + 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:48:46 + dirname cmd/core-command/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo core-command,cmd/core-command/Dockerfile 01:48:46 + dirname cmd/core-common-config-bootstrapper/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 01:48:46 + + cut -d/ -f2 01:48:46 dirname cmd/core-data/Dockerfile 01:48:46 + echo core-data,cmd/core-data/Dockerfile 01:48:46 + dirname cmd/core-keeper/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo core-keeper,cmd/core-keeper/Dockerfile 01:48:46 + dirname cmd/core-metadata/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo core-metadata,cmd/core-metadata/Dockerfile 01:48:46 + dirname cmd/security-bootstrapper/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 01:48:46 + dirname cmd/security-proxy-auth/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 01:48:46 + dirname cmd/security-proxy-setup/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 01:48:46 + dirname cmd/security-secretstore-setup/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 01:48:46 + dirname cmd/security-spiffe-token-provider/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 01:48:46 + dirname cmd/security-spire-agent/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 01:48:46 + dirname cmd/security-spire-config/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-spire-config,cmd/security-spire-config/Dockerfile 01:48:46 + dirname cmd/security-spire-server/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo security-spire-server,cmd/security-spire-server/Dockerfile 01:48:46 + dirname cmd/support-notifications/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo support-notifications,cmd/support-notifications/Dockerfile 01:48:46 + dirname cmd/support-scheduler/Dockerfile 01:48:46 + cut -d/ -f2 01:48:46 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 01:48:46 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:48:47 + git rev-list -1 --merges f3be4869ef3f9651d03d6d8361b5c3788fa425e8~1..f3be4869ef3f9651d03d6d8361b5c3788fa425e8 [Pipeline] echo 01:48:47 -----------> git rev-list -1 --merges f3be4869ef3f9651d03d6d8361b5c3788fa425e8~1..f3be4869ef3f9651d03d6d8361b5c3788fa425e8 f3be4869ef3f9651d03d6d8361b5c3788fa425e8 [false] [Pipeline] sh 01:48:47 + git log --format=format:%s -1 f3be4869ef3f9651d03d6d8361b5c3788fa425e8 [Pipeline] echo 01:48:47 ========================================================= 01:48:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:48:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 01:48:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:48 + grep -v github /etc/ssh/ssh_known_hosts 01:48:48 + [ -e /tmp/ssh_known_hosts ] 01:48:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:48:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:48:48 + sudo tee -a /etc/ssh/ssh_known_hosts 01:48:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:48 01:48:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:49 0.1.4: Pulling from edgex-devops/py-git-semver 01:48:49 61ffccc6e275: Pulling fs layer 01:48:49 f778d6c4f6e9: Pulling fs layer 01:48:49 d2f62848b12d: Pulling fs layer 01:48:49 997762e48473: Pulling fs layer 01:48:49 be95abb5ad44: Pulling fs layer 01:48:49 997762e48473: Waiting 01:48:49 3a9886674e01: Pulling fs layer 01:48:49 36e0284109b8: Pulling fs layer 01:48:49 be95abb5ad44: Waiting 01:48:49 3a9886674e01: Waiting 01:48:49 36e0284109b8: Waiting 01:48:49 47af2eeaf03f: Pulling fs layer 01:48:49 542e68fd9de1: Pulling fs layer 01:48:49 47af2eeaf03f: Waiting 01:48:49 0716fb3ee34e: Pulling fs layer 01:48:49 542e68fd9de1: Waiting 01:48:49 f778d6c4f6e9: Verifying Checksum 01:48:49 f778d6c4f6e9: Download complete 01:48:49 997762e48473: Verifying Checksum 01:48:49 997762e48473: Download complete 01:48:49 be95abb5ad44: Download complete 01:48:49 d2f62848b12d: Download complete 01:48:49 36e0284109b8: Verifying Checksum 01:48:49 36e0284109b8: Download complete 01:48:49 47af2eeaf03f: Verifying Checksum 01:48:49 47af2eeaf03f: Download complete 01:48:49 542e68fd9de1: Download complete 01:48:49 61ffccc6e275: Download complete 01:48:49 0716fb3ee34e: Verifying Checksum 01:48:49 0716fb3ee34e: Download complete 01:48:49 3a9886674e01: Verifying Checksum 01:48:49 3a9886674e01: Download complete 01:48:50 61ffccc6e275: Pull complete 01:48:50 f778d6c4f6e9: Pull complete 01:48:51 d2f62848b12d: Pull complete 01:48:51 997762e48473: Pull complete 01:48:51 be95abb5ad44: Pull complete 01:48:53 3a9886674e01: Pull complete 01:48:53 36e0284109b8: Pull complete 01:48:53 47af2eeaf03f: Pull complete 01:48:53 542e68fd9de1: Pull complete 01:48:53 0716fb3ee34e: Pull complete 01:48:53 Digest: sha256:6a270b772b127ee5c690812b802243178d76555c3fc43ce52f38c0484bce00cf 01:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:54 prd-ubuntu20.04-docker-8c-8g-1982 does not seem to be running inside a container 01:48:54 $ 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 01:48:57 $ docker top b895f47d158eca58d6acfca44a7f8a567203232710b0bc35406b9111949140f3 -eo pid,comm 01:48:57 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:48:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:57 [ssh-agent] Looking for ssh-agent implementation... 01:48:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:57 $ docker exec b895f47d158eca58d6acfca44a7f8a567203232710b0bc35406b9111949140f3 ssh-agent 01:48:57 SSH_AUTH_SOCK=/tmp/ssh-NnavG05zGCBv/agent.32 01:48:57 SSH_AGENT_PID=38 01:48:57 Running ssh-add (command line suppressed) 01:48:57 Identity added: /w/workspace/edgex-go/1@tmp/private_key_11942568288186448426.key (/w/workspace/edgex-go/1@tmp/private_key_11942568288186448426.key) 01:48:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:58 + ls -ld 01:48:58 drwxrwxr-x 10 1001 1001 4096 May 23 01:48 . [Pipeline] sh 01:48:58 + git config --global --add safe.directory . [Pipeline] sh 01:48:58 + git tag --points-at HEAD 01:48:58 fatal: detected dubious ownership in repository at '/w/workspace/edgex-go/1' 01:48:58 To add an exception for this directory, call: 01:48:58 01:48:58 git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] } 01:48:58 $ docker exec --env ******** --env ******** b895f47d158eca58d6acfca44a7f8a567203232710b0bc35406b9111949140f3 ssh-agent -k 01:48:59 unset SSH_AUTH_SOCK; 01:48:59 unset SSH_AGENT_PID; 01:48:59 echo Agent pid 38 killed; 01:48:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 01:48:59 $ docker stop --time=1 b895f47d158eca58d6acfca44a7f8a567203232710b0bc35406b9111949140f3 01:49:00 $ docker rm -f --volumes b895f47d158eca58d6acfca44a7f8a567203232710b0bc35406b9111949140f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] stage [Pipeline] { (Docker Build) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 01:49:02 Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } 01:49:02 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:49:04 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 01:49:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:49:05 ---> package-listing.sh 01:49:05 ++ facter osfamily 01:49:05 ++ tr '[:upper:]' '[:lower:]' 01:49:05 + OS_FAMILY=debian 01:49:05 + workspace=/w/workspace/edgex-go/1 01:49:05 + START_PACKAGES=/tmp/packages_start.txt 01:49:05 + END_PACKAGES=/tmp/packages_end.txt 01:49:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:49:05 + PACKAGES=/tmp/packages_start.txt 01:49:05 + '[' /w/workspace/edgex-go/1 ']' 01:49:05 + PACKAGES=/tmp/packages_end.txt 01:49:05 + case "${OS_FAMILY}" in 01:49:05 + dpkg -l 01:49:05 + grep '^ii' 01:49:05 + '[' -f /tmp/packages_start.txt ']' 01:49:05 + '[' -f /tmp/packages_end.txt ']' 01:49:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:49:05 + '[' /w/workspace/edgex-go/1 ']' 01:49:05 + mkdir -p /w/workspace/edgex-go/1/archives/ 01:49:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 01:49:05 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 01:49:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:06 01:49:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:07 latest: Pulling from edgex-lftools-log-publisher 01:49:07 5eb5b503b376: Pulling fs layer 01:49:07 5c69ac0246d0: Pulling fs layer 01:49:07 ec43610c2a17: Pulling fs layer 01:49:07 3a2ae6a8a46f: Pulling fs layer 01:49:07 33b1e0a273af: Pulling fs layer 01:49:07 5d3b04190fa2: Pulling fs layer 01:49:07 2f39f015ded8: Pulling fs layer 01:49:07 2f39f015ded8: Waiting 01:49:07 5d3b04190fa2: Waiting 01:49:07 3a2ae6a8a46f: Waiting 01:49:07 33b1e0a273af: Waiting 01:49:07 5c69ac0246d0: Download complete 01:49:07 3a2ae6a8a46f: Verifying Checksum 01:49:07 3a2ae6a8a46f: Download complete 01:49:07 33b1e0a273af: Verifying Checksum 01:49:07 33b1e0a273af: Download complete 01:49:07 5d3b04190fa2: Verifying Checksum 01:49:07 5d3b04190fa2: Download complete 01:49:07 ec43610c2a17: Verifying Checksum 01:49:07 ec43610c2a17: Download complete 01:49:07 5eb5b503b376: Verifying Checksum 01:49:07 5eb5b503b376: Download complete 01:49:07 2f39f015ded8: Verifying Checksum 01:49:07 2f39f015ded8: Download complete 01:49:08 5eb5b503b376: Pull complete 01:49:08 5c69ac0246d0: Pull complete 01:49:09 ec43610c2a17: Pull complete 01:49:09 3a2ae6a8a46f: Pull complete 01:49:09 33b1e0a273af: Pull complete 01:49:09 5d3b04190fa2: Pull complete 01:49:14 2f39f015ded8: Pull complete 01:49:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:15 prd-ubuntu20.04-docker-8c-8g-1982 does not seem to be running inside a container 01:49:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:49:19 $ docker top b829ef9db893267f8469bbcb77f0787be6befa9dd657f2789edcdfa97ec30f13 -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:19 + touch /tmp/pre-build-complete [Pipeline] sh 01:49:19 + mkdir -p /var/log/sysstat [Pipeline] sh 01:49:20 + ls /var/log/sa-host 01:49:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:20 provisioning config files... 01:49:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config4062262842534940014tmp [Pipeline] { [Pipeline] echo 01:49:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:49:20 ---> create-netrc.sh [Pipeline] } 01:49:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:49:21 ---> python-tools-install.sh [Pipeline] echo 01:49:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:49:21 ---> sudo-logs.sh 01:49:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:49:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:49:21 ---> job-cost.sh 01:49:21 lf-activate-venv: SKIPPING 01:49:21 INFO: No Stack... 01:49:22 INFO: Retrieving Pricing Info for: v3-standard-8 01:49:22 INFO: Archiving Costs [Pipeline] echo 01:49:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:49:23 ---> logs-deploy.sh 01:49:23 lf-activate-venv: SKIPPING 01:49:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-5156/1 01:49:23 INFO: archiving workspace using pattern(s): 01:49:23 Archives upload complete. 01:49:23 INFO: archiving logs to Nexus