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