Pull request #4285 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 lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 39ef790b0fe884f03c2ee9fc2a023780c869a6e5+bf562dc766fd38f4e5702a64e70d5e04b319d653 (430acc06a1a9ae24b77a745744586a4dd6ad2a3e) 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-ssh18099985283415573032.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8162673760952998344.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-4285/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-4285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13835908664447606448.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-4285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11902695815310214674.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh7914916099221729399.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-4285/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-4285/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1549472622176563632.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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/v2 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 ‘prd-ubuntu20.04-docker-8c-8g-2588’ Running on prd-ubuntu20.04-docker-8c-8g-2590 in /w/workspace/edgexfoundry_edgex-go_PR-4285 [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 bf562dc766fd38f4e5702a64e70d5e04b319d653 into PR head commit 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 Merge succeeded, producing 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 Checking out Revision 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 (PR-4285) > 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/4285/head:refs/remotes/origin/PR-4285 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 # 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 bf562dc766fd38f4e5702a64e70d5e04b319d653 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 # timeout=10 Commit message: "refactor: Replace references to message queue in log messages" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:59:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:59:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:59:16 ========================================================= 16:59:16 EdgeX Global Pipelines Version Info 16:59:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:59:16 ------------------- 16:59:16 stable info: 16:59:16 ------------------- 16:59:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:59:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:59:16 Message: update stable to v1.0.244 16:59:17 ------------------- 16:59:17 experimental info: 16:59:17 ------------------- 16:59:17 Commited By: **** collab-it+edgex@linuxfoundation.org 16:59:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:59:17 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:59:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:59:17 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:59:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:59:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:59:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:59:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4285 [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4285 [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4285 [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39ef790 [Pipeline] echo 16:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:18 provisioning config files... 16:59:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config13553458774675694086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:19 ---> docker-login.sh 16:59:19 nexus3.edgexfoundry.org:10001 16:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:19 Configure a credential helper to remove this warning. See 16:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:19 16:59:19 Login Succeeded 16:59:19 nexus3.edgexfoundry.org:10002 16:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:19 Configure a credential helper to remove this warning. See 16:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:19 16:59:19 Login Succeeded 16:59:19 nexus3.edgexfoundry.org:10003 16:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:20 Configure a credential helper to remove this warning. See 16:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:20 16:59:20 Login Succeeded 16:59:20 nexus3.edgexfoundry.org:10004 16:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:20 Configure a credential helper to remove this warning. See 16:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:20 16:59:20 Login Succeeded 16:59:20 docker.io 16:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:20 Configure a credential helper to remove this warning. See 16:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:20 16:59:20 Login Succeeded 16:59:20 ---> docker-login.sh ends [Pipeline] } 16:59:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:20 + ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/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 16:59:20 + dirname cmd/core-command/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo core-command,cmd/core-command/Dockerfile 16:59:20 + dirname cmd/core-data/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo core-data,cmd/core-data/Dockerfile 16:59:20 + dirname cmd/core-metadata/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo core-metadata,cmd/core-metadata/Dockerfile 16:59:20 + dirname cmd/security-bootstrapper/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:59:20 + dirname cmd/security-proxy-setup/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + dirname cmd/security-secretstore-setup/Dockerfile 16:59:20 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:59:20 + dirname cmd/security-spiffe-token-provider/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 16:59:20 + dirname cmd/security-spire-agent/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 16:59:20 + dirname cmd/security-spire-config/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo security-spire-config,cmd/security-spire-config/Dockerfile 16:59:20 + dirname cmd/security-spire-server/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo security-spire-server,cmd/security-spire-server/Dockerfile 16:59:20 + dirname cmd/support-notifications/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo support-notifications,cmd/support-notifications/Dockerfile 16:59:20 + dirname cmd/support-scheduler/Dockerfile 16:59:20 + cut -d/ -f2 16:59:20 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 16:59:20 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-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 16:59:21 + git rev-list -1 --merges 39ef790b0fe884f03c2ee9fc2a023780c869a6e5~1..39ef790b0fe884f03c2ee9fc2a023780c869a6e5 [Pipeline] echo 16:59:21 -----------> git rev-list -1 --merges 39ef790b0fe884f03c2ee9fc2a023780c869a6e5~1..39ef790b0fe884f03c2ee9fc2a023780c869a6e5 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 [false] [Pipeline] sh 16:59:21 + git log --format=format:%s -1 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 [Pipeline] echo 16:59:21 ========================================================= 16:59:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:59:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:59:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:59:22 + grep -v github /etc/ssh/ssh_known_hosts 16:59:22 + [ -e /tmp/ssh_known_hosts ] 16:59:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:59:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:59:22 + sudo tee -a /etc/ssh/ssh_known_hosts 16:59:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:22 16:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:22 0.1.4: Pulling from edgex-devops/py-git-semver 16:59:22 b85a868b505f: Pulling fs layer 16:59:22 e2be974225ed: Pulling fs layer 16:59:22 339a4e72a1f5: Pulling fs layer 16:59:22 988bab9f4d93: Pulling fs layer 16:59:22 1469e6f7b9e6: Pulling fs layer 16:59:22 eaf3925da568: Pulling fs layer 16:59:22 bab4dde63d76: Pulling fs layer 16:59:22 bde34c3a00c8: Pulling fs layer 16:59:22 b352a97aabf1: Pulling fs layer 16:59:22 4872d77fe225: Pulling fs layer 16:59:22 5851b861e8e6: Pulling fs layer 16:59:22 988bab9f4d93: Waiting 16:59:22 bde34c3a00c8: Waiting 16:59:22 5851b861e8e6: Waiting 16:59:22 b352a97aabf1: Waiting 16:59:22 4872d77fe225: Waiting 16:59:22 1469e6f7b9e6: Waiting 16:59:22 eaf3925da568: Waiting 16:59:22 bab4dde63d76: Waiting 16:59:23 e2be974225ed: Verifying Checksum 16:59:23 e2be974225ed: Download complete 16:59:23 988bab9f4d93: Verifying Checksum 16:59:23 988bab9f4d93: Download complete 16:59:23 1469e6f7b9e6: Verifying Checksum 16:59:23 1469e6f7b9e6: Download complete 16:59:23 eaf3925da568: Verifying Checksum 16:59:23 339a4e72a1f5: Verifying Checksum 16:59:23 339a4e72a1f5: Download complete 16:59:23 bde34c3a00c8: Verifying Checksum 16:59:23 bde34c3a00c8: Download complete 16:59:23 b352a97aabf1: Verifying Checksum 16:59:23 b352a97aabf1: Download complete 16:59:23 4872d77fe225: Verifying Checksum 16:59:23 4872d77fe225: Download complete 16:59:23 5851b861e8e6: Verifying Checksum 16:59:23 5851b861e8e6: Download complete 16:59:24 b85a868b505f: Verifying Checksum 16:59:24 b85a868b505f: Download complete 16:59:24 bab4dde63d76: Verifying Checksum 16:59:24 bab4dde63d76: Download complete 16:59:25 b85a868b505f: Pull complete 16:59:25 e2be974225ed: Pull complete 16:59:25 339a4e72a1f5: Pull complete 16:59:25 988bab9f4d93: Pull complete 16:59:25 1469e6f7b9e6: Pull complete 16:59:25 eaf3925da568: Pull complete 16:59:27 bab4dde63d76: Pull complete 16:59:27 bde34c3a00c8: Pull complete 16:59:27 b352a97aabf1: Pull complete 16:59:28 4872d77fe225: Pull complete 16:59:28 5851b861e8e6: Pull complete 16:59:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:28 prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container 16:59:28 $ 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 16:59:31 $ docker top eee66407d9efdb470927a584f6f26ae69736c11e028e3819984808d0cd0f2802 -eo pid,comm 16:59:31 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). 16:59:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:59:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:31 [ssh-agent] Looking for ssh-agent implementation... 16:59:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:31 $ docker exec eee66407d9efdb470927a584f6f26ae69736c11e028e3819984808d0cd0f2802 ssh-agent 16:59:31 SSH_AUTH_SOCK=/tmp/ssh-BuLVJLlCSygG/agent.33 16:59:31 SSH_AGENT_PID=39 16:59:31 Running ssh-add (command line suppressed) 16:59:31 Identity added: /w/workspace/edgex-go/1@tmp/private_key_4247777062916546721.key (/w/workspace/edgex-go/1@tmp/private_key_4247777062916546721.key) 16:59:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:32 + git tag --points-at HEAD [Pipeline] } 16:59:32 $ docker exec --env ******** --env ******** eee66407d9efdb470927a584f6f26ae69736c11e028e3819984808d0cd0f2802 ssh-agent -k 16:59:32 unset SSH_AUTH_SOCK; 16:59:32 unset SSH_AGENT_PID; 16:59:32 echo Agent pid 39 killed; 16:59:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:59:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:32 [ssh-agent] Looking for ssh-agent implementation... 16:59:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:32 $ docker exec eee66407d9efdb470927a584f6f26ae69736c11e028e3819984808d0cd0f2802 ssh-agent 16:59:32 SSH_AUTH_SOCK=/tmp/ssh-evGjJ72eVj66/agent.71 16:59:32 SSH_AGENT_PID=78 16:59:32 Running ssh-add (command line suppressed) 16:59:32 Identity added: /w/workspace/edgex-go/1@tmp/private_key_17063831336273477170.key (/w/workspace/edgex-go/1@tmp/private_key_17063831336273477170.key) 16:59:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:32 + git semver init 16:59:33 2023-01-16 16:59:33,017 [run_init] DEBUG init version:0.0.0 force:False 16:59:33 2023-01-16 16:59:33,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 16:59:33 2023-01-16 16:59:33,018 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 16:59:33 2023-01-16 16:59:33,019 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/1/.semver'], cwd=/w/workspace/edgex-go/1, universal_newlines=False, shell=None, istream=None) 16:59:39 2023-01-16 16:59:39,567 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 16:59:39 2023-01-16 16:59:39,568 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4285 with force:False 16:59:39 2023-01-16 16:59:39,568 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4285 16:59:39 2023-01-16 16:59:39,572 [execute] INFO git cat-file --batch-check 16:59:39 2023-01-16 16:59:39,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 16:59:39 2023-01-16 16:59:39,579 [execute] INFO git cat-file --batch 16:59:39 2023-01-16 16:59:39,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 16:59:39 2023-01-16 16:59:39,586 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4285 16:59:39 0.0.0 [Pipeline] } 16:59:39 $ docker exec --env ******** --env ******** eee66407d9efdb470927a584f6f26ae69736c11e028e3819984808d0cd0f2802 ssh-agent -k 16:59:39 unset SSH_AUTH_SOCK; 16:59:39 unset SSH_AGENT_PID; 16:59:39 echo Agent pid 78 killed; 16:59:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:40 + git semver [Pipeline] } 16:59:40 $ docker stop --time=1 eee66407d9efdb470927a584f6f26ae69736c11e028e3819984808d0cd0f2802 16:59:41 $ docker rm -f --volumes eee66407d9efdb470927a584f6f26ae69736c11e028e3819984808d0cd0f2802 [Pipeline] // withDockerContainer [Pipeline] sh 16:59:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:59:42 Stashed 1 file(s) [Pipeline] echo 16:59:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:59:43 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 16:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:59:43 ========================================================= 16:59:43 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:59:43 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:59:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:59:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:59:43 213ec9aee27d: Pulling fs layer 16:59:43 4583459ba037: Pulling fs layer 16:59:43 93c1e223e6f2: Pulling fs layer 16:59:43 53926ce57604: Pulling fs layer 16:59:43 21b2b0c7a3f4: Pulling fs layer 16:59:43 22ff95d597cd: Pulling fs layer 16:59:43 12d6caf4c0d1: Pulling fs layer 16:59:43 96b7cbca73a9: Pulling fs layer 16:59:43 a7acece74701: Pulling fs layer 16:59:43 21b2b0c7a3f4: Waiting 16:59:43 22ff95d597cd: Waiting 16:59:43 12d6caf4c0d1: Waiting 16:59:43 96b7cbca73a9: Waiting 16:59:43 a7acece74701: Waiting 16:59:43 53926ce57604: Waiting 16:59:43 93c1e223e6f2: Verifying Checksum 16:59:43 93c1e223e6f2: Download complete 16:59:43 4583459ba037: Download complete 16:59:43 21b2b0c7a3f4: Download complete 16:59:43 22ff95d597cd: Download complete 16:59:43 213ec9aee27d: Verifying Checksum 16:59:43 213ec9aee27d: Download complete 16:59:43 12d6caf4c0d1: Verifying Checksum 16:59:43 12d6caf4c0d1: Download complete 16:59:43 213ec9aee27d: Pull complete 16:59:44 4583459ba037: Pull complete 16:59:44 93c1e223e6f2: Pull complete 16:59:46 a7acece74701: Verifying Checksum 16:59:46 a7acece74701: Download complete 16:59:48 53926ce57604: Verifying Checksum 16:59:48 53926ce57604: Download complete 16:59:48 96b7cbca73a9: Download complete 16:59:51 53926ce57604: Pull complete 16:59:51 21b2b0c7a3f4: Pull complete 16:59:52 22ff95d597cd: Pull complete 16:59:52 12d6caf4c0d1: Pull complete 16:59:54 96b7cbca73a9: Pull complete 16:59:54 a7acece74701: Pull complete 16:59:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:59:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 16:59:54 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:59:54 WORKDIR /edgex 16:59:54 COPY go.mod . 16:59:54 RUN go mod download 16:59:54 + docker build -t ci-base-image-x86_64 -f - . 16:59:55 Sending build context to Docker daemon 170MB 16:59:55 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:59:55 ---> db6d94c90886 16:59:55 Step 2/4 : WORKDIR /edgex 16:59:57 Still waiting to schedule task 16:59:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2589’ 17:00:00 ---> Running in ee3484f64120 17:00:00 Removing intermediate container ee3484f64120 17:00:00 ---> ccbf7031a145 17:00:00 Step 3/4 : COPY go.mod . 17:00:00 ---> 53464a131583 17:00:00 Step 4/4 : RUN go mod download 17:00:00 ---> Running in 92b141b6c54a 17:00:18 Removing intermediate container 92b141b6c54a 17:00:18 ---> 7e2c432089ce 17:00:18 Successfully built 7e2c432089ce 17:00:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:19 + docker inspect -f . ci-base-image-x86_64 17:00:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:19 prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container 17:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:00:19 $ docker top 90a041436722d8d1018b3ba8397923eaffe43964ebac07ed9d22b3d57639756f -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:20 + go version 17:00:20 go version go1.18.7 linux/amd64 [Pipeline] } 17:00:20 $ docker stop --time=1 90a041436722d8d1018b3ba8397923eaffe43964ebac07ed9d22b3d57639756f 17:00:21 $ docker rm -f --volumes 90a041436722d8d1018b3ba8397923eaffe43964ebac07ed9d22b3d57639756f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:22 + docker inspect -f . ci-base-image-x86_64 17:00:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:22 prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container 17:00:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:00:22 $ docker top d3c9af74a9ef395c89353f6017bedb15abf9b716289716702770da0e1ac7afdc -eo pid,comm [Pipeline] { [Pipeline] echo 17:00:22 ========================================================= 17:00:22 [edgeXBuildGoParallel] Running Tests and Build... 17:00:22 ========================================================= [Pipeline] sh 17:00:23 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 17:00:23 + make test 17:00:23 go test -race -coverprofile=coverage.out ./... 17:00:30 ? github.com/edgexfoundry/edgex-go [no test files] 17:00:42 # github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17:00:42 internal/security/bootstrapper/command/setupacl/command.go:104:36: undefined: secret.BuildSecretStoreConfig 17:00:42 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 17:00:42 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 17:00:42 # github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider 17:00:42 internal/security/spiffetokenprovider/init.go:79:36: undefined: secret.BuildSecretStoreConfig 17:00:42 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 17:00:42 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 17:00:42 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.057s coverage: 28.7% of statements 17:00:42 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.114s coverage: 98.5% of statements 17:00:43 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 0.132s coverage: 43.0% of statements 17:00:43 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.104s coverage: 54.0% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.830s coverage: 89.2% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.114s coverage: 2.4% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.509s coverage: 95.6% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/io 0.076s coverage: 72.2% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.054s coverage: 60.0% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.079s coverage: 0.9% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.056s coverage: 58.8% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.083s coverage: 29.6% of statements 17:00:47 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command [build failed] 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.077s coverage: 79.5% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.068s coverage: 94.1% of statements 17:00:47 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.095s coverage: 96.3% of statements 17:00:47 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help [build failed] 17:00:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.063s coverage: 94.4% of statements 17:00:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.057s coverage: 44.8% of statements 17:00:52 FAIL github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl [build failed] 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.073s coverage: 92.9% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.039s coverage: 65.1% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.071s coverage: 86.9% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.099s coverage: 87.2% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.062s coverage: 100.0% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.094s coverage: 77.4% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.079s coverage: 80.0% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.052s coverage: 87.2% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.248s coverage: 91.2% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.148s coverage: 64.7% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.060s coverage: 100.0% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.021s coverage: 100.0% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.329s coverage: 65.8% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.215s coverage: 41.8% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.072s coverage: 89.5% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.074s coverage: 84.8% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.069s coverage: 17.7% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.171s coverage: 92.3% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.065s coverage: 63.2% of statements 17:01:07 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.097s coverage: 97.7% of statements 17:01:07 make: *** [Makefile:137: unittest] Error 2 [Pipeline] } 17:01:07 $ docker stop --time=1 d3c9af74a9ef395c89353f6017bedb15abf9b716289716702770da0e1ac7afdc 17:01:08 $ docker rm -f --volumes d3c9af74a9ef395c89353f6017bedb15abf9b716289716702770da0e1ac7afdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:01:09 Failed in branch amd64 17:02:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2591 in /w/workspace/edgexfoundry_edgex-go_PR-4285 [Pipeline] { [Pipeline] ws 17:02:02 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 17:02:03 The recommended git tool is: git 17:02:08 using credential edgex-jenkins-ssh 17:02:08 Cloning the remote Git repository 17:02:08 Cloning repository git@github.com:edgexfoundry/edgex-go.git 17:02:08 > git init /w/workspace/edgex-go/1 # timeout=10 17:02:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:02:08 > git --version # timeout=10 17:02:08 > git --version # 'git version 2.25.1' 17:02:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:02:23 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:02:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:02:24 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 17:02:24 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 17:02:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4285/head:refs/remotes/origin/PR-4285 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:02:25 Merging remotes/origin/main commit bf562dc766fd38f4e5702a64e70d5e04b319d653 into PR head commit 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:02:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:02:25 > git config core.sparsecheckout # timeout=10 17:02:25 > git checkout -f 39ef790b0fe884f03c2ee9fc2a023780c869a6e5 # timeout=10 17:02:27 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 17:02:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:02:28 ---> package-listing.sh 17:02:28 ++ tr '[:upper:]' '[:lower:]' 17:02:28 ++ facter osfamily 17:02:29 + OS_FAMILY=debian 17:02:29 + workspace=/w/workspace/edgex-go/1 17:02:29 + START_PACKAGES=/tmp/packages_start.txt 17:02:29 + END_PACKAGES=/tmp/packages_end.txt 17:02:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:02:29 + PACKAGES=/tmp/packages_start.txt 17:02:29 + '[' /w/workspace/edgex-go/1 ']' 17:02:29 + PACKAGES=/tmp/packages_end.txt 17:02:29 + case "${OS_FAMILY}" in 17:02:29 + dpkg -l 17:02:29 + grep '^ii' 17:02:29 + '[' -f /tmp/packages_start.txt ']' 17:02:29 + '[' -f /tmp/packages_end.txt ']' 17:02:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:02:29 + '[' /w/workspace/edgex-go/1 ']' 17:02:29 + mkdir -p /w/workspace/edgex-go/1/archives/ 17:02:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 17:02:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:02:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:30 17:02:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:30 latest: Pulling from edgex-lftools-log-publisher 17:02:30 5eb5b503b376: Pulling fs layer 17:02:30 5c69ac0246d0: Pulling fs layer 17:02:30 ec43610c2a17: Pulling fs layer 17:02:30 3a2ae6a8a46f: Pulling fs layer 17:02:30 33b1e0a273af: Pulling fs layer 17:02:30 5d3b04190fa2: Pulling fs layer 17:02:30 2f39f015ded8: Pulling fs layer 17:02:30 3a2ae6a8a46f: Waiting 17:02:30 33b1e0a273af: Waiting 17:02:30 5d3b04190fa2: Waiting 17:02:30 2f39f015ded8: Waiting 17:02:30 5c69ac0246d0: Verifying Checksum 17:02:30 5c69ac0246d0: Download complete 17:02:30 3a2ae6a8a46f: Verifying Checksum 17:02:30 3a2ae6a8a46f: Download complete 17:02:30 33b1e0a273af: Verifying Checksum 17:02:30 33b1e0a273af: Download complete 17:02:30 5d3b04190fa2: Download complete 17:02:30 ec43610c2a17: Verifying Checksum 17:02:30 ec43610c2a17: Download complete 17:02:31 5eb5b503b376: Verifying Checksum 17:02:31 5eb5b503b376: Download complete 17:02:32 5eb5b503b376: Pull complete 17:02:32 5c69ac0246d0: Pull complete 17:02:32 2f39f015ded8: Download complete 17:02:33 ec43610c2a17: Pull complete 17:02:33 3a2ae6a8a46f: Pull complete 17:02:33 33b1e0a273af: Pull complete 17:02:33 5d3b04190fa2: Pull complete 17:02:37 2f39f015ded8: Pull complete 17:02:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:37 prd-ubuntu20.04-docker-8c-8g-2590 does not seem to be running inside a container 17:02:37 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:02:40 $ docker top ff0de272a31ab59a3622e2767031b1eed66f2335ab153ecc80b50873e2551b1f -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:41 + touch /tmp/pre-build-complete [Pipeline] sh 17:02:41 + mkdir -p /var/log/sysstat [Pipeline] sh 17:02:41 + ls /var/log/sa-host 17:02:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:02:42 provisioning config files... 17:02:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config8484842697044360668tmp [Pipeline] { [Pipeline] echo 17:02:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:02:42 ---> create-netrc.sh [Pipeline] } 17:02:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:02:42 ---> python-tools-install.sh [Pipeline] echo 17:02:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:02:43 ---> sudo-logs.sh 17:02:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:02:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:02:43 ---> job-cost.sh 17:02:43 lf-activate-venv: SKIPPING 17:02:43 INFO: No Stack... 17:02:43 INFO: Retrieving Pricing Info for: v3-standard-8 17:02:44 INFO: Archiving Costs [Pipeline] echo 17:02:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:02:44 ---> logs-deploy.sh 17:02:44 lf-activate-venv: SKIPPING 17:02:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4285/1 17:02:44 INFO: archiving workspace using pattern(s): 17:02:45 Archives upload complete. 17:02:45 INFO: archiving logs to Nexus