Pull request #5159 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 jumpingliu for edgexfoundry/edgex-go Obtained Jenkinsfile from 43113e6ea6b815128a0915e37244c19cb334837b+21cd7c14f5e382ba721c8756160f6132a91a8ed6 (a9048cc01883d1b0e193eb4091b6423338d23c1b) 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-ssh8812827311941133091.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-ssh6740693677087265367.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 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-5159/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-5159/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7533055411166178167.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-5159/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3634297635246532252.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 > 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-ssh13879273543774783884.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-5159/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-5159/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16176143079151382128.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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 Running on prd-ubuntu20.04-docker-8c-8g-2094 in /w/workspace/edgexfoundry_edgex-go_PR-5159 [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/5159/head:refs/remotes/origin/PR-5159 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21cd7c14f5e382ba721c8756160f6132a91a8ed6 into PR head commit 43113e6ea6b815128a0915e37244c19cb334837b Merge succeeded, producing 43113e6ea6b815128a0915e37244c19cb334837b Checking out Revision 43113e6ea6b815128a0915e37244c19cb334837b (PR-5159) > git config core.sparsecheckout # timeout=10 > git checkout -f 43113e6ea6b815128a0915e37244c19cb334837b # 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 43113e6ea6b815128a0915e37244c19cb334837b # timeout=10 Commit message: "fix: correct UpdateDeviceServiceReques api docs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:25:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:25:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:25:47 ========================================================= 04:25:47 EdgeX Global Pipelines Version Info 04:25:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:25:48 ------------------- 04:25:48 stable info: 04:25:48 ------------------- 04:25:48 Commited By: Ginny Guan ginny@iotechsys.com 04:25:48 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 04:25:48 Message: update stable to v1.0.274 04:25:49 ------------------- 04:25:49 experimental info: 04:25:49 ------------------- 04:25:49 Commited By: Cherry Wang cherry@iotechsys.com 04:25:49 Commit SHA: 37b7ea18aae57a13c49558995fe7e8e2ee4c4e30 04:25:49 Message: update experimental to test-semver [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-5159 [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-5159 [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-5159 [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43113e6ea6b815128a0915e37244c19cb334837b [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43113e6 [Pipeline] echo 04:25:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:50 provisioning config files... 04:25:50 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config11513382324990772739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:51 ---> ****-login.sh 04:25:51 nexus3.edgexfoundry.org:10001 04:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:51 Configure a credential helper to remove this warning. See 04:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:51 04:25:51 Login Succeeded 04:25:51 nexus3.edgexfoundry.org:10002 04:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:51 Configure a credential helper to remove this warning. See 04:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:51 04:25:51 Login Succeeded 04:25:51 nexus3.edgexfoundry.org:10003 04:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:51 Configure a credential helper to remove this warning. See 04:25:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:51 04:25:51 Login Succeeded 04:25:51 nexus3.edgexfoundry.org:10004 04:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:52 Configure a credential helper to remove this warning. See 04:25:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:52 04:25:52 Login Succeeded 04:25:52 ****.io 04:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:52 Configure a credential helper to remove this warning. See 04:25:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:52 04:25:52 Login Succeeded 04:25:52 ---> ****-login.sh ends [Pipeline] } 04:25:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:25:52 + 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 04:25:52 + dirname cmd/core-command/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo core-command,cmd/core-command/Dockerfile 04:25:52 + dirname cmd/core-common-config-bootstrapper/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 04:25:52 + dirname cmd/core-data/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo core-data,cmd/core-data/Dockerfile 04:25:52 + dirname cmd/core-keeper/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo core-keeper,cmd/core-keeper/Dockerfile 04:25:52 + dirname cmd/core-metadata/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo core-metadata,cmd/core-metadata/Dockerfile 04:25:52 + dirname cmd/security-bootstrapper/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 04:25:52 + dirname cmd/security-proxy-auth/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo security-proxy-auth,cmd/security-proxy-auth/Dockerfile 04:25:52 + dirname cmd/security-proxy-setup/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 04:25:52 + dirname cmd/security-secretstore-setup/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 04:25:52 + + cut -d/ -f2 04:25:52 dirname cmd/security-spiffe-token-provider/Dockerfile 04:25:52 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 04:25:52 + dirname cmd/security-spire-agent/Dockerfile+ 04:25:52 cut -d/ -f2 04:25:52 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 04:25:52 + dirname cmd/security-spire-config/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo security-spire-config,cmd/security-spire-config/Dockerfile 04:25:52 + + dirname cmd/security-spire-server/Dockerfile 04:25:52 cut -d/ -f2 04:25:52 + echo security-spire-server,cmd/security-spire-server/Dockerfile 04:25:52 + dirname cmd/support-notifications/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo support-notifications,cmd/support-notifications/Dockerfile 04:25:52 + dirname cmd/support-scheduler/Dockerfile 04:25:52 + cut -d/ -f2 04:25:52 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 04:25:52 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 04:25:53 + git rev-list -1 --merges 43113e6ea6b815128a0915e37244c19cb334837b~1..43113e6ea6b815128a0915e37244c19cb334837b [Pipeline] echo 04:25:53 -----------> git rev-list -1 --merges 43113e6ea6b815128a0915e37244c19cb334837b~1..43113e6ea6b815128a0915e37244c19cb334837b 43113e6ea6b815128a0915e37244c19cb334837b [false] [Pipeline] sh 04:25:53 + git log --format=format:%s -1 43113e6ea6b815128a0915e37244c19cb334837b [Pipeline] echo 04:25:53 ========================================================= 04:25:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:25:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 04:25:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:25:54 + grep -v github /etc/ssh/ssh_known_hosts 04:25:54 + [ -e /tmp/ssh_known_hosts ] 04:25:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:25:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:25:54 + sudo tee -a /etc/ssh/ssh_known_hosts 04:25:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:55 04:25:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:55 0.1.4: Pulling from edgex-devops/py-git-semver 04:25:55 61ffccc6e275: Pulling fs layer 04:25:55 f778d6c4f6e9: Pulling fs layer 04:25:55 d2f62848b12d: Pulling fs layer 04:25:55 997762e48473: Pulling fs layer 04:25:55 be95abb5ad44: Pulling fs layer 04:25:55 3a9886674e01: Pulling fs layer 04:25:55 36e0284109b8: Pulling fs layer 04:25:55 47af2eeaf03f: Pulling fs layer 04:25:55 542e68fd9de1: Pulling fs layer 04:25:55 0716fb3ee34e: Pulling fs layer 04:25:55 997762e48473: Waiting 04:25:55 be95abb5ad44: Waiting 04:25:55 3a9886674e01: Waiting 04:25:55 36e0284109b8: Waiting 04:25:55 47af2eeaf03f: Waiting 04:25:55 542e68fd9de1: Waiting 04:25:55 0716fb3ee34e: Waiting 04:25:55 f778d6c4f6e9: Verifying Checksum 04:25:55 f778d6c4f6e9: Download complete 04:25:55 997762e48473: Verifying Checksum 04:25:55 997762e48473: Download complete 04:25:55 be95abb5ad44: Download complete 04:25:55 d2f62848b12d: Verifying Checksum 04:25:55 d2f62848b12d: Download complete 04:25:55 36e0284109b8: Download complete 04:25:55 47af2eeaf03f: Verifying Checksum 04:25:55 47af2eeaf03f: Download complete 04:25:55 542e68fd9de1: Download complete 04:25:55 61ffccc6e275: Verifying Checksum 04:25:55 61ffccc6e275: Download complete 04:25:55 0716fb3ee34e: Verifying Checksum 04:25:55 0716fb3ee34e: Download complete 04:25:55 3a9886674e01: Verifying Checksum 04:25:55 3a9886674e01: Download complete 04:25:56 61ffccc6e275: Pull complete 04:25:56 f778d6c4f6e9: Pull complete 04:25:57 d2f62848b12d: Pull complete 04:25:57 997762e48473: Pull complete 04:25:57 be95abb5ad44: Pull complete 04:25:59 3a9886674e01: Pull complete 04:25:59 36e0284109b8: Pull complete 04:25:59 47af2eeaf03f: Pull complete 04:25:59 542e68fd9de1: Pull complete 04:25:59 0716fb3ee34e: Pull complete 04:25:59 Digest: sha256:6a270b772b127ee5c690812b802243178d76555c3fc43ce52f38c0484bce00cf 04:25:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:59 prd-ubuntu20.04-docker-8c-8g-2094 does not seem to be running inside a container 04:25:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:26:00 $ docker top 8dac7ed972023bd1b988d74c636d74a82c267bc4e2c62a3290b0c522211ea246 -eo pid,comm 04:26:00 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). 04:26:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:26:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:00 [ssh-agent] Looking for ssh-agent implementation... 04:26:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:01 $ docker exec 8dac7ed972023bd1b988d74c636d74a82c267bc4e2c62a3290b0c522211ea246 ssh-agent 04:26:01 SSH_AUTH_SOCK=/tmp/ssh-KmLT4b88EoXE/agent.32 04:26:01 SSH_AGENT_PID=38 04:26:01 Running ssh-add (command line suppressed) 04:26:01 Identity added: /w/workspace/edgex-go/1@tmp/private_key_11208320763671318712.key (/w/workspace/edgex-go/1@tmp/private_key_11208320763671318712.key) 04:26:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:01 + git tag --points-at HEAD 04:26:01 fatal: detected dubious ownership in repository at '/w/workspace/edgex-go/1' 04:26:01 To add an exception for this directory, call: 04:26:01 04:26:01 git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] } 04:26:01 $ docker exec --env ******** --env ******** 8dac7ed972023bd1b988d74c636d74a82c267bc4e2c62a3290b0c522211ea246 ssh-agent -k 04:26:01 unset SSH_AUTH_SOCK; 04:26:01 unset SSH_AGENT_PID; 04:26:01 echo Agent pid 38 killed; 04:26:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:26:01 $ docker stop --time=1 8dac7ed972023bd1b988d74c636d74a82c267bc4e2c62a3290b0c522211ea246 04:26:03 $ docker rm -f --volumes 8dac7ed972023bd1b988d74c636d74a82c267bc4e2c62a3290b0c522211ea246 [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] } 04:26:04 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] } 04:26:05 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 04:26:07 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 04:26:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:26:08 ---> package-listing.sh 04:26:08 ++ facter osfamily 04:26:08 ++ tr '[:upper:]' '[:lower:]' 04:26:08 + OS_FAMILY=debian 04:26:08 + workspace=/w/workspace/edgex-go/1 04:26:08 + START_PACKAGES=/tmp/packages_start.txt 04:26:08 + END_PACKAGES=/tmp/packages_end.txt 04:26:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:26:08 + PACKAGES=/tmp/packages_start.txt 04:26:08 + '[' /w/workspace/edgex-go/1 ']' 04:26:08 + PACKAGES=/tmp/packages_end.txt 04:26:08 + case "${OS_FAMILY}" in 04:26:08 + dpkg -l 04:26:08 + grep '^ii' 04:26:08 + '[' -f /tmp/packages_start.txt ']' 04:26:08 + '[' -f /tmp/packages_end.txt ']' 04:26:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:26:08 + '[' /w/workspace/edgex-go/1 ']' 04:26:08 + mkdir -p /w/workspace/edgex-go/1/archives/ 04:26:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 04:26:08 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 04:26:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:09 04:26:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:09 latest: Pulling from edgex-lftools-log-publisher 04:26:09 5eb5b503b376: Pulling fs layer 04:26:09 5c69ac0246d0: Pulling fs layer 04:26:09 ec43610c2a17: Pulling fs layer 04:26:09 3a2ae6a8a46f: Pulling fs layer 04:26:09 33b1e0a273af: Pulling fs layer 04:26:09 5d3b04190fa2: Pulling fs layer 04:26:09 2f39f015ded8: Pulling fs layer 04:26:09 33b1e0a273af: Waiting 04:26:09 5d3b04190fa2: Waiting 04:26:09 2f39f015ded8: Waiting 04:26:09 3a2ae6a8a46f: Waiting 04:26:09 5c69ac0246d0: Verifying Checksum 04:26:09 5c69ac0246d0: Download complete 04:26:09 3a2ae6a8a46f: Download complete 04:26:09 33b1e0a273af: Verifying Checksum 04:26:09 33b1e0a273af: Download complete 04:26:09 5d3b04190fa2: Verifying Checksum 04:26:09 5d3b04190fa2: Download complete 04:26:09 ec43610c2a17: Verifying Checksum 04:26:09 ec43610c2a17: Download complete 04:26:09 5eb5b503b376: Verifying Checksum 04:26:09 5eb5b503b376: Download complete 04:26:10 2f39f015ded8: Download complete 04:26:11 5eb5b503b376: Pull complete 04:26:11 5c69ac0246d0: Pull complete 04:26:11 ec43610c2a17: Pull complete 04:26:11 3a2ae6a8a46f: Pull complete 04:26:11 33b1e0a273af: Pull complete 04:26:12 5d3b04190fa2: Pull complete 04:26:15 2f39f015ded8: Pull complete 04:26:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:26:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:15 prd-ubuntu20.04-docker-8c-8g-2094 does not seem to be running inside a container 04:26: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:26:17 $ docker top cbfcaeb4d7acc88a8d9653dcf1e4eacf4672225243f403975d81c2df1e0e0318 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:17 + touch /tmp/pre-build-complete [Pipeline] sh 04:26:18 + mkdir -p /var/log/sysstat [Pipeline] sh 04:26:18 + ls /var/log/sa-host 04:26:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:18 provisioning config files... 04:26:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config235496175886050334tmp [Pipeline] { [Pipeline] echo 04:26:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:26:19 ---> create-netrc.sh [Pipeline] } 04:26:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:26:19 ---> python-tools-install.sh [Pipeline] echo 04:26:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:26:19 ---> sudo-logs.sh 04:26:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:26:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:26:20 ---> job-cost.sh 04:26:20 lf-activate-venv: SKIPPING 04:26:20 INFO: No Stack... 04:26:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:26:27 INFO: Archiving Costs [Pipeline] echo 04:26:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:26:27 ---> logs-deploy.sh 04:26:27 lf-activate-venv: SKIPPING 04:26:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-5159/1 04:26:27 INFO: archiving workspace using pattern(s): 04:26:28 Archives upload complete. 04:26:28 INFO: archiving logs to Nexus