Pull request #4157 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 FelixTing for edgexfoundry/edgex-go Loading trusted files from base branch main at b7de7b775397295cb69718a186a97b7526882c59 rather than 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d Obtained Jenkinsfile from b7de7b775397295cb69718a186a97b7526882c59 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-ssh12634779504376404053.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9432601353524583953.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-4157/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-4157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8038812411567524092.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-4157/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12989569841578860056.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh10117521734429011237.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-4157/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-4157/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5277936447791039280.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-29147 in /w/workspace/edgexfoundry_edgex-go_PR-4157 [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 b7de7b775397295cb69718a186a97b7526882c59 into PR head commit 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d Merge succeeded, producing 4a91339d35beee498af176bf637c18337c2cf184 Checking out Revision 4a91339d35beee498af176bf637c18337c2cf184 (PR-4157) > 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/4157/head:refs/remotes/origin/PR-4157 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d # 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 b7de7b775397295cb69718a186a97b7526882c59 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a91339d35beee498af176bf637c18337c2cf184 # timeout=10 Commit message: "Merge commit 'b7de7b775397295cb69718a186a97b7526882c59' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:09:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:09:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:09:55 ========================================================= 05:09:55 EdgeX Global Pipelines Version Info 05:09:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:09:56 ------------------- 05:09:56 stable info: 05:09:56 ------------------- 05:09:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:09:56 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:09:56 Message: update stable to v1.0.239 05:09:57 ------------------- 05:09:57 experimental info: 05:09:57 ------------------- 05:09:57 Commited By: **** collab-it+edgex@linuxfoundation.org 05:09:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:09:57 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:09:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4157 [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4157 [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4157 [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a91339d35beee498af176bf637c18337c2cf184 [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a91339 [Pipeline] echo 05:09:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:58 provisioning config files... 05:09:58 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6022537467584943569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:59 ---> docker-login.sh 05:09:59 nexus3.edgexfoundry.org:10001 05:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:59 Configure a credential helper to remove this warning. See 05:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:59 05:09:59 Login Succeeded 05:09:59 nexus3.edgexfoundry.org:10002 05:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:59 Configure a credential helper to remove this warning. See 05:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:59 05:09:59 Login Succeeded 05:09:59 nexus3.edgexfoundry.org:10003 05:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:00 Configure a credential helper to remove this warning. See 05:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:00 05:10:00 Login Succeeded 05:10:00 nexus3.edgexfoundry.org:10004 05:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:00 Configure a credential helper to remove this warning. See 05:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:00 05:10:00 Login Succeeded 05:10:00 docker.io 05:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:00 Configure a credential helper to remove this warning. See 05:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:00 05:10:00 Login Succeeded 05:10:00 ---> docker-login.sh ends [Pipeline] } 05:10:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:01 + 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 cmd/sys-mgmt-agent/Dockerfile 05:10:01 + dirname cmd/core-command/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo core-command,cmd/core-command/Dockerfile 05:10:01 + cut -d/ -f2+ 05:10:01 dirname cmd/core-data/Dockerfile 05:10:01 + echo core-data,cmd/core-data/Dockerfile 05:10:01 + dirname cmd/core-metadata/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo core-metadata,cmd/core-metadata/Dockerfile 05:10:01 + dirname cmd/security-bootstrapper/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 05:10:01 + + cut -d/ -f2 05:10:01 dirname cmd/security-proxy-setup/Dockerfile 05:10:01 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 05:10:01 + dirname cmd/security-secretstore-setup/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 05:10:01 + dirname cmd/security-spiffe-token-provider/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 05:10:01 + dirname cmd/security-spire-agent/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 05:10:01 + dirname cmd/security-spire-config/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo security-spire-config,cmd/security-spire-config/Dockerfile 05:10:01 + dirname cmd/security-spire-server/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo security-spire-server,cmd/security-spire-server/Dockerfile 05:10:01 + dirname cmd/support-notifications/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo support-notifications,cmd/support-notifications/Dockerfile 05:10:01 + + dirname cmd/support-scheduler/Dockerfile 05:10:01 cut -d/ -f2 05:10:01 + echo support-scheduler,cmd/support-scheduler/Dockerfile 05:10:01 + dirname cmd/sys-mgmt-agent/Dockerfile 05:10:01 + cut -d/ -f2 05:10:01 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 05:10:01 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], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:10:01 + git rev-list -1 --merges 4a91339d35beee498af176bf637c18337c2cf184~1..4a91339d35beee498af176bf637c18337c2cf184 [Pipeline] echo 05:10:01 -----------> git rev-list -1 --merges 4a91339d35beee498af176bf637c18337c2cf184~1..4a91339d35beee498af176bf637c18337c2cf184 4a91339d35beee498af176bf637c18337c2cf184 05:10:01 4a91339d35beee498af176bf637c18337c2cf184 [false] [Pipeline] sh 05:10:01 + git log --format=format:%s -1 4a91339d35beee498af176bf637c18337c2cf184 [Pipeline] echo 05:10:01 ========================================================= 05:10:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:10:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:10:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:10:02 + grep -v github /etc/ssh/ssh_known_hosts 05:10:02 + [ -e /tmp/ssh_known_hosts ] 05:10:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:10:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:10:02 + sudo tee -a /etc/ssh/ssh_known_hosts 05:10:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:02 05:10:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:03 0.1.4: Pulling from edgex-devops/py-git-semver 05:10:03 b85a868b505f: Pulling fs layer 05:10:03 e2be974225ed: Pulling fs layer 05:10:03 339a4e72a1f5: Pulling fs layer 05:10:03 988bab9f4d93: Pulling fs layer 05:10:03 1469e6f7b9e6: Pulling fs layer 05:10:03 eaf3925da568: Pulling fs layer 05:10:03 bab4dde63d76: Pulling fs layer 05:10:03 bde34c3a00c8: Pulling fs layer 05:10:03 b352a97aabf1: Pulling fs layer 05:10:03 4872d77fe225: Pulling fs layer 05:10:03 5851b861e8e6: Pulling fs layer 05:10:03 b352a97aabf1: Waiting 05:10:03 bab4dde63d76: Waiting 05:10:03 4872d77fe225: Waiting 05:10:03 bde34c3a00c8: Waiting 05:10:03 5851b861e8e6: Waiting 05:10:03 988bab9f4d93: Waiting 05:10:03 1469e6f7b9e6: Waiting 05:10:03 eaf3925da568: Waiting 05:10:03 e2be974225ed: Download complete 05:10:03 988bab9f4d93: Verifying Checksum 05:10:03 988bab9f4d93: Download complete 05:10:03 1469e6f7b9e6: Verifying Checksum 05:10:03 1469e6f7b9e6: Download complete 05:10:03 eaf3925da568: Verifying Checksum 05:10:03 eaf3925da568: Download complete 05:10:03 339a4e72a1f5: Verifying Checksum 05:10:03 339a4e72a1f5: Download complete 05:10:03 bde34c3a00c8: Download complete 05:10:03 b352a97aabf1: Verifying Checksum 05:10:03 b352a97aabf1: Download complete 05:10:03 4872d77fe225: Verifying Checksum 05:10:03 4872d77fe225: Download complete 05:10:03 5851b861e8e6: Verifying Checksum 05:10:03 5851b861e8e6: Download complete 05:10:03 b85a868b505f: Verifying Checksum 05:10:03 b85a868b505f: Download complete 05:10:04 bab4dde63d76: Verifying Checksum 05:10:04 bab4dde63d76: Download complete 05:10:05 b85a868b505f: Pull complete 05:10:05 e2be974225ed: Pull complete 05:10:05 339a4e72a1f5: Pull complete 05:10:05 988bab9f4d93: Pull complete 05:10:06 1469e6f7b9e6: Pull complete 05:10:06 eaf3925da568: Pull complete 05:10:08 bab4dde63d76: Pull complete 05:10:08 bde34c3a00c8: Pull complete 05:10:08 b352a97aabf1: Pull complete 05:10:08 4872d77fe225: Pull complete 05:10:08 5851b861e8e6: Pull complete 05:10:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:08 prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container 05:10:08 $ 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:10:11 $ docker top bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 -eo pid,comm 05:10:11 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:10:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:10:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:11 [ssh-agent] Looking for ssh-agent implementation... 05:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:11 $ docker exec bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent 05:10:11 SSH_AUTH_SOCK=/tmp/ssh-QnUUwRyjD2fK/agent.33 05:10:11 SSH_AGENT_PID=40 05:10:11 Running ssh-add (command line suppressed) 05:10:12 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3511046182501491950.key (/w/workspace/edgex-go/1@tmp/private_key_3511046182501491950.key) 05:10:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:12 + git tag --points-at HEAD [Pipeline] } 05:10:12 $ docker exec --env ******** --env ******** bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent -k 05:10:12 unset SSH_AUTH_SOCK; 05:10:12 unset SSH_AGENT_PID; 05:10:12 echo Agent pid 40 killed; 05:10:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:10:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:12 [ssh-agent] Looking for ssh-agent implementation... 05:10:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:12 $ docker exec bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent 05:10:12 SSH_AUTH_SOCK=/tmp/ssh-FPSHQTkrzPFP/agent.74 05:10:12 SSH_AGENT_PID=81 05:10:12 Running ssh-add (command line suppressed) 05:10:13 Identity added: /w/workspace/edgex-go/1@tmp/private_key_5080142069208354838.key (/w/workspace/edgex-go/1@tmp/private_key_5080142069208354838.key) 05:10:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:13 + git semver init 05:10:13 2022-09-15 05:10:13,556 [run_init] DEBUG init version:0.0.0 force:False 05:10:13 2022-09-15 05:10:13,557 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/1/.semver 05:10:13 2022-09-15 05:10:13,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/1/.semver 05:10:13 2022-09-15 05:10:13,558 [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) 05:10:18 2022-09-15 05:10:18,594 [append_file] DEBUG append to file:/w/workspace/edgex-go/1/.git/info/exclude 05:10:18 2022-09-15 05:10:18,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/1/.semver/PR-4157 with force:False 05:10:18 2022-09-15 05:10:18,594 [write_file] DEBUG write to file:/w/workspace/edgex-go/1/.semver/PR-4157 05:10:18 2022-09-15 05:10:18,599 [execute] INFO git cat-file --batch-check 05:10:18 2022-09-15 05:10:18,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 05:10:18 2022-09-15 05:10:18,605 [execute] INFO git cat-file --batch 05:10:18 2022-09-15 05:10:18,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/1/.semver, universal_newlines=False, shell=None, istream=) 05:10:18 2022-09-15 05:10:18,610 [read_version] DEBUG read version from /w/workspace/edgex-go/1/.semver/PR-4157 05:10:18 0.0.0 [Pipeline] } 05:10:19 $ docker exec --env ******** --env ******** bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 ssh-agent -k 05:10:19 unset SSH_AUTH_SOCK; 05:10:19 unset SSH_AGENT_PID; 05:10:19 echo Agent pid 81 killed; 05:10:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:19 + git semver [Pipeline] } 05:10:19 $ docker stop --time=1 bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 05:10:21 $ docker rm -f bc64097ddf422da7430fe2572fc885bb6cd4ea2ebeea5b92c0e1a28e1de5e621 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:10:21 Stashed 1 file(s) [Pipeline] echo 05:10:21 [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 05:10:22 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 05:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:22 ========================================================= 05:10:22 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:10:22 ========================================================= [Pipeline] fileExists [Pipeline] sh 05:10:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:10:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:10:23 2408cc74d12b: Pulling fs layer 05:10:23 ea60b727a1ce: Pulling fs layer 05:10:23 30c4a7721957: Pulling fs layer 05:10:23 370296b7ddb6: Pulling fs layer 05:10:23 7c6cee850709: Pulling fs layer 05:10:23 39a5fcdaea64: Pulling fs layer 05:10:23 d94ebbe4e438: Pulling fs layer 05:10:23 bcfd1f05c69d: Pulling fs layer 05:10:23 59ccb84bbe0f: Pulling fs layer 05:10:23 39a5fcdaea64: Waiting 05:10:23 d94ebbe4e438: Waiting 05:10:23 59ccb84bbe0f: Waiting 05:10:23 bcfd1f05c69d: Waiting 05:10:23 370296b7ddb6: Waiting 05:10:23 7c6cee850709: Waiting 05:10:23 30c4a7721957: Verifying Checksum 05:10:23 30c4a7721957: Download complete 05:10:23 ea60b727a1ce: Verifying Checksum 05:10:23 ea60b727a1ce: Download complete 05:10:23 7c6cee850709: Download complete 05:10:23 39a5fcdaea64: Verifying Checksum 05:10:23 39a5fcdaea64: Download complete 05:10:23 2408cc74d12b: Verifying Checksum 05:10:23 2408cc74d12b: Download complete 05:10:23 d94ebbe4e438: Verifying Checksum 05:10:23 d94ebbe4e438: Download complete 05:10:23 2408cc74d12b: Pull complete 05:10:23 ea60b727a1ce: Pull complete 05:10:23 30c4a7721957: Pull complete 05:10:23 bcfd1f05c69d: Verifying Checksum 05:10:23 59ccb84bbe0f: Verifying Checksum 05:10:23 59ccb84bbe0f: Download complete 05:10:24 370296b7ddb6: Verifying Checksum 05:10:24 370296b7ddb6: Download complete 05:10:28 370296b7ddb6: Pull complete 05:10:28 7c6cee850709: Pull complete 05:10:28 39a5fcdaea64: Pull complete 05:10:28 d94ebbe4e438: Pull complete 05:10:30 bcfd1f05c69d: Pull complete 05:10:30 59ccb84bbe0f: Pull complete 05:10:30 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:10:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 05:10:31 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:10:31 WORKDIR /edgex 05:10:31 COPY go.mod . 05:10:31 RUN go mod download 05:10:31 + docker build -t ci-base-image-x86_64 -f - . 05:10:31 Sending build context to Docker daemon 169.4MB 05:10:31 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:10:31 ---> a4fb48ad2a94 05:10:31 Step 2/4 : WORKDIR /edgex 05:10:37 Still waiting to schedule task 05:10:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:10:39 ---> Running in 9e9ae1f3fd93 05:10:39 Removing intermediate container 9e9ae1f3fd93 05:10:39 ---> 10ab3a757608 05:10:39 Step 3/4 : COPY go.mod . 05:10:39 ---> 165b98ba6d08 05:10:39 Step 4/4 : RUN go mod download 05:10:39 ---> Running in b2030526900f 05:10:58 Removing intermediate container b2030526900f 05:10:58 ---> e950d43ff315 05:10:58 Successfully built e950d43ff315 05:10:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:58 + docker inspect -f . ci-base-image-x86_64 05:10:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:58 prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container 05:10:58 $ 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 ******** ci-base-image-x86_64 cat 05:10:59 $ docker top da5892e71c1c65044532288c9ed6f3e4199a1d7d7b1dbe612c16a08afcfa78d9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:59 + go version 05:10:59 go version go1.18.3 linux/amd64 [Pipeline] } 05:10:59 $ docker stop --time=1 da5892e71c1c65044532288c9ed6f3e4199a1d7d7b1dbe612c16a08afcfa78d9 05:11:00 $ docker rm -f da5892e71c1c65044532288c9ed6f3e4199a1d7d7b1dbe612c16a08afcfa78d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:01 + docker inspect -f . ci-base-image-x86_64 05:11:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:01 prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container 05:11:01 $ 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 ******** ci-base-image-x86_64 cat 05:11:02 $ docker top 5a4550757926a06e1547980244c589a6ce1842ed0d93138c89d419392647b756 -eo pid,comm [Pipeline] { [Pipeline] echo 05:11:02 ========================================================= 05:11:02 [edgeXBuildGoParallel] Running Tests and Build... 05:11:02 ========================================================= [Pipeline] sh 05:11:02 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 05:11:02 + make test 05:11:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:11:09 ? github.com/edgexfoundry/edgex-go [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/internal [no test files] 05:11:21 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 05:11:22 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.063s coverage: 28.7% of statements 05:11:22 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 05:11:22 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 05:11:22 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.098s coverage: 98.5% of statements 05:11:22 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/external 0.101s coverage: 72.5% of statements 05:11:22 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 05:11:22 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 05:11:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.094s coverage: 54.2% of statements 05:11:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 05:11:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.420s coverage: 89.2% of statements 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.074s coverage: 2.3% of statements 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.455s coverage: 95.6% of statements 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/io 0.068s coverage: 72.2% of statements 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.078s coverage: 60.0% of statements 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.051s coverage: 0.9% of statements 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.087s coverage: 58.8% of statements 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.067s coverage: 29.6% of statements 05:11:27 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.066s coverage: 47.1% of statements 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.094s coverage: 79.5% of statements 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.068s coverage: 94.1% of statements 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.094s coverage: 96.3% of statements 05:11:27 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.055s coverage: 87.5% of statements 05:11:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.071s coverage: 94.4% of statements 05:11:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.068s coverage: 44.8% of statements 05:11:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.176s coverage: 80.8% of statements 05:11:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.086s coverage: 92.9% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.029s coverage: 65.1% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.049s coverage: 86.9% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.078s coverage: 87.2% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.062s coverage: 100.0% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.085s coverage: 58.8% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.079s coverage: 80.0% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.057s coverage: 87.2% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 85.4% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.205s coverage: 91.2% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.178s coverage: 64.7% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.069s coverage: 100.0% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.032s coverage: 89.4% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.037s coverage: 73.7% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.033s coverage: 100.0% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.383s coverage: 65.8% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.166s coverage: 41.8% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.067s coverage: 89.5% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.074s coverage: 84.8% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.089s coverage: 17.7% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.160s coverage: 92.3% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.064s coverage: 63.2% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.112s coverage: 97.7% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.064s coverage: 28.9% of statements 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 05:11:46 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.052s coverage: 100.0% of statements 05:11:46 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.035s coverage: 96.9% of statements 05:11:46 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 05:12:04 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:12:04 GO111MODULE=on go vet ./... 05:12:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:07 ./internal/pkg/infrastructure/redis/device_profile.go 05:12:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:07 make: *** [Makefile:165: test] Error 1 [Pipeline] } 05:12:07 $ docker stop --time=1 5a4550757926a06e1547980244c589a6ce1842ed0d93138c89d419392647b756 05:12:09 $ docker rm -f 5a4550757926a06e1547980244c589a6ce1842ed0d93138c89d419392647b756 [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] } 05:12:10 Failed in branch amd64 05:12:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29148 in /w/workspace/edgexfoundry_edgex-go_PR-4157 [Pipeline] { [Pipeline] ws 05:12:20 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 05:12:20 The recommended git tool is: git 05:12:25 using credential edgex-jenkins-ssh 05:12:25 Cloning the remote Git repository 05:12:26 Cloning repository git@github.com:edgexfoundry/edgex-go.git 05:12:26 > git init /w/workspace/edgex-go/1 # timeout=10 05:12:26 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 05:12:26 > git --version # timeout=10 05:12:26 > git --version # 'git version 2.25.1' 05:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:42 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 05:12:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:42 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 05:12:42 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 05:12:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4157/head:refs/remotes/origin/PR-4157 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:12:43 Merging remotes/origin/main commit b7de7b775397295cb69718a186a97b7526882c59 into PR head commit 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d 05:12:44 Merge succeeded, producing 0bc9b23df9dcd926d944644b8aef28c70d9a2fef 05:12:44 Checking out Revision 0bc9b23df9dcd926d944644b8aef28c70d9a2fef (PR-4157) 05:12:43 > git config core.sparsecheckout # timeout=10 05:12:43 > git checkout -f 9747a75a33ecb5f5efd60e178d2e65d0ffdf762d # timeout=10 05:12:43 > git remote # timeout=10 05:12:43 > git config --get remote.origin.url # timeout=10 05:12:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:43 > git merge b7de7b775397295cb69718a186a97b7526882c59 # timeout=10 05:12:44 > git rev-parse HEAD^{commit} # timeout=10 05:12:44 > git config core.sparsecheckout # timeout=10 05:12:44 > git checkout -f 0bc9b23df9dcd926d944644b8aef28c70d9a2fef # timeout=10 05:12:48 Commit message: "Merge commit 'b7de7b775397295cb69718a186a97b7526882c59' into HEAD" 05:12:48 First time build. Skipping changelog. 05:12:48 > git --version # timeout=10 05:12:48 > git --version # 'git version 2.25.1' 05:12:48 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:12:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:12:49 Dload Upload Total Spent Left Speed 05:12:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh 05:12:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:12:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:12:50 + sudo tee /etc/docker/daemon.new 05:12:50 { 05:12:50 "registry-mirrors": [ 05:12:50 "https://nexus3.edgexfoundry.org:10001" 05:12:50 ], 05:12:50 "bip": "10.250.0.254/24", 05:12:50 "hosts": [ 05:12:50 "tcp://0.0.0.0:5555", 05:12:50 "unix:///var/run/docker.sock" 05:12:50 ], 05:12:50 "mtu": 1458, 05:12:50 "selinux-enabled": true, 05:12:50 "seccomp-profile": "/etc/docker/seccomp.json" 05:12:50 } [Pipeline] sh 05:12:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:12:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:09 provisioning config files... 05:13:09 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7355844432016741015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:10 ---> docker-login.sh 05:13:10 nexus3.edgexfoundry.org:10001 05:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:11 Configure a credential helper to remove this warning. See 05:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:11 05:13:11 Login Succeeded 05:13:11 nexus3.edgexfoundry.org:10002 05:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:11 Configure a credential helper to remove this warning. See 05:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:11 05:13:11 Login Succeeded 05:13:11 nexus3.edgexfoundry.org:10003 05:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:12 Configure a credential helper to remove this warning. See 05:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:12 05:13:12 Login Succeeded 05:13:12 nexus3.edgexfoundry.org:10004 05:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:12 Configure a credential helper to remove this warning. See 05:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:12 05:13:12 Login Succeeded 05:13:12 docker.io 05:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:13 Configure a credential helper to remove this warning. See 05:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:13 05:13:13 Login Succeeded 05:13:13 ---> docker-login.sh ends [Pipeline] } 05:13:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 05:13:14 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] echo 05:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:14 ========================================================= 05:13:14 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:13:14 ========================================================= [Pipeline] fileExists [Pipeline] sh 05:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:13:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:13:14 b3c136eddcbf: Pulling fs layer 05:13:14 c0a3192eca97: Pulling fs layer 05:13:14 a050256f5b6f: Pulling fs layer 05:13:14 656be50a0ddc: Pulling fs layer 05:13:14 2bbca73fdf42: Pulling fs layer 05:13:14 46d945488cbd: Pulling fs layer 05:13:14 8a5474983e97: Pulling fs layer 05:13:14 329c88fbcd65: Pulling fs layer 05:13:14 656be50a0ddc: Waiting 05:13:14 2bbca73fdf42: Waiting 05:13:14 46d945488cbd: Waiting 05:13:14 329c88fbcd65: Waiting 05:13:14 8a5474983e97: Waiting 05:13:14 a050256f5b6f: Verifying Checksum 05:13:14 a050256f5b6f: Download complete 05:13:14 c0a3192eca97: Download complete 05:13:14 2bbca73fdf42: Verifying Checksum 05:13:14 2bbca73fdf42: Download complete 05:13:14 46d945488cbd: Download complete 05:13:14 b3c136eddcbf: Verifying Checksum 05:13:14 b3c136eddcbf: Download complete 05:13:15 b3c136eddcbf: Pull complete 05:13:15 329c88fbcd65: Verifying Checksum 05:13:15 329c88fbcd65: Download complete 05:13:16 c0a3192eca97: Pull complete 05:13:16 a050256f5b6f: Pull complete 05:13:17 8a5474983e97: Verifying Checksum 05:13:17 8a5474983e97: Download complete 05:13:17 656be50a0ddc: Verifying Checksum 05:13:17 656be50a0ddc: Download complete 05:13:32 656be50a0ddc: Pull complete 05:13:32 2bbca73fdf42: Pull complete 05:13:32 46d945488cbd: Pull complete 05:13:37 8a5474983e97: Pull complete 05:13:39 329c88fbcd65: Pull complete 05:13:39 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:13:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:13:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 05:13:39 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:13:39 WORKDIR /edgex 05:13:39 COPY go.mod . 05:13:39 RUN go mod download 05:13:39 + docker build -t ci-base-image-arm64 -f - . 05:13:40 Sending build context to Docker daemon 3.229MB 05:13:40 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:13:40 ---> ff4287adb874 05:13:40 Step 2/4 : WORKDIR /edgex 05:13:42 ---> Running in c276f98d6833 05:13:42 Removing intermediate container c276f98d6833 05:13:42 ---> 628a2c1690c2 05:13:42 Step 3/4 : COPY go.mod . 05:13:42 ---> c57510cc5001 05:13:42 Step 4/4 : RUN go mod download 05:13:42 ---> Running in cd93b9c47cd3 05:14:15 Removing intermediate container cd93b9c47cd3 05:14:15 ---> 0282d3b7e295 05:14:15 Successfully built 0282d3b7e295 05:14:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:15 + docker inspect -f . ci-base-image-arm64 05:14:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:15 prd-ubuntu20.04-docker-arm64-4c-16g-29148 does not seem to be running inside a container 05:14:15 $ 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 ******** ci-base-image-arm64 cat 05:14:17 $ docker top 6df5a0abc3c6d955c040d6c393af1fc7ff08223f5fbd162e67603a71ada2eb2b -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:18 + go version 05:14:18 go version go1.18.3 linux/arm64 [Pipeline] } 05:14:18 $ docker stop --time=1 6df5a0abc3c6d955c040d6c393af1fc7ff08223f5fbd162e67603a71ada2eb2b 05:14:19 $ docker rm -f 6df5a0abc3c6d955c040d6c393af1fc7ff08223f5fbd162e67603a71ada2eb2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:20 + docker inspect -f . ci-base-image-arm64 05:14:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:21 prd-ubuntu20.04-docker-arm64-4c-16g-29148 does not seem to be running inside a container 05:14:21 $ 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 ******** ci-base-image-arm64 cat 05:14:22 $ docker top a3621fc2b5bc8b4dab85e95e90e225717b1798faf837964e3097d32f77b5476d -eo pid,comm [Pipeline] { [Pipeline] echo 05:14:22 ========================================================= 05:14:22 [edgeXBuildGoParallel] Running Tests and Build... 05:14:22 ========================================================= [Pipeline] sh 05:14:23 + git config --global --add safe.directory /w/workspace/edgex-go/1 [Pipeline] fileExists [Pipeline] sh 05:14:24 + make test 05:14:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:14:56 ? github.com/edgexfoundry/edgex-go [no test files] 05:16:33 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 05:16:33 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 05:16:34 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 05:16:34 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 05:16:38 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 05:16:38 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 05:16:38 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 05:16:38 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 05:16:38 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 05:16:39 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 05:16:39 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 05:16:40 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 05:16:40 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 05:16:40 ? github.com/edgexfoundry/edgex-go/internal [no test files] 05:16:40 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 05:16:55 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.273s coverage: 28.7% of statements 05:16:55 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 05:16:55 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 05:16:57 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.485s coverage: 98.5% of statements 05:17:00 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/external 0.523s coverage: 72.5% of statements 05:17:00 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 05:17:00 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 05:17:00 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.522s coverage: 54.2% of statements 05:17:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 05:17:00 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 22.253s coverage: 89.2% of statements 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.688s coverage: 2.3% of statements 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.934s coverage: 95.6% of statements 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/io 0.381s coverage: 72.2% of statements 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.643s coverage: 60.0% of statements 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.638s coverage: 0.9% of statements 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.248s coverage: 58.8% of statements 05:17:27 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.385s coverage: 29.6% of statements 05:17:27 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 05:17:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.243s coverage: 47.1% of statements 05:17:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.352s coverage: 79.5% of statements 05:17:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.230s coverage: 94.1% of statements 05:17:29 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.302s coverage: 96.3% of statements 05:17:32 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.242s coverage: 87.5% of statements 05:17:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.333s coverage: 94.4% of statements 05:17:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.235s coverage: 44.8% of statements 05:17:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.759s coverage: 80.8% of statements 05:17:51 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.294s coverage: 92.9% of statements 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.065s coverage: 65.1% of statements 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.247s coverage: 86.9% of statements 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.215s coverage: 87.2% of statements 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.176s coverage: 100.0% of statements 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.280s coverage: 58.8% of statements 05:17:55 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.264s coverage: 80.0% of statements 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.240s coverage: 87.2% of statements 05:17:55 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.303s coverage: 85.4% of statements 05:17:56 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.935s coverage: 91.2% of statements 05:17:56 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 05:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.016s coverage: 64.7% of statements 05:18:04 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 05:18:04 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 05:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.296s coverage: 100.0% of statements 05:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.111s coverage: 89.4% of statements 05:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.107s coverage: 100.0% of statements 05:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements 05:18:04 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.068s coverage: 100.0% of statements 05:18:10 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.365s coverage: 65.8% of statements 05:18:10 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 05:18:10 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 05:18:10 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 05:18:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.832s coverage: 41.8% of statements 05:18:13 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 05:18:13 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 05:18:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.308s coverage: 89.5% of statements 05:18:13 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 05:18:13 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.251s coverage: 84.8% of statements 05:18:13 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 05:18:13 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 05:18:13 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 05:18:13 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 05:18:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.350s coverage: 17.7% of statements 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 05:18:21 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.748s coverage: 92.3% of statements 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 05:18:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.473s coverage: 63.2% of statements 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 05:18:21 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.437s coverage: 97.7% of statements 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 05:18:21 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.208s coverage: 28.9% of statements 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 05:18:21 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 05:18:21 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.215s coverage: 100.0% of statements 05:18:21 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.091s coverage: 96.9% of statements 05:18:22 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 05:18:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:18:22 GO111MODULE=on go vet ./... 05:20:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:20:14 ./internal/pkg/infrastructure/redis/device_profile.go 05:20:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:20:14 make: *** [Makefile:165: test] Error 1 [Pipeline] } 05:20:14 $ docker stop --time=1 a3621fc2b5bc8b4dab85e95e90e225717b1798faf837964e3097d32f77b5476d 05:20:16 $ docker rm -f a3621fc2b5bc8b4dab85e95e90e225717b1798faf837964e3097d32f77b5476d [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:18 05:20:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:19 arm64: Pulling from edgex-lftools-log-publisher 05:20:19 8998bd30e6a1: Pulling fs layer 05:20:19 04944245beec: Pulling fs layer 05:20:19 699f458cf7ca: Pulling fs layer 05:20:19 765212b225bb: Pulling fs layer 05:20:19 f23df028b6ca: Pulling fs layer 05:20:19 d65c8cfc05b1: Pulling fs layer 05:20:19 2437ff75d9bd: Pulling fs layer 05:20:19 f23df028b6ca: Waiting 05:20:19 765212b225bb: Waiting 05:20:19 2437ff75d9bd: Waiting 05:20:19 d65c8cfc05b1: Waiting 05:20:19 04944245beec: Verifying Checksum 05:20:19 04944245beec: Download complete 05:20:19 765212b225bb: Verifying Checksum 05:20:19 765212b225bb: Download complete 05:20:19 f23df028b6ca: Verifying Checksum 05:20:19 f23df028b6ca: Download complete 05:20:19 d65c8cfc05b1: Verifying Checksum 05:20:19 d65c8cfc05b1: Download complete 05:20:19 699f458cf7ca: Verifying Checksum 05:20:19 699f458cf7ca: Download complete 05:20:20 8998bd30e6a1: Verifying Checksum 05:20:20 8998bd30e6a1: Download complete 05:20:22 2437ff75d9bd: Verifying Checksum 05:20:22 2437ff75d9bd: Download complete 05:20:24 8998bd30e6a1: Pull complete 05:20:24 04944245beec: Pull complete 05:20:26 699f458cf7ca: Pull complete 05:20:26 765212b225bb: Pull complete 05:20:27 f23df028b6ca: Pull complete 05:20:27 d65c8cfc05b1: Pull complete 05:20:42 2437ff75d9bd: Pull complete 05:20:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:20:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:43 prd-ubuntu20.04-docker-arm64-4c-16g-29148 does not seem to be running inside a container 05:20:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -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:arm64 cat 05:20:45 $ docker top c130983e1e209557e5ca7c141aeadd72e0dde20063ea4dc96b08103a309deaf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:46 ---> job-cost.sh 05:20:46 lf-activate-venv: SKIPPING 05:20:46 INFO: No Stack... 05:20:48 INFO: Retrieving Pricing Info for: v3-standard-4 05:20:48 INFO: Archiving Costs [Pipeline] sh 05:20:49 + cat /w/workspace/edgex-go/1/archives/cost.csv 05:20:49 + cut -d, -f6 [Pipeline] lock 05:20:49 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] 05:20:49 Resource [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] did not exist. Created. 05:20:49 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:50 + echo total: 0.10999999940395355 [Pipeline] stash 05:20:51 Stashed 1 file(s) [Pipeline] } 05:20:51 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4157-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:51 $ docker stop --time=1 c130983e1e209557e5ca7c141aeadd72e0dde20063ea4dc96b08103a309deaf9 05:20:52 $ docker rm -f c130983e1e209557e5ca7c141aeadd72e0dde20063ea4dc96b08103a309deaf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:20:53 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 05:20:54 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 05:20:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:55 ---> package-listing.sh 05:20:55 ++ tr '[:upper:]' '[:lower:]' 05:20:55 ++ facter osfamily 05:20:56 + OS_FAMILY=debian 05:20:56 + workspace=/w/workspace/edgex-go/1 05:20:56 + START_PACKAGES=/tmp/packages_start.txt 05:20:56 + END_PACKAGES=/tmp/packages_end.txt 05:20:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:56 + PACKAGES=/tmp/packages_start.txt 05:20:56 + '[' /w/workspace/edgex-go/1 ']' 05:20:56 + PACKAGES=/tmp/packages_end.txt 05:20:56 + case "${OS_FAMILY}" in 05:20:56 + dpkg -l 05:20:56 + grep '^ii' 05:20:56 + '[' -f /tmp/packages_start.txt ']' 05:20:56 + '[' -f /tmp/packages_end.txt ']' 05:20:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:56 + '[' /w/workspace/edgex-go/1 ']' 05:20:56 + mkdir -p /w/workspace/edgex-go/1/archives/ 05:20:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 05:20:56 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:20:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:57 05:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:57 latest: Pulling from edgex-lftools-log-publisher 05:20:57 5eb5b503b376: Pulling fs layer 05:20:57 5c69ac0246d0: Pulling fs layer 05:20:57 ec43610c2a17: Pulling fs layer 05:20:57 3a2ae6a8a46f: Pulling fs layer 05:20:57 33b1e0a273af: Pulling fs layer 05:20:57 5d3b04190fa2: Pulling fs layer 05:20:57 2f39f015ded8: Pulling fs layer 05:20:57 33b1e0a273af: Waiting 05:20:57 5d3b04190fa2: Waiting 05:20:57 2f39f015ded8: Waiting 05:20:57 3a2ae6a8a46f: Waiting 05:20:57 5c69ac0246d0: Download complete 05:20:57 3a2ae6a8a46f: Verifying Checksum 05:20:57 3a2ae6a8a46f: Download complete 05:20:57 33b1e0a273af: Verifying Checksum 05:20:57 33b1e0a273af: Download complete 05:20:57 5d3b04190fa2: Verifying Checksum 05:20:57 ec43610c2a17: Verifying Checksum 05:20:57 ec43610c2a17: Download complete 05:20:57 5eb5b503b376: Verifying Checksum 05:20:57 5eb5b503b376: Download complete 05:20:58 2f39f015ded8: Download complete 05:20:59 5eb5b503b376: Pull complete 05:20:59 5c69ac0246d0: Pull complete 05:20:59 ec43610c2a17: Pull complete 05:20:59 3a2ae6a8a46f: Pull complete 05:21:00 33b1e0a273af: Pull complete 05:21:00 5d3b04190fa2: Pull complete 05:21:04 2f39f015ded8: Pull complete 05:21:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:21:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:04 prd-ubuntu20.04-docker-8c-8g-29147 does not seem to be running inside a container 05:21:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:21:07 $ docker top cd02a15756b08c30e278f9b248808c39b23224fc1e1377f2725476d4fa73f248 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:07 + touch /tmp/pre-build-complete [Pipeline] sh 05:21:08 + mkdir -p /var/log/sysstat [Pipeline] sh 05:21:08 + ls /var/log/sa-host 05:21:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:08 provisioning config files... 05:21:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config1138232024925744090tmp [Pipeline] { [Pipeline] echo 05:21:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:21:09 ---> create-netrc.sh [Pipeline] } 05:21:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:21:09 ---> python-tools-install.sh [Pipeline] echo 05:21:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:21:09 ---> sudo-logs.sh 05:21:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:21:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:21:10 ---> job-cost.sh 05:21:10 lf-activate-venv: SKIPPING 05:21:10 DEBUG: total: 0.10999999940395355 05:21:10 INFO: Retrieving Stack Cost... 05:21:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:11 INFO: Archiving Costs [Pipeline] echo 05:21:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:21:11 ---> logs-deploy.sh 05:21:11 lf-activate-venv: SKIPPING 05:21:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4157/1 05:21:11 INFO: archiving workspace using pattern(s): 05:21:12 Archives upload complete. 05:21:12 INFO: archiving logs to Nexus