Pull request #3926 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 hahattan for edgexfoundry/edgex-go Loading trusted files from base branch main at 81bad761160ed823b117fb91638cbc671260dbae rather than 7b92027954f716ba5a1dabb0f398eb48ad2609bf Obtained Jenkinsfile from 81bad761160ed823b117fb91638cbc671260dbae 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-ssh17374612809952029458.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13701532933172904085.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-3926/workspace@libs/edgex-global-pipelines # 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-3926/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11528524735682433531.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-3926/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9593980465877148260.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh2657776396020756899.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-3926/workspace@libs/lf-pipelines # 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-3926/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13752844326052322730.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:true] ========================================================= [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.17 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: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-9052 in /w/workspace/edgexfoundry_edgex-go_PR-3926 [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 81bad761160ed823b117fb91638cbc671260dbae into PR head commit 7b92027954f716ba5a1dabb0f398eb48ad2609bf Merge succeeded, producing 7b92027954f716ba5a1dabb0f398eb48ad2609bf Checking out Revision 7b92027954f716ba5a1dabb0f398eb48ad2609bf (PR-3926) > 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/3926/head:refs/remotes/origin/PR-3926 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b92027954f716ba5a1dabb0f398eb48ad2609bf # 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 81bad761160ed823b117fb91638cbc671260dbae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b92027954f716ba5a1dabb0f398eb48ad2609bf # timeout=10 Commit message: "build(deps): update go.mod" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:16:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:16:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:16:45 ========================================================= 07:16:45 EdgeX Global Pipelines Version Info 07:16:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:16:45 ------------------- 07:16:45 stable info: 07:16:45 ------------------- 07:16:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:16:45 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:16:45 Message: update stable to v1.0.221 07:16:46 ------------------- 07:16:46 experimental info: 07:16:46 ------------------- 07:16:46 Commited By: **** collab-it+edgex@linuxfoundation.org 07:16:46 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:16:46 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:16:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 07:16:46 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 07:16:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:16:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3926 [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3926 [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3926 [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b92027954f716ba5a1dabb0f398eb48ad2609bf [Pipeline] echo 07:16:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b92027 [Pipeline] echo 07:16:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:16:48 provisioning config files... 07:16:48 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config3888121598561603744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:48 ---> docker-login.sh 07:16:48 nexus3.edgexfoundry.org:10001 07:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 nexus3.edgexfoundry.org:10002 07:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 nexus3.edgexfoundry.org:10003 07:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 nexus3.edgexfoundry.org:10004 07:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 docker.io 07:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 ---> docker-login.sh ends [Pipeline] } 07:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:16:50 + 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 07:16:50 + dirname cmd/core-command/Dockerfile 07:16:50 + cut -d/ -f2 07:16:50 + echo core-command,cmd/core-command/Dockerfile 07:16:50 + + dirname cmd/core-data/Dockerfile 07:16:50 cut -d/ -f2 07:16:50 + echo core-data,cmd/core-data/Dockerfile 07:16:50 + dirname cmd/core-metadata/Dockerfile 07:16:50 + cut -d/ -f2 07:16:50 + echo core-metadata,cmd/core-metadata/Dockerfile 07:16:50 + + cut -d/ -f2 07:16:50 dirname cmd/security-bootstrapper/Dockerfile 07:16:50 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 07:16:50 + cut -d/+ -f2 07:16:50 dirname cmd/security-proxy-setup/Dockerfile 07:16:50 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 07:16:50 + cut -d/ -f2 07:16:50 + dirname cmd/security-secretstore-setup/Dockerfile 07:16:50 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 07:16:50 + + cut -d/ -f2dirname 07:16:50 cmd/security-spiffe-token-provider/Dockerfile 07:16:50 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 07:16:50 + + cut -d/ -f2 07:16:50 dirname cmd/security-spire-agent/Dockerfile 07:16:50 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 07:16:50 + + cut -d/ -f2 07:16:50 dirname cmd/security-spire-config/Dockerfile 07:16:50 + echo security-spire-config,cmd/security-spire-config/Dockerfile 07:16:50 + dirname cmd/security-spire-server/Dockerfile 07:16:50 + cut -d/ -f2 07:16:50 + echo security-spire-server,cmd/security-spire-server/Dockerfile 07:16:50 + dirname cmd/support-notifications/Dockerfile 07:16:50 + cut -d/ -f2 07:16:50 + echo support-notifications,cmd/support-notifications/Dockerfile 07:16:50 + cut -d/ -f2 07:16:50 + dirname cmd/support-scheduler/Dockerfile 07:16:50 + echo support-scheduler,cmd/support-scheduler/Dockerfile 07:16:50 + dirname cmd/sys-mgmt-agent/Dockerfile 07:16:50 + cut -d/ -f2 07:16:50 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 07:16:50 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 07:16:50 + git rev-list -1 --merges 7b92027954f716ba5a1dabb0f398eb48ad2609bf~1..7b92027954f716ba5a1dabb0f398eb48ad2609bf [Pipeline] echo 07:16:50 -----------> git rev-list -1 --merges 7b92027954f716ba5a1dabb0f398eb48ad2609bf~1..7b92027954f716ba5a1dabb0f398eb48ad2609bf 7b92027954f716ba5a1dabb0f398eb48ad2609bf [false] [Pipeline] sh 07:16:51 + git log --format=format:%s -1 7b92027954f716ba5a1dabb0f398eb48ad2609bf [Pipeline] echo 07:16:51 ========================================================= 07:16:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:16:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 07:16:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:16:51 + grep -v github /etc/ssh/ssh_known_hosts 07:16:51 + [ -e /tmp/ssh_known_hosts ] 07:16:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:16:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:16:51 + sudo tee -a /etc/ssh/ssh_known_hosts 07:16:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:16:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:16:52 07:16:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:16:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:16:52 latest: Pulling from edgex-devops/git-semver 07:16:52 a0d0a0d46f8b: Pulling fs layer 07:16:52 3e5f54012d9b: Pulling fs layer 07:16:52 4c7163046ea9: Pulling fs layer 07:16:52 0c2d73faf560: Pulling fs layer 07:16:52 0c2d73faf560: Waiting 07:16:52 3e5f54012d9b: Download complete 07:16:52 a0d0a0d46f8b: Verifying Checksum 07:16:52 a0d0a0d46f8b: Download complete 07:16:52 0c2d73faf560: Download complete 07:16:52 4c7163046ea9: Verifying Checksum 07:16:52 4c7163046ea9: Download complete 07:16:53 a0d0a0d46f8b: Pull complete 07:16:53 3e5f54012d9b: Pull complete 07:16:53 4c7163046ea9: Pull complete 07:16:53 0c2d73faf560: Pull complete 07:16:53 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:16:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:16:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:16:53 prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container 07:16:53 $ 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:10004/edgex-devops/git-semver:latest cat 07:16:54 $ docker top ea899f36bf56a9b4a67b962090acf602469c45eadf6306c6292dc2af3c4102ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:16:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:16:54 [ssh-agent] Looking for ssh-agent implementation... 07:16:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:16:54 $ docker exec ea899f36bf56a9b4a67b962090acf602469c45eadf6306c6292dc2af3c4102ea ssh-agent 07:16:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPodHDD/agent.13 07:16:55 SSH_AGENT_PID=19 07:16:55 Running ssh-add (command line suppressed) 07:16:55 Identity added: /w/workspace/edgex-go/1@tmp/private_key_3250033525016004661.key (/w/workspace/edgex-go/1@tmp/private_key_3250033525016004661.key) 07:16:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:16:55 + git tag --points-at HEAD [Pipeline] } 07:16:55 $ docker exec --env ******** --env ******** ea899f36bf56a9b4a67b962090acf602469c45eadf6306c6292dc2af3c4102ea ssh-agent -k 07:16:55 unset SSH_AUTH_SOCK; 07:16:55 unset SSH_AGENT_PID; 07:16:55 echo Agent pid 19 killed; 07:16:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:16:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:16:55 [ssh-agent] Looking for ssh-agent implementation... 07:16:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:16:55 $ docker exec ea899f36bf56a9b4a67b962090acf602469c45eadf6306c6292dc2af3c4102ea ssh-agent 07:16:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXncEkkk/agent.53 07:16:56 SSH_AGENT_PID=59 07:16:56 Running ssh-add (command line suppressed) 07:16:56 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6823386006128897339.key (/w/workspace/edgex-go/1@tmp/private_key_6823386006128897339.key) 07:16:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:16:56 + git semver init 07:16:56 # -> Open(): unable to determine branch for HEAD 07:16:56 # $GIT_DIR = /w/workspace/edgex-go/1/.git 07:16:56 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 07:16:56 # $SEMVER_REMOTE_NAME = origin 07:16:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:16:56 # $SEMVER_USER_NAME = edgex-jenkins 07:16:56 # $SEMVER_BRANCH = PR-3926 07:16:56 # $SEMVER_TEMP = /tmp/semver-857641473 07:16:56 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 07:17:11 # '/tmp/semver-857641473' -> '/w/workspace/edgex-go/1/.semver' 07:17:11 # -> Force: false 07:17:11 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 07:17:11 $ docker exec --env ******** --env ******** ea899f36bf56a9b4a67b962090acf602469c45eadf6306c6292dc2af3c4102ea ssh-agent -k 07:17:11 unset SSH_AUTH_SOCK; 07:17:11 unset SSH_AGENT_PID; 07:17:11 echo Agent pid 59 killed; 07:17:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:17:12 + git semver [Pipeline] } 07:17:12 $ docker stop --time=1 ea899f36bf56a9b4a67b962090acf602469c45eadf6306c6292dc2af3c4102ea 07:17:14 $ docker rm -f ea899f36bf56a9b4a67b962090acf602469c45eadf6306c6292dc2af3c4102ea [Pipeline] // withDockerContainer [Pipeline] sh 07:17:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:17:14 Stashed 1 file(s) [Pipeline] echo 07:17:14 [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] echo 07:17:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:17:15 ========================================================= 07:17:15 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:17:15 ========================================================= [Pipeline] fileExists [Pipeline] sh 07:17:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:17:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:17:15 59bf1c3509f3: Pulling fs layer 07:17:15 666ba61612fd: Pulling fs layer 07:17:15 8ed8ca486205: Pulling fs layer 07:17:15 4fe6c5a15a65: Pulling fs layer 07:17:15 22a0e8bec74d: Pulling fs layer 07:17:15 640e595b4fbd: Pulling fs layer 07:17:15 763cafe07f6e: Pulling fs layer 07:17:15 0c0b528cf693: Pulling fs layer 07:17:15 10935f4eaf8b: Pulling fs layer 07:17:15 640e595b4fbd: Waiting 07:17:15 0c0b528cf693: Waiting 07:17:15 763cafe07f6e: Waiting 07:17:15 4fe6c5a15a65: Waiting 07:17:15 22a0e8bec74d: Waiting 07:17:15 8ed8ca486205: Verifying Checksum 07:17:15 8ed8ca486205: Download complete 07:17:15 666ba61612fd: Download complete 07:17:15 22a0e8bec74d: Verifying Checksum 07:17:15 22a0e8bec74d: Download complete 07:17:15 640e595b4fbd: Download complete 07:17:15 59bf1c3509f3: Download complete 07:17:15 763cafe07f6e: Verifying Checksum 07:17:15 763cafe07f6e: Download complete 07:17:16 0c0b528cf693: Verifying Checksum 07:17:16 0c0b528cf693: Download complete 07:17:16 59bf1c3509f3: Pull complete 07:17:16 666ba61612fd: Pull complete 07:17:16 8ed8ca486205: Pull complete 07:17:16 10935f4eaf8b: Verifying Checksum 07:17:16 10935f4eaf8b: Download complete 07:17:16 4fe6c5a15a65: Verifying Checksum 07:17:16 4fe6c5a15a65: Download complete 07:17:20 4fe6c5a15a65: Pull complete 07:17:20 22a0e8bec74d: Pull complete 07:17:20 640e595b4fbd: Pull complete 07:17:20 763cafe07f6e: Pull complete 07:17:20 0c0b528cf693: Pull complete 07:17:23 10935f4eaf8b: Pull complete 07:17:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:17:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 07:17:23 + docker build -t ci-base-image-x86_64 -f - . 07:17:23 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:17:23 WORKDIR /edgex 07:17:23 COPY go.mod . 07:17:23 RUN go mod download 07:17:25 Sending build context to Docker daemon 334.5MB 07:17:25 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:17:25 ---> 99d49a6021b9 07:17:25 Step 2/4 : WORKDIR /edgex 07:17:27 ---> Running in 848a345f21fb 07:17:27 Removing intermediate container 848a345f21fb 07:17:27 ---> 437a0a9b1df9 07:17:27 Step 3/4 : COPY go.mod . 07:17:27 ---> b7d38df1880e 07:17:27 Step 4/4 : RUN go mod download 07:17:27 ---> Running in 463fc8c5a378 07:17:30 Still waiting to schedule task 07:17:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:17:46 Removing intermediate container 463fc8c5a378 07:17:46 ---> ec2ac5d1bfa0 07:17:46 Successfully built ec2ac5d1bfa0 07:17:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:17:46 + docker inspect -f . ci-base-image-x86_64 07:17:46 . [Pipeline] withDockerContainer 07:17:46 prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container 07:17:46 $ 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 07:17:46 $ docker top 10899623f2107c633316766fcd7a207b2d61b0101b853e3d517ea02c6832cde5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:47 + go version 07:17:47 go version go1.17.6 linux/amd64 [Pipeline] } 07:17:47 $ docker stop --time=1 10899623f2107c633316766fcd7a207b2d61b0101b853e3d517ea02c6832cde5 07:17:48 $ docker rm -f 10899623f2107c633316766fcd7a207b2d61b0101b853e3d517ea02c6832cde5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:17:49 + docker inspect -f . ci-base-image-x86_64 07:17:49 . [Pipeline] withDockerContainer 07:17:49 prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container 07:17:49 $ 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 07:17:49 $ docker top c3869590ef566c1698301d91caae99bb1b6522f81c01744233263e957961a90c -eo pid,comm [Pipeline] { [Pipeline] echo 07:17:50 ========================================================= 07:17:50 [edgeXBuildGoParallel] Running Tests and Build... 07:17:50 ========================================================= [Pipeline] fileExists [Pipeline] sh 07:17:50 + make test 07:17:50 go mod tidy -compat=1.17 07:17:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:17:57 ? github.com/edgexfoundry/edgex-go [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/internal [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 07:18:09 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.091s coverage: 28.7% of statements 07:18:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 07:18:09 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 07:18:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.085s coverage: 98.5% of statements 07:18:10 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 07:18:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.112s coverage: 54.9% of statements 07:18:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 07:18:10 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.808s coverage: 89.2% of statements 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.131s coverage: 84.4% of statements 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.380s coverage: 94.5% of statements 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/io 0.076s coverage: 72.2% of statements 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.084s coverage: 60.0% of statements 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.058s coverage: 0.9% of statements 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.072s coverage: 58.8% of statements 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.061s coverage: 24.0% of statements 07:18:14 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.047s coverage: 47.1% of statements 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.073s coverage: 79.5% of statements 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.042s coverage: 94.1% of statements 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.090s coverage: 96.3% of statements 07:18:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.086s coverage: 87.5% of statements 07:18:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.072s coverage: 94.4% of statements 07:18:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.053s coverage: 44.8% of statements 07:18:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.207s coverage: 82.5% of statements 07:18:25 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.080s coverage: 92.9% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.026s coverage: 65.1% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.084s coverage: 87.2% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.064s coverage: 100.0% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.086s coverage: 58.8% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.064s coverage: 80.0% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.064s coverage: 85.4% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.158s coverage: 91.2% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.157s coverage: 64.4% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.064s coverage: 100.0% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.035s coverage: 89.4% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.029s coverage: 100.0% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.030s coverage: 73.7% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.029s coverage: 100.0% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.383s coverage: 65.4% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.147s coverage: 43.8% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.064s coverage: 89.5% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.055s coverage: 84.8% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.105s coverage: 17.7% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.161s coverage: 92.3% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.073s coverage: 63.2% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.095s coverage: 97.7% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.052s coverage: 28.9% of statements 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 07:18:35 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.056s coverage: 100.0% of statements 07:18:35 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 96.9% of statements 07:18:35 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 07:18:53 GO111MODULE=on go vet ./... 07:18:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:18:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:18:56 ./bin/test-attribution-txt.sh 07:18:56 An attribution for gopkg.in/yaml.v2 is missing from Attribution.txt, please add 07:18:56 make: *** [Makefile:127: test] Error 1 [Pipeline] } 07:18:56 $ docker stop --time=1 c3869590ef566c1698301d91caae99bb1b6522f81c01744233263e957961a90c 07:18:58 $ docker rm -f c3869590ef566c1698301d91caae99bb1b6522f81c01744233263e957961a90c [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] } 07:18:59 Failed in branch amd64 07:19:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9053 in /w/workspace/edgexfoundry_edgex-go_PR-3926 [Pipeline] { [Pipeline] ws 07:19:09 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 07:19:10 The recommended git tool is: git 07:19:16 using credential edgex-jenkins-ssh 07:19:16 Cloning the remote Git repository 07:19:16 Cloning repository git@github.com:edgexfoundry/edgex-go.git 07:19:16 > git init /w/workspace/edgex-go/1 # timeout=10 07:19:17 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 07:19:17 > git --version # timeout=10 07:19:17 > git --version # 'git version 2.25.1' 07:19:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:34 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 07:19:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:34 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 07:19:34 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 07:19:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3926/head:refs/remotes/origin/PR-3926 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:19:35 Merging remotes/origin/main commit 81bad761160ed823b117fb91638cbc671260dbae into PR head commit 7b92027954f716ba5a1dabb0f398eb48ad2609bf 07:19:35 Merge succeeded, producing 7b92027954f716ba5a1dabb0f398eb48ad2609bf 07:19:35 Checking out Revision 7b92027954f716ba5a1dabb0f398eb48ad2609bf (PR-3926) 07:19:35 > git config core.sparsecheckout # timeout=10 07:19:35 > git checkout -f 7b92027954f716ba5a1dabb0f398eb48ad2609bf # timeout=10 07:19:35 > git remote # timeout=10 07:19:35 > git config --get remote.origin.url # timeout=10 07:19:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:35 > git merge 81bad761160ed823b117fb91638cbc671260dbae # timeout=10 07:19:35 > git rev-parse HEAD^{commit} # timeout=10 07:19:35 > git config core.sparsecheckout # timeout=10 07:19:35 > git checkout -f 7b92027954f716ba5a1dabb0f398eb48ad2609bf # timeout=10 07:19:39 Commit message: "build(deps): update go.mod" 07:19:39 > git --version # timeout=10 07:19:39 > git --version # 'git version 2.25.1' 07:19:39 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:41 Dload Upload Total Spent Left Speed 07:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 20454 0 --:--:-- --:--:-- --:--:-- 20454 [Pipeline] sh 07:19:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:19:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:19:42 + sudo tee /etc/docker/daemon.new 07:19:42 { 07:19:42 "registry-mirrors": [ 07:19:42 "https://nexus3.edgexfoundry.org:10001" 07:19:42 ], 07:19:42 "bip": "10.250.0.254/24", 07:19:42 "hosts": [ 07:19:42 "tcp://0.0.0.0:5555", 07:19:42 "unix:///var/run/docker.sock" 07:19:42 ], 07:19:42 "mtu": 1458, 07:19:42 "selinux-enabled": true, 07:19:42 "seccomp-profile": "/etc/docker/seccomp.json" 07:19:42 } [Pipeline] sh 07:19:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:19:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:01 provisioning config files... 07:20:01 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6838394632216632227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:02 ---> docker-login.sh 07:20:02 nexus3.edgexfoundry.org:10001 07:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:03 Configure a credential helper to remove this warning. See 07:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:03 07:20:03 Login Succeeded 07:20:03 nexus3.edgexfoundry.org:10002 07:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:03 Configure a credential helper to remove this warning. See 07:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:03 07:20:03 Login Succeeded 07:20:03 nexus3.edgexfoundry.org:10003 07:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:04 Configure a credential helper to remove this warning. See 07:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:04 07:20:04 Login Succeeded 07:20:04 nexus3.edgexfoundry.org:10004 07:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:04 Configure a credential helper to remove this warning. See 07:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:04 07:20:04 Login Succeeded 07:20:04 docker.io 07:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:05 Configure a credential helper to remove this warning. See 07:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:05 07:20:05 Login Succeeded 07:20:05 ---> docker-login.sh ends [Pipeline] } 07:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:05 ========================================================= 07:20:05 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:20:05 ========================================================= [Pipeline] fileExists [Pipeline] sh 07:20:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:20:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:20:06 9b3977197b4f: Pulling fs layer 07:20:06 1a89e8eeedd5: Pulling fs layer 07:20:06 94645a83ff95: Pulling fs layer 07:20:06 3f3a8bcf1eab: Pulling fs layer 07:20:06 0c92f367c5e7: Pulling fs layer 07:20:06 f7c0051592d6: Pulling fs layer 07:20:06 a227ed2f7395: Pulling fs layer 07:20:06 7b1c46037f91: Pulling fs layer 07:20:06 3f3a8bcf1eab: Waiting 07:20:06 0c92f367c5e7: Waiting 07:20:06 f7c0051592d6: Waiting 07:20:06 a227ed2f7395: Waiting 07:20:06 7b1c46037f91: Waiting 07:20:06 94645a83ff95: Verifying Checksum 07:20:06 94645a83ff95: Download complete 07:20:06 1a89e8eeedd5: Verifying Checksum 07:20:06 1a89e8eeedd5: Download complete 07:20:06 0c92f367c5e7: Verifying Checksum 07:20:06 0c92f367c5e7: Download complete 07:20:06 f7c0051592d6: Verifying Checksum 07:20:06 f7c0051592d6: Download complete 07:20:06 9b3977197b4f: Download complete 07:20:06 a227ed2f7395: Verifying Checksum 07:20:06 a227ed2f7395: Download complete 07:20:07 9b3977197b4f: Pull complete 07:20:07 1a89e8eeedd5: Pull complete 07:20:08 94645a83ff95: Pull complete 07:20:08 7b1c46037f91: Verifying Checksum 07:20:08 7b1c46037f91: Download complete 07:20:09 3f3a8bcf1eab: Verifying Checksum 07:20:09 3f3a8bcf1eab: Download complete 07:20:21 3f3a8bcf1eab: Pull complete 07:20:21 0c92f367c5e7: Pull complete 07:20:21 f7c0051592d6: Pull complete 07:20:22 a227ed2f7395: Pull complete 07:20:30 7b1c46037f91: Pull complete 07:20:30 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 07:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:20:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 07:20:30 + + docker build -t ci-base-image-arm64 -f - . 07:20:30 echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:20:30 WORKDIR /edgex 07:20:30 COPY go.mod . 07:20:30 RUN go mod download 07:20:33 Sending build context to Docker daemon 169MB 07:20:33 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:20:33 ---> f79e39bc4007 07:20:33 Step 2/4 : WORKDIR /edgex 07:20:34 ---> Running in 2e1e3d63091a 07:20:35 Removing intermediate container 2e1e3d63091a 07:20:35 ---> d56eb58e7cfd 07:20:35 Step 3/4 : COPY go.mod . 07:20:35 ---> 276307842703 07:20:35 Step 4/4 : RUN go mod download 07:20:35 ---> Running in 709347882e04 07:21:22 Removing intermediate container 709347882e04 07:21:22 ---> 26215c11c046 07:21:22 Successfully built 26215c11c046 07:21:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:21:23 + docker inspect -f . ci-base-image-arm64 07:21:23 . [Pipeline] withDockerContainer 07:21:23 prd-ubuntu20.04-docker-arm64-4c-16g-9053 does not seem to be running inside a container 07:21:23 $ 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-arm64 cat 07:21:24 $ docker top 372656e9001f6cec78dfaeac58fea05adec687543f33f1c13ac488266cac5136 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:25 + go version 07:21:25 go version go1.17.6 linux/arm64 [Pipeline] } 07:21:25 $ docker stop --time=1 372656e9001f6cec78dfaeac58fea05adec687543f33f1c13ac488266cac5136 07:21:27 $ docker rm -f 372656e9001f6cec78dfaeac58fea05adec687543f33f1c13ac488266cac5136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:21:28 + docker inspect -f . ci-base-image-arm64 07:21:28 . [Pipeline] withDockerContainer 07:21:28 prd-ubuntu20.04-docker-arm64-4c-16g-9053 does not seem to be running inside a container 07:21:28 $ 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-arm64 cat 07:21:30 $ docker top f456abc2d67738187ec2ecf47050b297bc5ab2e7d37df4b13fb0aaa1ad93c01d -eo pid,comm [Pipeline] { [Pipeline] echo 07:21:30 ========================================================= 07:21:30 [edgeXBuildGoParallel] Running Tests and Build... 07:21:30 ========================================================= [Pipeline] fileExists [Pipeline] sh 07:21:31 + make test 07:21:31 go mod tidy -compat=1.17 07:21:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:22:04 ? github.com/edgexfoundry/edgex-go [no test files] 07:23:26 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 07:23:34 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 07:23:34 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 07:23:34 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 07:23:40 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 07:23:40 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 07:23:40 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 07:23:40 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 07:23:40 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 07:23:40 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 07:23:40 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 07:23:41 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 07:23:41 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 07:23:41 ? github.com/edgexfoundry/edgex-go/internal [no test files] 07:23:41 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 07:23:51 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.229s coverage: 28.7% of statements 07:23:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 07:23:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 07:23:56 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.591s coverage: 98.5% of statements 07:23:56 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 07:23:56 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.420s coverage: 54.9% of statements 07:23:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 07:23:56 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 20.632s coverage: 89.2% of statements 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.471s coverage: 84.4% of statements 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.603s coverage: 94.5% of statements 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/io 0.241s coverage: 72.2% of statements 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.397s coverage: 60.0% of statements 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.542s coverage: 0.9% of statements 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.502s coverage: 58.8% of statements 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.387s coverage: 24.0% of statements 07:24:23 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.510s coverage: 47.1% of statements 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.581s coverage: 79.5% of statements 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.490s coverage: 94.1% of statements 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.244s coverage: 96.3% of statements 07:24:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.210s coverage: 87.5% of statements 07:24:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.237s coverage: 94.4% of statements 07:24:34 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.178s coverage: 44.8% of statements 07:24:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.597s coverage: 82.5% of statements 07:24:37 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.287s coverage: 92.9% of statements 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.059s coverage: 65.1% of statements 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.203s coverage: 87.2% of statements 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.177s coverage: 100.0% of statements 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.260s coverage: 58.8% of statements 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.304s coverage: 80.0% of statements 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.299s coverage: 87.2% of statements 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.311s coverage: 85.4% of statements 07:24:45 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.753s coverage: 91.2% of statements 07:24:45 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 07:24:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.917s coverage: 64.4% of statements 07:24:46 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 07:24:46 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 07:24:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.210s coverage: 100.0% of statements 07:24:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.135s coverage: 89.4% of statements 07:24:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.066s coverage: 100.0% of statements 07:24:47 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.069s coverage: 73.7% of statements 07:24:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.065s coverage: 100.0% of statements 07:24:53 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.383s coverage: 65.4% of statements 07:24:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 07:24:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 07:24:53 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 07:24:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.757s coverage: 43.8% of statements 07:24:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 07:24:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 07:24:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.295s coverage: 89.5% of statements 07:24:55 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 07:24:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.281s coverage: 84.8% of statements 07:24:55 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 07:24:55 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 07:24:55 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 07:24:55 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 07:25:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.292s coverage: 17.7% of statements 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 07:25:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.646s coverage: 92.3% of statements 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 07:25:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.467s coverage: 63.2% of statements 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 07:25:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.427s coverage: 97.7% of statements 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application [no test files] 07:25:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.210s coverage: 28.9% of statements 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct/config [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/application/executor [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/controller/http [no test files] 07:25:03 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 07:25:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.244s coverage: 100.0% of statements 07:25:03 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.080s coverage: 96.9% of statements 07:25:04 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 07:25:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:25:04 GO111MODULE=on go vet ./... 07:26:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:26:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:26:43 ./bin/test-attribution-txt.sh 07:26:46 An attribution for gopkg.in/yaml.v2 is missing from Attribution.txt, please add 07:26:46 make: *** [Makefile:127: test] Error 1 [Pipeline] } 07:26:46 $ docker stop --time=1 f456abc2d67738187ec2ecf47050b297bc5ab2e7d37df4b13fb0aaa1ad93c01d 07:26:48 $ docker rm -f f456abc2d67738187ec2ecf47050b297bc5ab2e7d37df4b13fb0aaa1ad93c01d [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] sh 07:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:50 07:26:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:26:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:51 arm64: Pulling from edgex-lftools-log-publisher 07:26:51 8998bd30e6a1: Pulling fs layer 07:26:51 04944245beec: Pulling fs layer 07:26:51 699f458cf7ca: Pulling fs layer 07:26:51 765212b225bb: Pulling fs layer 07:26:51 f23df028b6ca: Pulling fs layer 07:26:51 d65c8cfc05b1: Pulling fs layer 07:26:51 2437ff75d9bd: Pulling fs layer 07:26:51 f23df028b6ca: Waiting 07:26:51 d65c8cfc05b1: Waiting 07:26:51 765212b225bb: Waiting 07:26:51 2437ff75d9bd: Waiting 07:26:51 04944245beec: Verifying Checksum 07:26:51 04944245beec: Download complete 07:26:51 765212b225bb: Verifying Checksum 07:26:51 765212b225bb: Download complete 07:26:51 f23df028b6ca: Verifying Checksum 07:26:51 f23df028b6ca: Download complete 07:26:51 d65c8cfc05b1: Download complete 07:26:51 699f458cf7ca: Verifying Checksum 07:26:51 699f458cf7ca: Download complete 07:26:52 8998bd30e6a1: Verifying Checksum 07:26:52 8998bd30e6a1: Download complete 07:26:54 2437ff75d9bd: Verifying Checksum 07:26:54 2437ff75d9bd: Download complete 07:26:56 8998bd30e6a1: Pull complete 07:26:56 04944245beec: Pull complete 07:26:58 699f458cf7ca: Pull complete 07:26:58 765212b225bb: Pull complete 07:26:59 f23df028b6ca: Pull complete 07:26:59 d65c8cfc05b1: Pull complete 07:27:14 2437ff75d9bd: Pull complete 07:27:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:27:14 prd-ubuntu20.04-docker-arm64-4c-16g-9053 does not seem to be running inside a container 07:27:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:27:17 $ docker top 78a7c6d1389def89f65971657d6c3d713b9cd1749d70533d42fad73d7c17a6aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:18 ---> job-cost.sh 07:27:18 lf-activate-venv: SKIPPING 07:27:18 INFO: No Stack... 07:27:19 INFO: Retrieving Pricing Info for: v3-standard-4 07:27:19 INFO: Archiving Costs [Pipeline] sh 07:27:20 + + cut -d,cat -f6 /w/workspace/edgex-go/1/archives/cost.csv 07:27:20 [Pipeline] lock 07:27:20 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3926-1-stack-cost] 07:27:20 Resource [jenkins-edgexfoundry-edgex-go-PR-3926-1-stack-cost] did not exist. Created. 07:27:20 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3926-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:27:21 + echo total: 0.10999999940395355 [Pipeline] stash 07:27:22 Stashed 1 file(s) [Pipeline] } 07:27:22 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3926-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:27:22 $ docker stop --time=1 78a7c6d1389def89f65971657d6c3d713b9cd1749d70533d42fad73d7c17a6aa 07:27:23 $ docker rm -f 78a7c6d1389def89f65971657d6c3d713b9cd1749d70533d42fad73d7c17a6aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:27:24 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 07:27:26 + [ -d /w/workspace/edgex-go/1/archives ] [Pipeline] libraryResource [Pipeline] sh 07:27:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:27:27 ---> package-listing.sh 07:27:27 ++ facter osfamily 07:27:27 ++ tr '[:upper:]' '[:lower:]' 07:27:27 + OS_FAMILY=debian 07:27:27 + workspace=/w/workspace/edgex-go/1 07:27:27 + START_PACKAGES=/tmp/packages_start.txt 07:27:27 + END_PACKAGES=/tmp/packages_end.txt 07:27:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:27:27 + PACKAGES=/tmp/packages_start.txt 07:27:27 + '[' /w/workspace/edgex-go/1 ']' 07:27:27 + PACKAGES=/tmp/packages_end.txt 07:27:27 + case "${OS_FAMILY}" in 07:27:27 + dpkg -l 07:27:27 + grep '^ii' 07:27:27 + '[' -f /tmp/packages_start.txt ']' 07:27:27 + '[' -f /tmp/packages_end.txt ']' 07:27:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:27:27 + '[' /w/workspace/edgex-go/1 ']' 07:27:27 + mkdir -p /w/workspace/edgex-go/1/archives/ 07:27:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 07:27:27 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 07:27:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:27:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:28 07:27:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:27:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:29 latest: Pulling from edgex-lftools-log-publisher 07:27:29 5eb5b503b376: Pulling fs layer 07:27:29 5c69ac0246d0: Pulling fs layer 07:27:29 ec43610c2a17: Pulling fs layer 07:27:29 3a2ae6a8a46f: Pulling fs layer 07:27:29 33b1e0a273af: Pulling fs layer 07:27:29 5d3b04190fa2: Pulling fs layer 07:27:29 2f39f015ded8: Pulling fs layer 07:27:29 3a2ae6a8a46f: Waiting 07:27:29 33b1e0a273af: Waiting 07:27:29 5d3b04190fa2: Waiting 07:27:29 2f39f015ded8: Waiting 07:27:29 5c69ac0246d0: Download complete 07:27:29 3a2ae6a8a46f: Verifying Checksum 07:27:29 3a2ae6a8a46f: Download complete 07:27:29 33b1e0a273af: Verifying Checksum 07:27:29 33b1e0a273af: Download complete 07:27:29 5d3b04190fa2: Verifying Checksum 07:27:29 5d3b04190fa2: Download complete 07:27:29 ec43610c2a17: Verifying Checksum 07:27:29 ec43610c2a17: Download complete 07:27:29 5eb5b503b376: Download complete 07:27:30 2f39f015ded8: Download complete 07:27:30 5eb5b503b376: Pull complete 07:27:30 5c69ac0246d0: Pull complete 07:27:31 ec43610c2a17: Pull complete 07:27:31 3a2ae6a8a46f: Pull complete 07:27:31 33b1e0a273af: Pull complete 07:27:31 5d3b04190fa2: Pull complete 07:27:35 2f39f015ded8: Pull complete 07:27:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:27:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:27:35 prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container 07:27:35 $ 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 07:27:37 $ docker top e81a82426f4c4b917bd43cdada5797d7ea7205a828c6c0013228cbdcf610b148 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:38 + touch /tmp/pre-build-complete [Pipeline] sh 07:27:38 + mkdir -p /var/log/sysstat [Pipeline] sh 07:27:38 + ls /var/log/sa-host 07:27:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:39 provisioning config files... 07:27:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config3105239799182796198tmp [Pipeline] { [Pipeline] echo 07:27:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:27:39 ---> create-netrc.sh [Pipeline] } 07:27:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:27:39 ---> python-tools-install.sh [Pipeline] echo 07:27:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:27:40 ---> sudo-logs.sh 07:27:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:27:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:27:40 ---> job-cost.sh 07:27:40 lf-activate-venv: SKIPPING 07:27:40 DEBUG: total: 0.10999999940395355 07:27:40 INFO: Retrieving Stack Cost... 07:27:40 INFO: Retrieving Pricing Info for: v3-standard-8 07:27:41 INFO: Archiving Costs [Pipeline] echo 07:27:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:27:41 ---> logs-deploy.sh 07:27:41 lf-activate-venv: SKIPPING 07:27:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3926/1 07:27:41 INFO: archiving workspace using pattern(s): 07:27:42 Archives upload complete. 07:27:42 INFO: archiving logs to Nexus